Home
last modified time | relevance | path

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

123456

/Linux-v6.6/net/ipv4/netfilter/
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()
Diptable_raw.c23 .af = NFPROTO_IPV4,
31 .af = NFPROTO_IPV4,
Dnf_defrag_ipv4.c96 .pf = NFPROTO_IPV4,
102 .pf = NFPROTO_IPV4,
Dip_tables.c457 par.family = NFPROTO_IPV4; in cleanup_match()
481 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, in find_check_match()
507 .family = NFPROTO_IPV4, in check_target()
535 mtpar.family = NFPROTO_IPV4; in find_check_entry()
544 target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, in find_check_entry()
650 par.family = NFPROTO_IPV4; in cleanup_entry()
1259 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, in compat_find_calc_match()
1323 target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, in check_compat_entry_size_and_hooks()
1786 struct xt_table *table = xt_find_table(net, NFPROTO_IPV4, name); in ipt_unregister_table_pre_exit()
1794 struct xt_table *table = xt_find_table(net, NFPROTO_IPV4, name); in ipt_unregister_table_exit()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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", },
/Linux-v6.6/net/netfilter/
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,
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()
Dxt_dscp.c56 if (xt_family(par) == NFPROTO_IPV4) in tos_mt()
67 .family = NFPROTO_IPV4,
84 .family = NFPROTO_IPV4,
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()
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()
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()
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,
Dxt_tcpudp.c259 .family = NFPROTO_IPV4,
277 .family = NFPROTO_IPV4,
295 .family = NFPROTO_IPV4,
317 .family = NFPROTO_IPV4,
Dnf_flow_table_inet.c50 case NFPROTO_IPV4: in nf_flow_rule_route_inet()
75 .family = NFPROTO_IPV4,
Dnft_chain_nat.c19 case NFPROTO_IPV4: in nft_nat_do_chain()
39 .family = NFPROTO_IPV4,
Dxt_LOG.c49 if (par->family != NFPROTO_IPV4 && par->family != NFPROTO_IPV6) in log_tg_check()
80 .family = NFPROTO_IPV4,
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,
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,
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()
1371 if (nathook && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_rcf()
[all …]
Dnft_socket.c24 case NFPROTO_IPV4: in nft_socket_wildcard()
68 case NFPROTO_IPV4: in nft_socket_do_lookup()
157 case NFPROTO_IPV4: in nft_socket_init()
Dxt_recent.c131 if (family == NFPROTO_IPV4) in recent_entry_lookup()
200 if (family == NFPROTO_IPV4) in recent_entry_init()
251 if (xt_family(par) == NFPROTO_IPV4) { in recent_mt()
527 if (e->family == NFPROTO_IPV4) in recent_seq_show()
603 family = NFPROTO_IPV4; in recent_mt_proc_write()
698 .family = NFPROTO_IPV4,
718 .family = NFPROTO_IPV4,
Dxt_DSCP.c114 .family = NFPROTO_IPV4,
133 .family = NFPROTO_IPV4,
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()
1074 case NFPROTO_IPV4: in nft_ct_helper_obj_init()
1082 if (ctx->family == NFPROTO_IPV4) in nft_ct_helper_obj_init()
1091 help4 = nf_conntrack_helper_try_module_get(name, NFPROTO_IPV4, in nft_ct_helper_obj_init()
1150 case NFPROTO_IPV4: in nft_ct_helper_obj_eval()
1188 family = NFPROTO_IPV4; in nft_ct_helper_obj_dump()
Dxt_ipvs.c37 if (l3proto == NFPROTO_IPV4) in ipvs_mt_addrcmp()
157 if (par->family != NFPROTO_IPV4 in ipvs_mt_check()
Dnft_chain_route.c56 .family = NFPROTO_IPV4,
122 case NFPROTO_IPV4: in nf_route_table_inet()

123456