Searched refs:afmask (Results 1 – 2 of 2) sorted by relevance
2235 unsigned int afmask; in ip_vs_register_hooks() local2242 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() local2270 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()
1816 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_register_conntrack() local1819 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() local1835 if (svc->conntrack_afmask & afmask) { in ip_vs_unregister_conntrack()1837 svc->conntrack_afmask &= ~afmask; in ip_vs_unregister_conntrack()