Home
last modified time | relevance | path

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

/Linux-v6.6/net/netfilter/
Dnf_nat_ovs.c19 if (maniptype == NF_NAT_MANIP_SRC) in nf_ct_nat_execute()
106 ? NF_NAT_MANIP_DST : NF_NAT_MANIP_SRC; in nf_ct_nat()
109 ? NF_NAT_MANIP_SRC : NF_NAT_MANIP_DST; in nf_ct_nat()
110 } else if (ct_action & BIT(NF_NAT_MANIP_SRC)) { in nf_ct_nat()
111 maniptype = NF_NAT_MANIP_SRC; in nf_ct_nat()
121 if (maniptype == NF_NAT_MANIP_SRC) in nf_ct_nat()
124 maniptype = NF_NAT_MANIP_SRC; in nf_ct_nat()
130 NF_NAT_MANIP_SRC); in nf_ct_nat()
Dnf_nat_core.c315 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
343 return l4proto_in_range(tuple, NF_NAT_MANIP_SRC, in nf_in_range()
409 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
495 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
514 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
607 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
675 WARN_ON(maniptype != NF_NAT_MANIP_SRC && in nf_nat_setup_info()
699 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_setup_info()
709 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_setup_info()
740 (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.c181 priv->type = NF_NAT_MANIP_SRC; in nft_nat_init()
262 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.c2230 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update()
Dnf_conntrack_netlink.c1912 return ctnetlink_parse_nat_setup(ct, NF_NAT_MANIP_SRC, in ctnetlink_setup_nat()
/Linux-v6.6/include/net/netfilter/
Dnf_nat.h14 NF_NAT_MANIP_SRC, enumerator
114 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
/Linux-v6.6/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()
/Linux-v6.6/net/openvswitch/
Dconntrack.c614 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
672 action |= BIT(NF_NAT_MANIP_SRC); in ovs_ct_nat()
678 if (action & BIT(NF_NAT_MANIP_SRC)) in ovs_ct_nat()
679 ovs_nat_update_key(key, skb, NF_NAT_MANIP_SRC); in ovs_ct_nat()
/Linux-v6.6/net/sched/
Dact_ct.c898 action |= BIT(NF_NAT_MANIP_SRC); in tcf_ct_act_nat()
904 if (action & BIT(NF_NAT_MANIP_SRC)) in tcf_ct_act_nat()