Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6_proto.c
Show First 20 Lines • Show All 327 Lines • ▼ Show 20 Lines | /* raw wildcard */ | ||||
.pr_flags = PR_ATOMIC|PR_ADDR, | .pr_flags = PR_ATOMIC|PR_ADDR, | ||||
.pr_input = rip6_input, | .pr_input = rip6_input, | ||||
.pr_output = rip6_output, | .pr_output = rip6_output, | ||||
.pr_ctloutput = rip6_ctloutput, | .pr_ctloutput = rip6_ctloutput, | ||||
.pr_usrreqs = &rip6_usrreqs | .pr_usrreqs = &rip6_usrreqs | ||||
}, | }, | ||||
}; | }; | ||||
extern int in6_inithead(void **, int, u_int); | |||||
#ifdef VIMAGE | |||||
extern int in6_detachhead(void **, int); | |||||
#endif | |||||
struct domain inet6domain = { | struct domain inet6domain = { | ||||
.dom_family = AF_INET6, | .dom_family = AF_INET6, | ||||
.dom_name = "internet6", | .dom_name = "internet6", | ||||
.dom_protosw = (struct protosw *)inet6sw, | .dom_protosw = (struct protosw *)inet6sw, | ||||
.dom_protoswNPROTOSW = (struct protosw *)&inet6sw[nitems(inet6sw)], | .dom_protoswNPROTOSW = (struct protosw *)&inet6sw[nitems(inet6sw)], | ||||
.dom_rtattach = in6_inithead, | .dom_rtattach = in6_inithead, | ||||
#ifdef VIMAGE | #ifdef VIMAGE | ||||
.dom_rtdetach = in6_detachhead, | .dom_rtdetach = in6_detachhead, | ||||
▲ Show 20 Lines • Show All 266 Lines • Show Last 20 Lines |