Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A Dnf_nat_ovs.c19 if (maniptype == NF_NAT_MANIP_SRC) in nf_ct_nat_execute()
107 ? NF_NAT_MANIP_DST : NF_NAT_MANIP_SRC; in nf_ct_nat()
110 ? NF_NAT_MANIP_SRC : NF_NAT_MANIP_DST; in nf_ct_nat()
111 } else if (ct_action & BIT(NF_NAT_MANIP_SRC)) { in nf_ct_nat()
112 maniptype = NF_NAT_MANIP_SRC; in nf_ct_nat()
122 if (maniptype == NF_NAT_MANIP_SRC) in nf_ct_nat()
125 maniptype = NF_NAT_MANIP_SRC; in nf_ct_nat()
131 NF_NAT_MANIP_SRC); in nf_ct_nat()
H A Dnf_nat_core.c431 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
459 return l4proto_in_range(tuple, NF_NAT_MANIP_SRC, in nf_in_range()
525 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
611 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
630 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
723 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
791 WARN_ON(maniptype != NF_NAT_MANIP_SRC && in nf_nat_setup_info()
815 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_setup_info()
825 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_setup_info()
856 (manip == NF_NAT_MANIP_SRC ? in __nf_nat_alloc_null_binding()
[all …]
H A 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()
H A 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()
H A 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()
H A Dnft_nat.c186 priv->type = NF_NAT_MANIP_SRC; in nft_nat_init()
267 case NF_NAT_MANIP_SRC: in nft_nat_dump()
H A Dnf_nat_helper.c191 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in nf_nat_follow_master()
H A Dnf_nat_sip.c370 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in nf_nat_sip_expected()
H A Dnf_conntrack_core.c2230 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update()
H A Dnf_conntrack_netlink.c1909 return ctnetlink_parse_nat_setup(ct, NF_NAT_MANIP_SRC, in ctnetlink_setup_nat()
/openbmc/linux/include/net/netfilter/
H A Dnf_nat.h14 NF_NAT_MANIP_SRC, enumerator
114 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
/openbmc/linux/net/ipv4/netfilter/
H A 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()
H A Dnf_nat_pptp.c105 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in pptp_nat_expected()
/openbmc/linux/net/openvswitch/
H A Dconntrack.c619 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
677 action |= BIT(NF_NAT_MANIP_SRC); in ovs_ct_nat()
683 if (action & BIT(NF_NAT_MANIP_SRC)) in ovs_ct_nat()
684 ovs_nat_update_key(key, skb, NF_NAT_MANIP_SRC); in ovs_ct_nat()
/openbmc/linux/net/sched/
H A Dact_ct.c940 action |= BIT(NF_NAT_MANIP_SRC); in tcf_ct_act_nat()
946 if (action & BIT(NF_NAT_MANIP_SRC)) in tcf_ct_act_nat()