Home
last modified time | relevance | path

Searched refs:NF_NAT_MANIP_SRC (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnf_nat_core.c230 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
258 return l4proto_in_range(tuple, NF_NAT_MANIP_SRC, in in_range()
324 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
411 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
430 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
523 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
591 WARN_ON(maniptype != NF_NAT_MANIP_SRC && in nf_nat_setup_info()
615 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_setup_info()
625 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_setup_info()
656 (manip == NF_NAT_MANIP_SRC ? in __nf_nat_alloc_null_binding()
[all …]
Dxt_nat.c65 return nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in xt_snat_target_v0()
100 return nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in xt_snat_target_v1()
133 return nf_nat_setup_info(ct, range, NF_NAT_MANIP_SRC); in xt_snat_target_v2()
Dnf_nat_proto.c46 if (maniptype == NF_NAT_MANIP_SRC) { in __udp_manip_pkt()
120 if (maniptype == NF_NAT_MANIP_SRC) { in sctp_manip_pkt()
161 if (maniptype == NF_NAT_MANIP_SRC) { in tcp_manip_pkt()
201 if (maniptype == NF_NAT_MANIP_SRC) { in dccp_manip_pkt()
371 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv4_manip_pkt()
410 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_ipv6_manip_pkt()
453 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv4_csum_update()
472 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv6_csum_update()
589 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmp_reply_translation()
866 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmpv6_reply_translation()
Dnf_nat_masquerade.c74 return nf_nat_setup_info(ct, &newrange, NF_NAT_MANIP_SRC); in nf_nat_masquerade_ipv4()
268 return nf_nat_setup_info(ct, &newrange, NF_NAT_MANIP_SRC); in nf_nat_masquerade_ipv6()
Dnft_nat.c180 priv->type = NF_NAT_MANIP_SRC; in nft_nat_init()
263 case NF_NAT_MANIP_SRC: in nft_nat_dump()
Dnf_nat_helper.c191 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in nf_nat_follow_master()
Dnf_nat_sip.c370 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in nf_nat_sip_expected()
Dnf_conntrack_core.c2249 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update()
Dnf_conntrack_netlink.c1919 return ctnetlink_parse_nat_setup(ct, NF_NAT_MANIP_SRC, in ctnetlink_setup_nat()
/linux-6.1.9/include/net/netfilter/
Dnf_nat.h14 NF_NAT_MANIP_SRC, enumerator
110 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
/linux-6.1.9/net/sched/
Dact_ct.c861 if (maniptype == NF_NAT_MANIP_SRC) in ct_nat_execute()
921 if (maniptype == NF_NAT_MANIP_SRC) in ct_nat_execute()
989 ? NF_NAT_MANIP_DST : NF_NAT_MANIP_SRC; in tcf_ct_act_nat()
992 ? NF_NAT_MANIP_SRC : NF_NAT_MANIP_DST; in tcf_ct_act_nat()
994 maniptype = NF_NAT_MANIP_SRC; in tcf_ct_act_nat()
1004 if (maniptype == NF_NAT_MANIP_SRC) in tcf_ct_act_nat()
1007 maniptype = NF_NAT_MANIP_SRC; in tcf_ct_act_nat()
1013 NF_NAT_MANIP_SRC); in tcf_ct_act_nat()
/linux-6.1.9/net/openvswitch/
Dconntrack.c741 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
803 if (maniptype == NF_NAT_MANIP_SRC) in ovs_ct_nat_execute()
902 ? NF_NAT_MANIP_DST : NF_NAT_MANIP_SRC; in ovs_ct_nat()
905 ? NF_NAT_MANIP_SRC : NF_NAT_MANIP_DST; in ovs_ct_nat()
907 maniptype = NF_NAT_MANIP_SRC; in ovs_ct_nat()
917 if (maniptype == NF_NAT_MANIP_SRC) in ovs_ct_nat()
920 maniptype = NF_NAT_MANIP_SRC; in ovs_ct_nat()
926 NF_NAT_MANIP_SRC, key); in ovs_ct_nat()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_bpf_nf.c160 bpf_ct_set_nat_info(ct, &saddr, sport, NF_NAT_MANIP_SRC); in nf_ct_test()
/linux-6.1.9/net/ipv4/netfilter/
Dnf_nat_h323.c385 nf_nat_setup_info(new, &range, NF_NAT_MANIP_SRC); in ip_nat_q931_expect()
469 nf_nat_setup_info(new, &range, NF_NAT_MANIP_SRC); in ip_nat_callforwarding_expect()
Dnf_nat_pptp.c105 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in pptp_nat_expected()