Home
last modified time | relevance | path

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

/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_core.c2235 unsigned int afmask; in ip_vs_register_hooks() local
2242 afmask = 2; in ip_vs_register_hooks()
2249 afmask = 1; in ip_vs_register_hooks()
2252 if (!(ipvs->hooks_afmask & afmask)) { in ip_vs_register_hooks()
2255 ipvs->hooks_afmask |= afmask; in ip_vs_register_hooks()
2264 unsigned int afmask; in ip_vs_unregister_hooks() local
2270 afmask = 2; in ip_vs_unregister_hooks()
2277 afmask = 1; in ip_vs_unregister_hooks()
2280 if (ipvs->hooks_afmask & afmask) { in ip_vs_unregister_hooks()
2282 ipvs->hooks_afmask &= ~afmask; in ip_vs_unregister_hooks()
/linux-6.12.1/include/net/
Dip_vs.h1816 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_register_conntrack() local
1819 if (!(svc->conntrack_afmask & afmask)) { in ip_vs_register_conntrack()
1822 svc->conntrack_afmask |= afmask; in ip_vs_register_conntrack()
1833 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_unregister_conntrack() local
1835 if (svc->conntrack_afmask & afmask) { in ip_vs_unregister_conntrack()
1837 svc->conntrack_afmask &= ~afmask; in ip_vs_unregister_conntrack()