summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_var.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-10-30 19:44:40 +0000
committerrwatson <rwatson@FreeBSD.org>2005-10-30 19:44:40 +0000
commit49831ed8da06ffadf684484671b4561c9ac55f9f (patch)
tree779e3d7a8028f1ac29696c62ad8b70ba7bc70d2e /sys/netatm/atm_var.h
parent1d93f083bf03400439b86271732e2b3f17ba284c (diff)
downloadFreeBSD-src-49831ed8da06ffadf684484671b4561c9ac55f9f.zip
FreeBSD-src-49831ed8da06ffadf684484671b4561c9ac55f9f.tar.gz
Push the assignment of a new or updated so_qlimit from solisten()
following the protocol pru_listen() call to solisten_proto(), so that it occurs under the socket lock acquisition that also sets SO_ACCEPTCONN. This requires passing the new backlog parameter to the protocol, which also allows the protocol to be aware of changes in queue limit should it wish to do something about the new queue limit. This continues a move towards the socket layer acting as a library for the protocol. Bump __FreeBSD_version due to a change in the in-kernel protocol interface. This change has been tested with IPv4 and UNIX domain sockets, but not other protocols.
Diffstat (limited to 'sys/netatm/atm_var.h')
-rw-r--r--sys/netatm/atm_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatm/atm_var.h b/sys/netatm/atm_var.h
index 3332c92..4bc6d97 100644
--- a/sys/netatm/atm_var.h
+++ b/sys/netatm/atm_var.h
@@ -82,7 +82,7 @@ void atm_aal5_init(void);
int atm_cm_connect(Atm_endpoint *, void *, Atm_attributes *,
Atm_connection **);
int atm_cm_listen(struct socket *, Atm_endpoint *, void *,
- Atm_attributes *, Atm_connection **);
+ Atm_attributes *, Atm_connection **, int);
int atm_cm_addllc(Atm_endpoint *, void *, struct attr_llc *,
Atm_connection *, Atm_connection **);
int atm_cm_addparty(Atm_connection *, int, struct t_atm_sap *);
@@ -152,7 +152,7 @@ void atm_sock_init(void);
int atm_sock_attach(struct socket *, u_long, u_long);
int atm_sock_detach(struct socket *);
int atm_sock_bind(struct socket *, struct sockaddr *);
-int atm_sock_listen(struct socket *, Atm_endpoint *);
+int atm_sock_listen(struct socket *, Atm_endpoint *, int);
int atm_sock_connect(struct socket *, struct sockaddr *,
Atm_endpoint *);
int atm_sock_disconnect(struct socket *);
OpenPOWER on IntegriCloud