Searched refs:NF_NAT_MANIP_SRC (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | nf_nat_ovs.c | 19 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 D | nf_nat_core.c | 431 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 D | xt_nat.c | 65 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 D | nf_nat_proto.c | 46 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 D | nf_nat_masquerade.c | 74 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 D | nft_nat.c | 186 priv->type = NF_NAT_MANIP_SRC; in nft_nat_init() 267 case NF_NAT_MANIP_SRC: in nft_nat_dump()
|
H A D | nf_nat_helper.c | 191 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in nf_nat_follow_master()
|
H A D | nf_nat_sip.c | 370 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in nf_nat_sip_expected()
|
H A D | nf_conntrack_core.c | 2230 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update()
|
H A D | nf_conntrack_netlink.c | 1909 return ctnetlink_parse_nat_setup(ct, NF_NAT_MANIP_SRC, in ctnetlink_setup_nat()
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_nat.h | 14 NF_NAT_MANIP_SRC, enumerator 114 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | nf_nat_h323.c | 385 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 D | nf_nat_pptp.c | 105 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_SRC); in pptp_nat_expected()
|
/openbmc/linux/net/openvswitch/ |
H A D | conntrack.c | 619 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 D | act_ct.c | 940 action |= BIT(NF_NAT_MANIP_SRC); in tcf_ct_act_nat() 946 if (action & BIT(NF_NAT_MANIP_SRC)) in tcf_ct_act_nat()
|