Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp.c14 struct ipv6hdr iph6; in test_xdp() local
47 memcpy(&iph6, buf + sizeof(struct ethhdr), sizeof(iph6)); in test_xdp()
51 ASSERT_EQ(iph6.nexthdr, IPPROTO_IPV6, "ipv6 test_run iph6.nexthdr"); in test_xdp()
/linux-6.1.9/net/core/
Dlwt_bpf.c221 struct ipv6hdr *iph6 = ipv6_hdr(skb); in bpf_lwt_xmit_reroute() local
227 fl6.flowlabel = ip6_flowinfo(iph6); in bpf_lwt_xmit_reroute()
228 fl6.flowi6_proto = iph6->nexthdr; in bpf_lwt_xmit_reroute()
229 fl6.daddr = iph6->daddr; in bpf_lwt_xmit_reroute()
230 fl6.saddr = iph6->saddr; in bpf_lwt_xmit_reroute()
/linux-6.1.9/net/ipv6/
Dsit.c858 const struct ipv6hdr *iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit() local
874 tos = ipv6_get_dsfield(iph6); in ipip6_tunnel_xmit()
882 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
904 dst = try_6rd(tunnel, &iph6->daddr); in ipip6_tunnel_xmit()
911 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
1020 iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit()
1024 ttl = iph6->hop_limit; in ipip6_tunnel_xmit()
1025 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); in ipip6_tunnel_xmit()
/linux-6.1.9/drivers/net/ethernet/ibm/
Dibmveth.c1237 struct ipv6hdr *iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_mss_helper() local
1239 if (iph6->nexthdr == IPPROTO_TCP) { in ibmveth_rx_mss_helper()
1271 struct ipv6hdr *iph6 = NULL; in ibmveth_rx_csum_helper() local
1294 iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_csum_helper()
1296 iph_proto = iph6->nexthdr; in ibmveth_rx_csum_helper()
1326 ~csum_ipv6_magic(&iph6->saddr, in ibmveth_rx_csum_helper()
1327 &iph6->daddr, tcphdrlen, iph_proto, 0); in ibmveth_rx_csum_helper()
/linux-6.1.9/net/xfrm/
Dxfrm_state.c2807 const struct ipv6hdr *iph6; in xfrm_audit_helper_pktinfo() local
2816 iph6 = ipv6_hdr(skb); in xfrm_audit_helper_pktinfo()
2819 &iph6->saddr, &iph6->daddr, in xfrm_audit_helper_pktinfo()
2820 iph6->flow_lbl[0] & 0x0f, in xfrm_audit_helper_pktinfo()
2821 iph6->flow_lbl[1], in xfrm_audit_helper_pktinfo()
2822 iph6->flow_lbl[2]); in xfrm_audit_helper_pktinfo()
/linux-6.1.9/drivers/net/bonding/
Dbond_main.c3994 const struct ipv6hdr *iph6; in bond_flow_ip() local
4008 data = bond_pull_data(skb, data, hlen, *nhoff + sizeof(*iph6)); in bond_flow_ip()
4012 iph6 = (const struct ipv6hdr *)(data + *nhoff); in bond_flow_ip()
4013 iph_to_flow_copy_v6addrs(fk, iph6); in bond_flow_ip()
4014 *nhoff += sizeof(*iph6); in bond_flow_ip()
4015 *ip_proto = iph6->nexthdr; in bond_flow_ip()