Home
last modified time | relevance | path

Searched refs:NFPROTO_IPV4 (Results 1 – 25 of 151) sorted by relevance

1234567

/openbmc/linux/net/ipv4/netfilter/
H A Diptable_nat.c29 .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 Diptable_raw.c23 .af = NFPROTO_IPV4,
31 .af = NFPROTO_IPV4,
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnetfilter_link_attach.c22 { .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 Dxt_socket.c157 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 Dnft_tproxy.c164 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 Dxt_dscp.c56 if (xt_family(par) == NFPROTO_IPV4) in tos_mt()
67 .family = NFPROTO_IPV4,
84 .family = NFPROTO_IPV4,
H A Dnf_conntrack_proto.c162 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 Dxt_AUDIT.c84 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 Dnf_conntrack_ovs.c36 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 Dxt_CHECKSUM.c49 case NFPROTO_IPV4: in checksum_tg_check()
69 .family = NFPROTO_IPV4,
H A Dnft_rt.c31 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 Dxt_CT.c56 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 Dxt_set.c523 .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 Dxt_tcpudp.c259 .family = NFPROTO_IPV4,
277 .family = NFPROTO_IPV4,
295 .family = NFPROTO_IPV4,
317 .family = NFPROTO_IPV4,
H A Dnft_socket.c25 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 Dxt_LOG.c49 if (par->family != NFPROTO_IPV4 && par->family != NFPROTO_IPV6) in log_tg_check()
80 .family = NFPROTO_IPV4,
H A Dnft_chain_nat.c19 case NFPROTO_IPV4: in nft_nat_do_chain()
39 .family = NFPROTO_IPV4,
H A Dnf_flow_table_inet.c54 case NFPROTO_IPV4: in nf_flow_rule_route_inet()
79 .family = NFPROTO_IPV4,
H A Dnft_redir.c119 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 Dnft_masq.c114 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 Dnft_nat.c74 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 Dxt_DSCP.c114 .family = NFPROTO_IPV4,
133 .family = NFPROTO_IPV4,
H A Dnf_conntrack_h323_main.c253 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 Dnft_ct.c182 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 Dxt_ipvs.c37 if (l3proto == NFPROTO_IPV4) in ipvs_mt_addrcmp()
157 if (par->family != NFPROTO_IPV4 in ipvs_mt_check()

1234567