mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 21:33:04 +00:00
Update network code to use poll support.
This commit is contained in:
parent
e0e8ed506f
commit
f8f6cbba92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29366
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)raw_usrreq.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: raw_usrreq.c,v 1.13 1997/08/02 14:32:40 bde Exp $
|
||||
* $Id: raw_usrreq.c,v 1.14 1997/08/16 19:15:27 wollman Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -298,5 +298,5 @@ struct pr_usrreqs raw_usrreqs = {
|
||||
pru_connect2_notsupp, pru_control_notsupp, raw_udetach,
|
||||
raw_udisconnect, pru_listen_notsupp, raw_upeeraddr, pru_rcvd_notsupp,
|
||||
pru_rcvoob_notsupp, raw_usend, pru_sense_null, raw_ushutdown,
|
||||
raw_usockaddr, sosend, soreceive, soselect
|
||||
raw_usockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)rtsock.c 8.5 (Berkeley) 11/2/94
|
||||
* $Id: rtsock.c,v 1.32 1997/08/16 19:15:32 wollman Exp $
|
||||
* $Id: rtsock.c,v 1.33 1997/09/02 01:18:49 bde Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -265,7 +265,7 @@ static struct pr_usrreqs route_usrreqs = {
|
||||
pru_connect2_notsupp, pru_control_notsupp, rts_detach, rts_disconnect,
|
||||
pru_listen_notsupp, rts_peeraddr, pru_rcvd_notsupp, pru_rcvoob_notsupp,
|
||||
rts_send, pru_sense_null, rts_shutdown, rts_sockaddr,
|
||||
sosend, soreceive, soselect
|
||||
sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
/*ARGSUSED*/
|
||||
|
@ -590,5 +590,5 @@ struct pr_usrreqs ddp_usrreqs = {
|
||||
at_setsockaddr,
|
||||
sosend,
|
||||
soreceive,
|
||||
soselect
|
||||
sopoll
|
||||
};
|
||||
|
@ -590,5 +590,5 @@ struct pr_usrreqs ddp_usrreqs = {
|
||||
at_setsockaddr,
|
||||
sosend,
|
||||
soreceive,
|
||||
soselect
|
||||
sopoll
|
||||
};
|
||||
|
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ip_divert.c,v 1.13 1997/08/02 14:32:50 bde Exp $
|
||||
* $Id: ip_divert.c,v 1.14 1997/09/13 15:40:55 peter Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -358,5 +358,5 @@ struct pr_usrreqs div_usrreqs = {
|
||||
pru_connect_notsupp, pru_connect2_notsupp, in_control, div_detach,
|
||||
div_disconnect, pru_listen_notsupp, in_setpeeraddr, pru_rcvd_notsupp,
|
||||
pru_rcvoob_notsupp, div_send, pru_sense_null, div_shutdown,
|
||||
in_setsockaddr, sosend, soreceive, soselect
|
||||
in_setsockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)raw_ip.c 8.7 (Berkeley) 5/15/95
|
||||
* $Id: raw_ip.c,v 1.47 1997/08/02 14:32:54 bde Exp $
|
||||
* $Id: raw_ip.c,v 1.48 1997/08/16 19:15:37 wollman Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -510,5 +510,5 @@ struct pr_usrreqs rip_usrreqs = {
|
||||
pru_connect2_notsupp, in_control, rip_detach, rip_disconnect,
|
||||
pru_listen_notsupp, in_setpeeraddr, pru_rcvd_notsupp,
|
||||
pru_rcvoob_notsupp, rip_send, pru_sense_null, rip_shutdown,
|
||||
in_setsockaddr, sosend, soreceive, soselect
|
||||
in_setsockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94
|
||||
* $Id: tcp_usrreq.c,v 1.32 1997/08/02 14:32:58 bde Exp $
|
||||
* $Id: tcp_usrreq.c,v 1.33 1997/08/16 19:15:40 wollman Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -456,7 +456,7 @@ struct pr_usrreqs tcp_usrreqs = {
|
||||
tcp_usr_connect, pru_connect2_notsupp, in_control, tcp_usr_detach,
|
||||
tcp_usr_disconnect, tcp_usr_listen, in_setpeeraddr, tcp_usr_rcvd,
|
||||
tcp_usr_rcvoob, tcp_usr_send, pru_sense_null, tcp_usr_shutdown,
|
||||
in_setsockaddr, sosend, soreceive, soselect
|
||||
in_setsockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95
|
||||
* $Id: udp_usrreq.c,v 1.38 1997/04/27 20:01:16 wollman Exp $
|
||||
* $Id: udp_usrreq.c,v 1.39 1997/08/16 19:15:41 wollman Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -603,5 +603,5 @@ struct pr_usrreqs udp_usrreqs = {
|
||||
pru_connect2_notsupp, in_control, udp_detach, udp_disconnect,
|
||||
pru_listen_notsupp, in_setpeeraddr, pru_rcvd_notsupp,
|
||||
pru_rcvoob_notsupp, udp_send, pru_sense_null, udp_shutdown,
|
||||
in_setsockaddr, sosend, soreceive, soselect
|
||||
in_setsockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
* @(#)ipx_usrreq.c
|
||||
*
|
||||
* $Id: ipx_usrreq.c,v 1.15 1997/06/26 19:35:58 jhay Exp $
|
||||
* $Id: ipx_usrreq.c,v 1.16 1997/08/16 19:15:45 wollman Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -87,7 +87,7 @@ struct pr_usrreqs ipx_usrreqs = {
|
||||
ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
|
||||
ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
|
||||
pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
|
||||
ipx_sockaddr, sosend, soreceive, soselect
|
||||
ipx_sockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
struct pr_usrreqs ripx_usrreqs = {
|
||||
@ -95,7 +95,7 @@ struct pr_usrreqs ripx_usrreqs = {
|
||||
ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
|
||||
ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
|
||||
pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
|
||||
ipx_sockaddr, sosend, soreceive, soselect
|
||||
ipx_sockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
* @(#)spx_usrreq.h
|
||||
*
|
||||
* $Id: spx_usrreq.c,v 1.15 1997/08/16 19:15:47 wollman Exp $
|
||||
* $Id: spx_usrreq.c,v 1.16 1997/09/02 01:19:15 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -109,7 +109,7 @@ struct pr_usrreqs spx_usrreqs = {
|
||||
spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
|
||||
spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
|
||||
spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
|
||||
ipx_sockaddr, sosend, soreceive, soselect
|
||||
ipx_sockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
struct pr_usrreqs spx_usrreq_sps = {
|
||||
@ -117,7 +117,7 @@ struct pr_usrreqs spx_usrreq_sps = {
|
||||
spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
|
||||
spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
|
||||
spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
|
||||
ipx_sockaddr, sosend, soreceive, soselect
|
||||
ipx_sockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
void
|
||||
|
@ -424,7 +424,7 @@ struct pr_usrreqs natm_usrreqs = {
|
||||
natm_usr_detach, natm_usr_disconnect, pru_listen_notsupp,
|
||||
natm_usr_peeraddr, pru_rcvd_notsupp, pru_rcvoob_notsupp,
|
||||
natm_usr_send, pru_sense_null, natm_usr_shutdown,
|
||||
natm_usr_sockaddr, sosend, soreceive, soselect
|
||||
natm_usr_sockaddr, sosend, soreceive, sopoll
|
||||
};
|
||||
|
||||
#else /* !FREEBSD_USRREQS */
|
||||
|
Loading…
Reference in New Issue
Block a user