Searched refs:iph6 (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | xdp.c | 14 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.6.21/net/core/ |
D | lwt_bpf.c | 220 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()
|
/linux-6.6.21/net/ipv6/ |
D | sit.c | 858 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.6.21/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1232 struct ipv6hdr *iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_mss_helper() local 1234 if (iph6->nexthdr == IPPROTO_TCP) { in ibmveth_rx_mss_helper() 1266 struct ipv6hdr *iph6 = NULL; in ibmveth_rx_csum_helper() local 1289 iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_csum_helper() 1291 iph_proto = iph6->nexthdr; in ibmveth_rx_csum_helper() 1321 ~csum_ipv6_magic(&iph6->saddr, in ibmveth_rx_csum_helper() 1322 &iph6->daddr, tcphdrlen, iph_proto, 0); in ibmveth_rx_csum_helper()
|
/linux-6.6.21/net/xfrm/ |
D | xfrm_state.c | 2965 const struct ipv6hdr *iph6; in xfrm_audit_helper_pktinfo() local 2974 iph6 = ipv6_hdr(skb); in xfrm_audit_helper_pktinfo() 2977 &iph6->saddr, &iph6->daddr, in xfrm_audit_helper_pktinfo() 2978 iph6->flow_lbl[0] & 0x0f, in xfrm_audit_helper_pktinfo() 2979 iph6->flow_lbl[1], in xfrm_audit_helper_pktinfo() 2980 iph6->flow_lbl[2]); in xfrm_audit_helper_pktinfo()
|
/linux-6.6.21/drivers/net/bonding/ |
D | bond_main.c | 4055 const struct ipv6hdr *iph6; in bond_flow_ip() local 4069 data = bond_pull_data(skb, data, hlen, *nhoff + sizeof(*iph6)); in bond_flow_ip() 4073 iph6 = (const struct ipv6hdr *)(data + *nhoff); in bond_flow_ip() 4074 iph_to_flow_copy_v6addrs(fk, iph6); in bond_flow_ip() 4075 *nhoff += sizeof(*iph6); in bond_flow_ip() 4076 *ip_proto = iph6->nexthdr; in bond_flow_ip()
|