Searched refs:afmask (Results 1 – 2 of 2) sorted by relevance
2237 unsigned int afmask; in ip_vs_register_hooks() local2244 afmask = 2; in ip_vs_register_hooks()2251 afmask = 1; in ip_vs_register_hooks()2254 if (!(ipvs->hooks_afmask & afmask)) { in ip_vs_register_hooks()2257 ipvs->hooks_afmask |= afmask; in ip_vs_register_hooks()2266 unsigned int afmask; in ip_vs_unregister_hooks() local2272 afmask = 2; in ip_vs_unregister_hooks()2279 afmask = 1; in ip_vs_unregister_hooks()2282 if (ipvs->hooks_afmask & afmask) { in ip_vs_unregister_hooks()2284 ipvs->hooks_afmask &= ~afmask; in ip_vs_unregister_hooks()
1684 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_register_conntrack() local1687 if (!(svc->conntrack_afmask & afmask)) { in ip_vs_register_conntrack()1690 svc->conntrack_afmask |= afmask; in ip_vs_register_conntrack()1701 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_unregister_conntrack() local1703 if (svc->conntrack_afmask & afmask) { in ip_vs_unregister_conntrack()1705 svc->conntrack_afmask &= ~afmask; in ip_vs_unregister_conntrack()