Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6_proto.c
Show First 20 Lines • Show All 179 Lines • ▼ Show 20 Lines | #endif | ||||
.pr_drain = tcp_drain, | .pr_drain = tcp_drain, | ||||
.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, | ||||
.pr_protocol = IPPROTO_SCTP, | .pr_protocol = IPPROTO_SCTP, | ||||
.pr_flags = PR_WANTRCVD, | .pr_flags = PR_WANTRCVD|PR_LASTHDR, | ||||
.pr_input = sctp6_input, | .pr_input = sctp6_input, | ||||
.pr_ctlinput = sctp6_ctlinput, | .pr_ctlinput = sctp6_ctlinput, | ||||
.pr_ctloutput = sctp_ctloutput, | .pr_ctloutput = sctp_ctloutput, | ||||
.pr_drain = sctp_drain, | .pr_drain = sctp_drain, | ||||
#ifndef INET /* Do not call initialization twice. */ | #ifndef INET /* Do not call initialization twice. */ | ||||
.pr_init = sctp_init, | .pr_init = sctp_init, | ||||
#endif | #endif | ||||
.pr_usrreqs = &sctp6_usrreqs | .pr_usrreqs = &sctp6_usrreqs | ||||
}, | }, | ||||
{ | { | ||||
.pr_type = SOCK_STREAM, | .pr_type = SOCK_STREAM, | ||||
.pr_domain = &inet6domain, | .pr_domain = &inet6domain, | ||||
.pr_protocol = IPPROTO_SCTP, | .pr_protocol = IPPROTO_SCTP, | ||||
.pr_flags = PR_CONNREQUIRED|PR_WANTRCVD, | .pr_flags = PR_CONNREQUIRED|PR_WANTRCVD|PR_LASTHDR, | ||||
.pr_input = sctp6_input, | .pr_input = sctp6_input, | ||||
.pr_ctlinput = sctp6_ctlinput, | .pr_ctlinput = sctp6_ctlinput, | ||||
.pr_ctloutput = sctp_ctloutput, | .pr_ctloutput = sctp_ctloutput, | ||||
.pr_drain = sctp_drain, | .pr_drain = sctp_drain, | ||||
.pr_usrreqs = &sctp6_usrreqs | .pr_usrreqs = &sctp6_usrreqs | ||||
}, | }, | ||||
#endif /* SCTP */ | #endif /* SCTP */ | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 409 Lines • Show Last 20 Lines |