Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ !
Dbareudp.c68 void *oiph; in bareudp_udp_encap_recv() local
147 oiph = skb_network_header(skb); in bareudp_udp_encap_recv()
152 err = IP_ECN_decapsulate(oiph, skb); in bareudp_udp_encap_recv()
154 err = IP6_ECN_decapsulate(oiph, skb); in bareudp_udp_encap_recv()
161 &((struct iphdr *)oiph)->saddr, in bareudp_udp_encap_recv()
162 ((struct iphdr *)oiph)->tos); in bareudp_udp_encap_recv()
165 &((struct ipv6hdr *)oiph)->saddr); in bareudp_udp_encap_recv()
Dgeneve.c225 void *oiph; in geneve_rx() local
275 oiph = skb_network_header(skb); in geneve_rx()
279 err = IP_ECN_decapsulate(oiph, skb); in geneve_rx()
282 err = IP6_ECN_decapsulate(oiph, skb); in geneve_rx()
290 &((struct iphdr *)oiph)->saddr, in geneve_rx()
291 ((struct iphdr *)oiph)->tos); in geneve_rx()
295 &((struct ipv6hdr *)oiph)->saddr); in geneve_rx()
/linux-6.6.21/net/ipv4/netfilter/ !
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-6.6.21/include/net/ !
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-6.6.21/drivers/net/vxlan/ !
Dvxlan_core.c1636 static bool vxlan_ecn_decapsulate(struct vxlan_sock *vs, void *oiph, in vxlan_ecn_decapsulate() argument
1642 err = IP_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1645 err = IP6_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1651 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate()
1652 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate()
1655 &((struct ipv6hdr *)oiph)->saddr); in vxlan_ecn_decapsulate()
1671 void *oiph; in vxlan_rcv() local
1761 oiph = skb_network_header(skb); in vxlan_rcv()
1764 if (!vxlan_ecn_decapsulate(vs, oiph, skb)) { in vxlan_rcv()