/openbmc/linux/net/ipv4/netfilter/ |
H A D | iptable_nat.c | 29 .af = NFPROTO_IPV4, 35 .pf = NFPROTO_IPV4, 41 .pf = NFPROTO_IPV4, 47 .pf = NFPROTO_IPV4, 53 .pf = NFPROTO_IPV4, 67 table = xt_find_table(net, NFPROTO_IPV4, "nat"); in ipt_nat_register_lookups()
|
H A D | iptable_raw.c | 23 .af = NFPROTO_IPV4, 31 .af = NFPROTO_IPV4,
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | netfilter_link_attach.c | 22 { .pf = NFPROTO_IPV4, .hooknum = 42, .name = "invalid-hooknum", }, 23 { .pf = NFPROTO_IPV4, .priority = INT_MIN, .name = "invalid-priority-min", }, 24 { .pf = NFPROTO_IPV4, .priority = INT_MAX, .name = "invalid-priority-max", }, 25 { .pf = NFPROTO_IPV4, .flags = UINT_MAX, .name = "invalid-flags", }, 29 { .pf = NFPROTO_IPV4, .priority = -10000, .expect_success = true, .name = "attach ipv4", },
|
/openbmc/linux/net/netfilter/ |
H A D | xt_socket.c | 157 case NFPROTO_IPV4: in socket_mt_enable_defrag() 221 if (par->family == NFPROTO_IPV4) in socket_mt_destroy() 233 .family = NFPROTO_IPV4, 242 .family = NFPROTO_IPV4, 268 .family = NFPROTO_IPV4, 294 .family = NFPROTO_IPV4,
|
H A D | nft_tproxy.c | 164 case NFPROTO_IPV4: in nft_tproxy_eval() 166 case NFPROTO_IPV4: in nft_tproxy_eval() 206 case NFPROTO_IPV4: in nft_tproxy_init() 207 if (priv->family != NFPROTO_IPV4) in nft_tproxy_init() 227 case NFPROTO_IPV4: in nft_tproxy_init() 279 case NFPROTO_IPV4: in nft_tproxy_destroy() 319 if (ctx->family != NFPROTO_IPV4 && in nft_tproxy_validate()
|
H A D | xt_dscp.c | 56 if (xt_family(par) == NFPROTO_IPV4) in tos_mt() 67 .family = NFPROTO_IPV4, 84 .family = NFPROTO_IPV4,
|
H A D | nf_conntrack_proto.c | 162 case NFPROTO_IPV4: in nf_confirm() 238 .pf = NFPROTO_IPV4, 244 .pf = NFPROTO_IPV4, 250 .pf = NFPROTO_IPV4, 256 .pf = NFPROTO_IPV4, 447 case NFPROTO_IPV4: in nf_ct_netns_do_get() 533 case NFPROTO_IPV4: in nf_ct_netns_do_put() 566 err = nf_ct_netns_do_get(net, NFPROTO_IPV4); in nf_ct_netns_inet_get() 576 nf_ct_netns_put(net, NFPROTO_IPV4); in nf_ct_netns_inet_get() 616 nf_ct_netns_do_put(net, NFPROTO_IPV4); in nf_ct_netns_put()
|
H A D | xt_AUDIT.c | 84 fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; in audit_tg() 91 case NFPROTO_IPV4: in audit_tg() 92 fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; in audit_tg()
|
H A D | nf_conntrack_ovs.c | 36 case NFPROTO_IPV4: in nf_ct_helper() 120 case NFPROTO_IPV4: in nf_ct_skb_network_trim() 149 if (family == NFPROTO_IPV4) { in nf_ct_handle_fragments()
|
H A D | xt_CHECKSUM.c | 49 case NFPROTO_IPV4: in checksum_tg_check() 69 .family = NFPROTO_IPV4,
|
H A D | nft_rt.c | 31 case NFPROTO_IPV4: in get_tcpmss() 73 if (nft_pf(pkt) != NFPROTO_IPV4) in nft_rt_get_eval() 169 if (ctx->family != NFPROTO_IPV4 && in nft_rt_validate()
|
H A D | xt_CT.c | 56 if (par->family == NFPROTO_IPV4) { in xt_ct_find_proto() 332 .family = NFPROTO_IPV4, 339 .family = NFPROTO_IPV4, 350 .family = NFPROTO_IPV4, 362 .family = NFPROTO_IPV4,
|
H A D | xt_set.c | 523 .family = NFPROTO_IPV4, 533 .family = NFPROTO_IPV4, 554 .family = NFPROTO_IPV4, 575 .family = NFPROTO_IPV4, 596 .family = NFPROTO_IPV4, 620 .family = NFPROTO_IPV4, 630 .family = NFPROTO_IPV4, 651 .family = NFPROTO_IPV4, 672 .family = NFPROTO_IPV4,
|
H A D | xt_tcpudp.c | 259 .family = NFPROTO_IPV4, 277 .family = NFPROTO_IPV4, 295 .family = NFPROTO_IPV4, 317 .family = NFPROTO_IPV4,
|
H A D | nft_socket.c | 25 case NFPROTO_IPV4: in nft_socket_wildcard() 91 case NFPROTO_IPV4: in nft_socket_do_lookup() 181 case NFPROTO_IPV4: in nft_socket_init() 281 if (ctx->family != NFPROTO_IPV4 && in nft_socket_validate()
|
H A D | xt_LOG.c | 49 if (par->family != NFPROTO_IPV4 && par->family != NFPROTO_IPV6) in log_tg_check() 80 .family = NFPROTO_IPV4,
|
H A D | nft_chain_nat.c | 19 case NFPROTO_IPV4: in nft_nat_do_chain() 39 .family = NFPROTO_IPV4,
|
H A D | nf_flow_table_inet.c | 54 case NFPROTO_IPV4: in nf_flow_rule_route_inet() 79 .family = NFPROTO_IPV4,
|
H A D | nft_redir.c | 119 case NFPROTO_IPV4: in nft_redir_eval() 138 nf_ct_netns_put(ctx->net, NFPROTO_IPV4); in nft_redir_ipv4_destroy() 154 .family = NFPROTO_IPV4,
|
H A D | nft_masq.c | 114 case NFPROTO_IPV4: in nft_masq_eval() 135 nf_ct_netns_put(ctx->net, NFPROTO_IPV4); in nft_masq_ipv4_destroy() 151 .family = NFPROTO_IPV4,
|
H A D | nft_nat.c | 74 if (nft_pf(pkt) == NFPROTO_IPV4) { in nft_nat_setup_netmap() 83 if (nft_pf(pkt) == NFPROTO_IPV4) { in nft_nat_setup_netmap() 146 if (ctx->family != NFPROTO_IPV4 && in nft_nat_validate() 203 case NFPROTO_IPV4: in nft_nat_init()
|
H A D | xt_DSCP.c | 114 .family = NFPROTO_IPV4, 133 .family = NFPROTO_IPV4,
|
H A D | nf_conntrack_h323_main.c | 253 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_rtp_rtcp() 313 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_t120() 652 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_h245() 776 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_callforwarding() 819 nathook && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_setup() 836 nathook && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_setup() 1240 if (nathook && nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_q931() 1270 if (nathook && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_grq() 1339 if (nathook && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_rrq() 1463 nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_arq() [all …]
|
H A D | nft_ct.c | 182 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval() 186 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval() 195 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval() 200 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval() 435 case NFPROTO_IPV4: in nft_ct_get_init() 1077 case NFPROTO_IPV4: in nft_ct_helper_obj_init() 1085 if (ctx->family == NFPROTO_IPV4) in nft_ct_helper_obj_init() 1094 help4 = nf_conntrack_helper_try_module_get(name, NFPROTO_IPV4, in nft_ct_helper_obj_init() 1153 case NFPROTO_IPV4: in nft_ct_helper_obj_eval() 1191 family = NFPROTO_IPV4; in nft_ct_helper_obj_dump() [all …]
|
H A D | xt_ipvs.c | 37 if (l3proto == NFPROTO_IPV4) in ipvs_mt_addrcmp() 157 if (par->family != NFPROTO_IPV4 in ipvs_mt_check()
|