Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_reject_ipv4.c48 struct iphdr *niph, *oiph = ip_hdr(oldskb); in nf_reject_iphdr_put() local
59 niph->saddr = oiph->daddr; in nf_reject_iphdr_put()
60 niph->daddr = oiph->saddr; in nf_reject_iphdr_put()
/kernel/linux/linux-5.10/drivers/net/
Dbareudp.c61 void *oiph; in bareudp_udp_encap_recv() local
140 oiph = skb_network_header(skb); in bareudp_udp_encap_recv()
144 err = IP_ECN_decapsulate(oiph, skb); in bareudp_udp_encap_recv()
146 err = IP6_ECN_decapsulate(oiph, skb); in bareudp_udp_encap_recv()
153 &((struct iphdr *)oiph)->saddr, in bareudp_udp_encap_recv()
154 ((struct iphdr *)oiph)->tos); in bareudp_udp_encap_recv()
157 &((struct ipv6hdr *)oiph)->saddr); in bareudp_udp_encap_recv()
Dgeneve.c222 void *oiph; in geneve_rx() local
265 oiph = skb_network_header(skb); in geneve_rx()
269 err = IP_ECN_decapsulate(oiph, skb); in geneve_rx()
272 err = IP6_ECN_decapsulate(oiph, skb); in geneve_rx()
280 &((struct iphdr *)oiph)->saddr, in geneve_rx()
281 ((struct iphdr *)oiph)->tos); in geneve_rx()
285 &((struct ipv6hdr *)oiph)->saddr); in geneve_rx()
Dvxlan.c1802 static bool vxlan_ecn_decapsulate(struct vxlan_sock *vs, void *oiph, in vxlan_ecn_decapsulate() argument
1808 err = IP_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1811 err = IP6_ECN_decapsulate(oiph, skb); in vxlan_ecn_decapsulate()
1817 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate()
1818 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate()
1821 &((struct ipv6hdr *)oiph)->saddr); in vxlan_ecn_decapsulate()
1836 void *oiph; in vxlan_rcv() local
1925 oiph = skb_network_header(skb); in vxlan_rcv()
1928 if (!vxlan_ecn_decapsulate(vs, oiph, skb)) { in vxlan_rcv()
/kernel/linux/linux-5.10/include/net/
Dinet_ecn.h271 static inline int IP_ECN_decapsulate(const struct iphdr *oiph, in IP_ECN_decapsulate() argument
287 return INET_ECN_decapsulate(skb, oiph->tos, inner); in IP_ECN_decapsulate()