Lines Matching defs:family
434 switch (ctx->family) {
505 err = nf_ct_netns_get(ctx->net, ctx->family);
613 err = nf_ct_netns_get(ctx->net, ctx->family);
627 nf_ct_netns_put(ctx->net, ctx->family);
636 nf_ct_netns_put(ctx->net, ctx->family);
942 int l3num = ctx->family;
978 ret = nf_ct_netns_get(ctx->net, ctx->family);
998 nf_ct_netns_put(ctx->net, ctx->family);
1058 int family = ctx->family;
1071 family = ntohs(nla_get_be16(tb[NFTA_CT_HELPER_L3PROTO]));
1076 switch (family) {
1078 if (ctx->family == NFPROTO_IPV6)
1081 help4 = nf_conntrack_helper_try_module_get(name, family,
1085 if (ctx->family == NFPROTO_IPV4)
1088 help6 = nf_conntrack_helper_try_module_get(name, family,
1110 err = nf_ct_netns_get(ctx->net, ctx->family);
1134 nf_ct_netns_put(ctx->net, ctx->family);
1182 u16 family;
1185 family = NFPROTO_INET;
1188 family = NFPROTO_IPV6;
1191 family = NFPROTO_IPV4;
1201 if (nla_put_be16(skb, NFTA_CT_HELPER_L3PROTO, htons(family)))
1252 priv->l3num = ctx->family;
1259 if (priv->l3num == ctx->family || ctx->family == NFPROTO_INET)
1284 return nf_ct_netns_get(ctx->net, ctx->family);
1290 nf_ct_netns_put(ctx->net, ctx->family);