Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_proto.c
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | |||||
}, | }, | ||||
{ | { | ||||
.pr_type = SOCK_DGRAM, | .pr_type = SOCK_DGRAM, | ||||
.pr_domain = &inet6domain, | .pr_domain = &inet6domain, | ||||
.pr_protocol = IPPROTO_UDP, | .pr_protocol = IPPROTO_UDP, | ||||
.pr_flags = PR_ATOMIC|PR_ADDR, | .pr_flags = PR_ATOMIC|PR_ADDR, | ||||
.pr_input = udp6_input, | .pr_input = udp6_input, | ||||
.pr_ctlinput = udp6_ctlinput, | .pr_ctlinput = udp6_ctlinput, | ||||
.pr_ctloutput = ip6_ctloutput, | .pr_ctloutput = udp6_ctloutput, | ||||
#ifndef INET /* Do not call initialization twice. */ | #ifndef INET /* Do not call initialization twice. */ | ||||
.pr_init = udp_init, | .pr_init = udp_init, | ||||
#endif | #endif | ||||
.pr_usrreqs = &udp6_usrreqs, | .pr_usrreqs = &udp6_usrreqs, | ||||
}, | }, | ||||
{ | { | ||||
.pr_type = SOCK_STREAM, | .pr_type = SOCK_STREAM, | ||||
.pr_domain = &inet6domain, | .pr_domain = &inet6domain, | ||||
▲ Show 20 Lines • Show All 445 Lines • Show Last 20 Lines |