Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/
Dbareudp.c69 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()
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-6.12.1/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.12.1/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.12.1/drivers/net/vxlan/
Dvxlan_core.c1640 static bool vxlan_ecn_decapsulate(struct vxlan_sock *vs, void *oiph, in vxlan_ecn_decapsulate() argument
1646 err = IP_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1649 err = IP6_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1655 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate()
1656 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate()
1659 &((struct ipv6hdr *)oiph)->saddr); in vxlan_ecn_decapsulate()
1675 void *oiph; in vxlan_rcv() local
1785 oiph = skb->head + nh; in vxlan_rcv()
1787 if (!vxlan_ecn_decapsulate(vs, oiph, skb)) { in vxlan_rcv()