Home
last modified time | relevance | path

Searched refs:proto_reg (Results 1 – 1 of 1) sorted by relevance

/NextBSD/sys/netinet/
HDip_carp.c153 static int proto_reg[] = {-1, -1}; variable
2055 if (proto_reg[CARP_INET] == 0) { in carp_mod_cleanup()
2058 proto_reg[CARP_INET] = -1; in carp_mod_cleanup()
2063 if (proto_reg[CARP_INET6] == 0) { in carp_mod_cleanup()
2066 proto_reg[CARP_INET6] = -1; in carp_mod_cleanup()
2106 proto_reg[CARP_INET6] = pf_proto_register(PF_INET6, in carp_mod_load()
2108 if (proto_reg[CARP_INET6]) { in carp_mod_load()
2110 proto_reg[CARP_INET6]); in carp_mod_load()
2112 return (proto_reg[CARP_INET6]); in carp_mod_load()
2123 proto_reg[CARP_INET] = pf_proto_register(PF_INET, &in_carp_protosw); in carp_mod_load()
[all …]