Home
last modified time | relevance | path

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

123456

/Linux-v5.15/net/ipv4/netfilter/
Diptable_nat.c29 .af = NFPROTO_IPV4,
42 .pf = NFPROTO_IPV4,
48 .pf = NFPROTO_IPV4,
54 .pf = NFPROTO_IPV4,
60 .pf = NFPROTO_IPV4,
74 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.c95 .pf = NFPROTO_IPV4,
101 .pf = NFPROTO_IPV4,
Dip_tables.c458 par.family = NFPROTO_IPV4; in cleanup_match()
482 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, in find_check_match()
508 .family = NFPROTO_IPV4, in check_target()
536 mtpar.family = NFPROTO_IPV4; in find_check_entry()
545 target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, in find_check_entry()
651 par.family = NFPROTO_IPV4; in cleanup_entry()
1261 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, in compat_find_calc_match()
1325 target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, in check_compat_entry_size_and_hooks()
1784 struct xt_table *table = xt_find_table(net, NFPROTO_IPV4, name); in ipt_unregister_table_pre_exit()
1792 struct xt_table *table = xt_find_table(net, NFPROTO_IPV4, name); in ipt_unregister_table_exit()
[all …]
/Linux-v5.15/net/netfilter/
Dxt_socket.c157 case NFPROTO_IPV4: in socket_mt_enable_defrag()
221 if (par->family == NFPROTO_IPV4) in socket_mt_destroy()
231 .family = NFPROTO_IPV4,
240 .family = NFPROTO_IPV4,
266 .family = NFPROTO_IPV4,
292 .family = NFPROTO_IPV4,
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_proto.c209 .pf = NFPROTO_IPV4,
215 .pf = NFPROTO_IPV4,
221 .pf = NFPROTO_IPV4,
227 .pf = NFPROTO_IPV4,
456 case NFPROTO_IPV4: in nf_ct_netns_do_get()
538 case NFPROTO_IPV4: in nf_ct_netns_do_put()
571 err = nf_ct_netns_do_get(net, NFPROTO_IPV4); in nf_ct_netns_inet_get()
581 nf_ct_netns_put(net, NFPROTO_IPV4); in nf_ct_netns_inet_get()
621 nf_ct_netns_do_put(net, NFPROTO_IPV4); in nf_ct_netns_put()
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,
Dnft_socket.c23 case NFPROTO_IPV4: in nft_socket_wildcard()
71 case NFPROTO_IPV4: in nft_socket_eval()
143 case NFPROTO_IPV4: in nft_socket_init()
Dxt_tcpudp.c167 .family = NFPROTO_IPV4,
185 .family = NFPROTO_IPV4,
203 .family = NFPROTO_IPV4,
Dxt_LOG.c49 if (par->family != NFPROTO_IPV4 && par->family != NFPROTO_IPV6) in log_tg_check()
80 .family = NFPROTO_IPV4,
Dnft_chain_nat.c19 case NFPROTO_IPV4: in nft_nat_do_chain()
39 .family = NFPROTO_IPV4,
Dnf_conntrack_h323_main.c303 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_rtp_rtcp()
362 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_t120()
699 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_h245()
822 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_callforwarding()
865 (set_h225_addr) && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_setup()
882 (set_h225_addr) && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_setup()
1283 if (nat_q931 && nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_q931()
1313 if (set_ras_addr && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_grq()
1382 if (set_ras_addr && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_rrq()
1414 if (set_sig_addr && nf_ct_l3num(ct) == NFPROTO_IPV4 && in process_rcf()
[all …]
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_masq.c120 nf_ct_netns_put(ctx->net, NFPROTO_IPV4); in nft_masq_ipv4_destroy()
135 .family = NFPROTO_IPV4,
209 case NFPROTO_IPV4: in nft_masq_inet_eval()
Dnft_redir.c125 nf_ct_netns_put(ctx->net, NFPROTO_IPV4); in nft_redir_ipv4_destroy()
140 .family = NFPROTO_IPV4,
204 case NFPROTO_IPV4: in nft_redir_inet_eval()
Dxt_ipvs.c37 if (l3proto == NFPROTO_IPV4) in ipvs_mt_addrcmp()
157 if (par->family != NFPROTO_IPV4 in ipvs_mt_check()
Dnft_ct.c191 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
195 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
204 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval()
209 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval()
441 case NFPROTO_IPV4: in nft_ct_get_init()
1006 case NFPROTO_IPV4: in nft_ct_helper_obj_init()
1014 if (ctx->family == NFPROTO_IPV4) in nft_ct_helper_obj_init()
1023 help4 = nf_conntrack_helper_try_module_get(name, NFPROTO_IPV4, in nft_ct_helper_obj_init()
1082 case NFPROTO_IPV4: in nft_ct_helper_obj_eval()
1120 family = NFPROTO_IPV4; in nft_ct_helper_obj_dump()
Dnft_chain_route.c56 .family = NFPROTO_IPV4,
122 case NFPROTO_IPV4: in nf_route_table_inet()
Dnf_nat_proto.c433 case NFPROTO_IPV4: in nf_nat_manip_pkt()
490 case NFPROTO_IPV4: in nf_csum_update()
544 case NFPROTO_IPV4: in nf_nat_csum_recalc()
795 .pf = NFPROTO_IPV4,
802 .pf = NFPROTO_IPV4,
809 .pf = NFPROTO_IPV4,
816 .pf = NFPROTO_IPV4,
1088 ret = nf_nat_register_fn(net, NFPROTO_IPV4, ops, nf_nat_ipv4_ops, in nf_nat_inet_register_fn()
1099 nf_nat_unregister_fn(net, NFPROTO_IPV4, ops, ARRAY_SIZE(nf_nat_ipv4_ops)); in nf_nat_inet_unregister_fn()
Dnft_log.c83 fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; in nft_log_eval_audit()
90 case NFPROTO_IPV4: in nft_log_eval_audit()
91 fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; in nft_log_eval_audit()
Dnft_chain_filter.c29 .family = NFPROTO_IPV4,
151 case NFPROTO_IPV4: in nft_do_chain_inet()
173 ingress_state.pf = NFPROTO_IPV4; in nft_do_chain_inet_ingress()

123456