Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys add PR_LISTEN to protocols which support listen(2)
details: https://anonhg.NetBSD.org/src/rev/119c06f7a6c6
branches: trunk
changeset: 474189:119c06f7a6c6
user: darrenr <darrenr%NetBSD.org@localhost>
date: Thu Jul 01 05:53:04 1999 +0000
description:
add PR_LISTEN to protocols which support listen(2)
diffstat:
sys/netccitt/ccitt_proto.c | 4 ++--
sys/netinet/in_proto.c | 6 +++---
sys/netiso/iso_proto.c | 6 +++---
sys/netns/ns_proto.c | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r 8d6b46341057 -r 119c06f7a6c6 sys/netccitt/ccitt_proto.c
--- a/sys/netccitt/ccitt_proto.c Wed Jun 30 22:21:57 1999 +0000
+++ b/sys/netccitt/ccitt_proto.c Thu Jul 01 05:53:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccitt_proto.c,v 1.10 1999/01/14 01:21:52 thorpej Exp $ */
+/* $NetBSD: ccitt_proto.c,v 1.11 1999/07/01 05:53:04 darrenr Exp $ */
/*
* Copyright (c) 1984 University of British Columbia.
@@ -87,7 +87,7 @@
hd_init, 0, hd_timer, 0,
},
#endif
-{ SOCK_STREAM, DOMAIN, CCITTPROTO_X25, PR_CONNREQUIRED|PR_ATOMIC|PR_WANTRCVD,
+{ SOCK_STREAM, DOMAIN, CCITTPROTO_X25, PR_CONNREQUIRED|PR_ATOMIC|PR_WANTRCVD|PR_LISTEN,
pk_input, 0, pk_ctlinput, pk_ctloutput,
pk_usrreq,
pk_init, 0, pk_timer, 0,
diff -r 8d6b46341057 -r 119c06f7a6c6 sys/netinet/in_proto.c
--- a/sys/netinet/in_proto.c Wed Jun 30 22:21:57 1999 +0000
+++ b/sys/netinet/in_proto.c Thu Jul 01 05:53:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_proto.c,v 1.30 1999/04/29 03:54:22 thorpej Exp $ */
+/* $NetBSD: in_proto.c,v 1.31 1999/07/01 05:53:10 darrenr Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -107,7 +107,7 @@
udp_usrreq,
udp_init, 0, 0, 0, udp_sysctl
},
-{ SOCK_STREAM, &inetdomain, IPPROTO_TCP, PR_CONNREQUIRED|PR_WANTRCVD,
+{ SOCK_STREAM, &inetdomain, IPPROTO_TCP, PR_CONNREQUIRED|PR_WANTRCVD|PR_LISTEN,
tcp_input, 0, tcp_ctlinput, tcp_ctloutput,
tcp_usrreq,
tcp_init, tcp_fasttimo, tcp_slowtimo, tcp_drain, tcp_sysctl
@@ -147,7 +147,7 @@
igmp_init, igmp_fasttimo, igmp_slowtimo, 0,
},
#ifdef TPIP
-{ SOCK_SEQPACKET,&inetdomain, IPPROTO_TP, PR_CONNREQUIRED|PR_WANTRCVD,
+{ SOCK_SEQPACKET,&inetdomain, IPPROTO_TP, PR_CONNREQUIRED|PR_WANTRCVD|PR_LISTEN,
tpip_input, 0, tpip_ctlinput, tp_ctloutput,
tp_usrreq,
tp_init, 0, tp_slowtimo, tp_drain,
diff -r 8d6b46341057 -r 119c06f7a6c6 sys/netiso/iso_proto.c
--- a/sys/netiso/iso_proto.c Wed Jun 30 22:21:57 1999 +0000
+++ b/sys/netiso/iso_proto.c Thu Jul 01 05:53:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iso_proto.c,v 1.10 1999/01/14 01:22:43 thorpej Exp $ */
+/* $NetBSD: iso_proto.c,v 1.11 1999/07/01 05:53:15 darrenr Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -147,7 +147,7 @@
},
/* ISOPROTO_TP */
- {SOCK_SEQPACKET, &isodomain, ISOPROTO_TP, PR_CONNREQUIRED | PR_WANTRCVD,
+ {SOCK_SEQPACKET, &isodomain, ISOPROTO_TP, PR_CONNREQUIRED | PR_WANTRCVD | PR_LISTEN,
tpclnp_input, 0, tpclnp_ctlinput, tp_ctloutput,
tp_usrreq,
tp_init, tp_fasttimo, tp_slowtimo, tp_drain,
@@ -155,7 +155,7 @@
#ifdef TPCONS
/* ISOPROTO_TP */
- {SOCK_SEQPACKET, &isodomain, ISOPROTO_TP0, PR_CONNREQUIRED | PR_WANTRCVD,
+ {SOCK_SEQPACKET, &isodomain, ISOPROTO_TP0, PR_CONNREQUIRED | PR_WANTRCVD | PR_LISTEN,
tpcons_input, 0, 0, tp_ctloutput,
tp_usrreq,
cons_init, 0, 0, 0,
diff -r 8d6b46341057 -r 119c06f7a6c6 sys/netns/ns_proto.c
--- a/sys/netns/ns_proto.c Wed Jun 30 22:21:57 1999 +0000
+++ b/sys/netns/ns_proto.c Thu Jul 01 05:53:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ns_proto.c,v 1.8 1999/01/14 01:28:23 thorpej Exp $ */
+/* $NetBSD: ns_proto.c,v 1.9 1999/07/01 05:53:18 darrenr Exp $ */
/*
* Copyright (c) 1984, 1985, 1986, 1987, 1993
@@ -78,7 +78,7 @@
spp_usrreq,
spp_init, spp_fasttimo, spp_slowtimo, 0,
},
-{ SOCK_SEQPACKET,&nsdomain, NSPROTO_SPP, PR_CONNREQUIRED|PR_WANTRCVD|PR_ATOMIC,
+{ SOCK_SEQPACKET,&nsdomain, NSPROTO_SPP, PR_CONNREQUIRED|PR_WANTRCVD|PR_ATOMIC|PR_LISTEN,
spp_input, 0, spp_ctlinput, spp_ctloutput,
spp_usrreq_sp,
0, 0, 0, 0,
Home |
Main Index |
Thread Index |
Old Index