Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_proto.c
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
.pr_type = SOCK_STREAM, | .pr_type = SOCK_STREAM, | ||||
.pr_domain = &inet6domain, | .pr_domain = &inet6domain, | ||||
.pr_protocol = IPPROTO_TCP, | .pr_protocol = IPPROTO_TCP, | ||||
.pr_flags = PR_CONNREQUIRED|PR_IMPLOPCL|PR_WANTRCVD| | .pr_flags = PR_CONNREQUIRED|PR_IMPLOPCL|PR_WANTRCVD| | ||||
PR_LISTEN|PR_CAPATTACH, | PR_LISTEN|PR_CAPATTACH, | ||||
.pr_ctloutput = tcp_ctloutput, | .pr_ctloutput = tcp_ctloutput, | ||||
#ifndef INET /* don't call initialization, timeout, and drain routines twice */ | #ifndef INET /* don't call initialization, timeout, and drain routines twice */ | ||||
.pr_slowtimo = tcp_slowtimo, | |||||
.pr_drain = tcp_drain, | .pr_drain = tcp_drain, | ||||
#endif | #endif | ||||
.pr_usrreqs = &tcp6_usrreqs, | .pr_usrreqs = &tcp6_usrreqs, | ||||
}, | }, | ||||
#ifdef SCTP | #ifdef SCTP | ||||
{ | { | ||||
.pr_type = SOCK_SEQPACKET, | .pr_type = SOCK_SEQPACKET, | ||||
.pr_domain = &inet6domain, | .pr_domain = &inet6domain, | ||||
▲ Show 20 Lines • Show All 400 Lines • Show Last 20 Lines |