Home
last modified time | relevance | path

Searched refs:iph6 (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp.c14 struct ipv6hdr *iph6 = (void *)buf + sizeof(struct ethhdr); in test_xdp() local
40 iph6->nexthdr != IPPROTO_IPV6, "ipv6", in test_xdp()
/kernel/linux/linux-5.10/net/core/
Dlwt_bpf.c220 struct ipv6hdr *iph6 = ipv6_hdr(skb); in bpf_lwt_xmit_reroute() local
226 fl6.flowlabel = ip6_flowinfo(iph6); in bpf_lwt_xmit_reroute()
227 fl6.flowi6_proto = iph6->nexthdr; in bpf_lwt_xmit_reroute()
228 fl6.daddr = iph6->daddr; in bpf_lwt_xmit_reroute()
229 fl6.saddr = iph6->saddr; in bpf_lwt_xmit_reroute()
/kernel/linux/linux-5.10/net/ipv6/
Dsit.c857 const struct ipv6hdr *iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit() local
873 tos = ipv6_get_dsfield(iph6); in ipip6_tunnel_xmit()
881 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
903 dst = try_6rd(tunnel, &iph6->daddr); in ipip6_tunnel_xmit()
910 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
1019 iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit()
1023 ttl = iph6->hop_limit; in ipip6_tunnel_xmit()
1024 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); in ipip6_tunnel_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmveth.c1226 struct ipv6hdr *iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_mss_helper() local
1228 if (iph6->nexthdr == IPPROTO_TCP) { in ibmveth_rx_mss_helper()
1260 struct ipv6hdr *iph6 = NULL; in ibmveth_rx_csum_helper() local
1283 iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_csum_helper()
1285 iph_proto = iph6->nexthdr; in ibmveth_rx_csum_helper()
1311 tcph->check = ~csum_ipv6_magic(&iph6->saddr, in ibmveth_rx_csum_helper()
1312 &iph6->daddr, tcphdrlen, iph_proto, 0); in ibmveth_rx_csum_helper()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_state.c2756 const struct ipv6hdr *iph6; in xfrm_audit_helper_pktinfo() local
2765 iph6 = ipv6_hdr(skb); in xfrm_audit_helper_pktinfo()
2768 &iph6->saddr, &iph6->daddr, in xfrm_audit_helper_pktinfo()
2769 iph6->flow_lbl[0] & 0x0f, in xfrm_audit_helper_pktinfo()
2770 iph6->flow_lbl[1], in xfrm_audit_helper_pktinfo()
2771 iph6->flow_lbl[2]); in xfrm_audit_helper_pktinfo()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c3605 const struct ipv6hdr *iph6; in bond_flow_ip() local
3617 if (unlikely(!pskb_may_pull(skb, *noff + sizeof(*iph6)))) in bond_flow_ip()
3619 iph6 = (const struct ipv6hdr *)(skb->data + *noff); in bond_flow_ip()
3620 iph_to_flow_copy_v6addrs(fk, iph6); in bond_flow_ip()
3621 *noff += sizeof(*iph6); in bond_flow_ip()
3622 *proto = iph6->nexthdr; in bond_flow_ip()