Home
last modified time | relevance | path

Searched refs:oiph (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c172 struct iphdr *niph, *oiph = ip_hdr(oldskb); in nf_reject_iphdr_put() local
183 niph->saddr = oiph->daddr; in nf_reject_iphdr_put()
184 niph->daddr = oiph->saddr; in nf_reject_iphdr_put()
/linux/include/net/
H A Dinet_ecn.h286 static inline int IP_ECN_decapsulate(const struct iphdr *oiph, in IP_ECN_decapsulate() argument
302 return INET_ECN_decapsulate(skb, oiph->tos, inner); in IP_ECN_decapsulate()
/linux/drivers/net/
H A Dgeneve.c225 void *oiph; in geneve_rx() local
293 oiph = skb->head + nh; in geneve_rx()
296 err = IP_ECN_decapsulate(oiph, skb); in geneve_rx()
299 err = IP6_ECN_decapsulate(oiph, skb); in geneve_rx()
307 &((struct iphdr *)oiph)->saddr, in geneve_rx()
308 ((struct iphdr *)oiph)->tos); in geneve_rx()
312 &((struct ipv6hdr *)oiph)->saddr); in geneve_rx()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c1643 static bool vxlan_ecn_decapsulate(struct vxlan_sock *vs, void *oiph, in vxlan_ecn_decapsulate() argument
1649 err = IP_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1652 err = IP6_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1658 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate()
1659 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate()
1662 &((struct ipv6hdr *)oiph)->saddr); in vxlan_ecn_decapsulate()
1679 void *oiph; in vxlan_rcv() local
1800 oiph = skb->head + nh; in vxlan_rcv()
1802 if (!vxlan_ecn_decapsulate(vs, oiph, skb)) { in vxlan_rcv()