Searched refs:iph6 (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | xdp.c | 14 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/ |
D | lwt_bpf.c | 222 struct ipv6hdr *iph6 = ipv6_hdr(skb); in bpf_lwt_xmit_reroute() local 228 fl6.flowlabel = ip6_flowinfo(iph6); in bpf_lwt_xmit_reroute() 229 fl6.flowi6_proto = iph6->nexthdr; in bpf_lwt_xmit_reroute() 230 fl6.daddr = iph6->daddr; in bpf_lwt_xmit_reroute() 231 fl6.saddr = iph6->saddr; in bpf_lwt_xmit_reroute()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | sit.c | 859 const struct ipv6hdr *iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit() local 875 tos = ipv6_get_dsfield(iph6); in ipip6_tunnel_xmit() 883 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit() 905 dst = try_6rd(tunnel, &iph6->daddr); in ipip6_tunnel_xmit() 912 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit() 1021 iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit() 1025 ttl = iph6->hop_limit; in ipip6_tunnel_xmit() 1026 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); in ipip6_tunnel_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1226 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/ |
D | xfrm_state.c | 2756 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/ |
D | bond_main.c | 3597 const struct ipv6hdr *iph6; in bond_flow_ip() local 3609 if (unlikely(!pskb_may_pull(skb, *noff + sizeof(*iph6)))) in bond_flow_ip() 3611 iph6 = (const struct ipv6hdr *)(skb->data + *noff); in bond_flow_ip() 3612 iph_to_flow_copy_v6addrs(fk, iph6); in bond_flow_ip() 3613 *noff += sizeof(*iph6); in bond_flow_ip() 3614 *proto = iph6->nexthdr; in bond_flow_ip()
|