Searched refs:oiph (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ |
| H A D | bareudp.c | 69 void *oiph; in bareudp_udp_encap_recv() local 169 oiph = skb->head + nh; in bareudp_udp_encap_recv() 172 err = IP_ECN_decapsulate(oiph, skb); in bareudp_udp_encap_recv() 174 err = IP6_ECN_decapsulate(oiph, skb); in bareudp_udp_encap_recv() 181 &((struct iphdr *)oiph)->saddr, in bareudp_udp_encap_recv() 182 ((struct iphdr *)oiph)->tos); in bareudp_udp_encap_recv() 185 &((struct ipv6hdr *)oiph)->saddr); in bareudp_udp_encap_recv()
|
| H A D | geneve.c | 267 void *oiph; in geneve_rx() local 335 oiph = skb->head + nh; in geneve_rx() 338 err = IP_ECN_decapsulate(oiph, skb); in geneve_rx() 341 err = IP6_ECN_decapsulate(oiph, skb); in geneve_rx() 349 &((struct iphdr *)oiph)->saddr, in geneve_rx() 350 ((struct iphdr *)oiph)->tos); in geneve_rx() 354 &((struct ipv6hdr *)oiph)->saddr); in geneve_rx()
|
| /linux/include/net/ |
| H A D | inet_ecn.h | 300 static inline int IP_ECN_decapsulate(const struct iphdr *oiph, in IP_ECN_decapsulate() 316 return INET_ECN_decapsulate(skb, oiph->tos, inner); in IP6_ECN_decapsulate() 286 IP_ECN_decapsulate(const struct iphdr * oiph,struct sk_buff * skb) IP_ECN_decapsulate() argument
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 1620 static bool vxlan_ecn_decapsulate(struct vxlan_sock *vs, void *oiph, in vxlan_ecn_decapsulate() argument 1626 err = IP_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate() 1629 err = IP6_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate() 1635 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate() 1636 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate() 1639 &((struct ipv6hdr *)oiph)->saddr); in vxlan_ecn_decapsulate() 1655 void *oiph; in vxlan_rcv() local 1776 oiph = skb->head + nh; in vxlan_rcv() 1778 if (!vxlan_ecn_decapsulate(vs, oiph, skb)) { in vxlan_rcv()
|