Home
last modified time | relevance | path

Searched refs:maniptype (Results 1 – 5 of 5) sorted by relevance

/linux/net/netfilter/
H A Dnf_nat_ovs.c16 enum nf_nat_manip_type maniptype) in nf_ct_nat_execute()
22 if (maniptype == NF_NAT_MANIP_SRC) in nf_ct_nat_execute()
58 if (!nf_nat_initialized(ct, maniptype)) { in nf_ct_nat_execute()
64 ? nf_nat_setup_info(ct, range, maniptype) in nf_ct_nat_execute()
83 *action |= BIT(maniptype); in nf_ct_nat_execute()
92 enum nf_nat_manip_type maniptype; in nf_ct_nat()
109 maniptype = ct->status & IPS_SRC_NAT in nf_ct_nat()
112 maniptype = ct->status & IPS_SRC_NAT in nf_ct_nat()
115 maniptype = NF_NAT_MANIP_SRC; in nf_ct_nat()
117 maniptype in nf_ct_nat()
13 nf_ct_nat_execute(struct sk_buff * skb,struct nf_conn * ct,enum ip_conntrack_info ctinfo,int * action,const struct nf_nat_range2 * range,enum nf_nat_manip_type maniptype) nf_ct_nat_execute() argument
89 enum nf_nat_manip_type maniptype; nf_ct_nat() local
[all...]
H A Dnf_nat_proto.c37 enum nf_nat_manip_type maniptype);
43 enum nf_nat_manip_type maniptype, bool do_csum) in __udp_manip_pkt()
47 if (maniptype == NF_NAT_MANIP_SRC) { in __udp_manip_pkt()
57 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in __udp_manip_pkt()
69 enum nf_nat_manip_type maniptype) in udp_manip_pkt()
77 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, !!hdr->check); in udp_manip_pkt()
85 enum nf_nat_manip_type maniptype) in udplite_manip_pkt()
94 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, true); in udplite_manip_pkt()
103 enum nf_nat_manip_type maniptype) in sctp_manip_pkt()
121 if (maniptype in sctp_manip_pkt()
42 __udp_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,struct udphdr * hdr,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype,bool do_csum) __udp_manip_pkt() argument
68 udp_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) udp_manip_pkt() argument
84 udplite_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) udplite_manip_pkt() argument
102 sctp_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) sctp_manip_pkt() argument
144 tcp_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) tcp_manip_pkt() argument
186 icmp_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) icmp_manip_pkt() argument
217 icmpv6_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) icmpv6_manip_pkt() argument
241 gre_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) gre_manip_pkt() argument
280 l4proto_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,unsigned int hdroff,const struct nf_conntrack_tuple * tuple,enum nf_nat_manip_type maniptype) l4proto_manip_pkt() argument
313 nf_nat_ipv4_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,const struct nf_conntrack_tuple * target,enum nf_nat_manip_type maniptype) nf_nat_ipv4_manip_pkt() argument
341 nf_nat_ipv6_manip_pkt(struct sk_buff * skb,unsigned int iphdroff,const struct nf_conntrack_tuple * target,enum nf_nat_manip_type maniptype) nf_nat_ipv6_manip_pkt() argument
405 nf_nat_ipv4_csum_update(struct sk_buff * skb,unsigned int iphdroff,__sum16 * check,const struct nf_conntrack_tuple * t,enum nf_nat_manip_type maniptype) nf_nat_ipv4_csum_update() argument
423 nf_nat_ipv6_csum_update(struct sk_buff * skb,unsigned int iphdroff,__sum16 * check,const struct nf_conntrack_tuple * t,enum nf_nat_manip_type maniptype) nf_nat_ipv6_csum_update() argument
444 nf_csum_update(struct sk_buff * skb,unsigned int iphdroff,__sum16 * check,const struct nf_conntrack_tuple * t,enum nf_nat_manip_type maniptype) nf_csum_update() argument
[all...]
H A Dnf_nat_core.c404 enum nf_nat_manip_type maniptype, in l4proto_in_range() argument
420 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
502 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
514 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
572 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_unique_tuple() argument
600 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
618 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
631 if (maniptype == NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
659 maniptype != NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
699 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
[all …]
/linux/include/net/netfilter/
H A Dnf_nat.h41 enum nf_nat_manip_type maniptype);
/linux/net/openvswitch/
H A Dconntrack.c617 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
619 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()