Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A Dxdp.c14 struct ipv6hdr *iph6 = (void *)buf + sizeof(struct ethhdr); in test_xdp() local
40 iph6->nexthdr != IPPROTO_IPV6, "ipv6", in test_xdp()
/linux/net/core/
A Dlwt_bpf.c222 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()
/linux/net/ipv6/
A Dsit.c866 const struct ipv6hdr *iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit() local
882 tos = ipv6_get_dsfield(iph6); in ipip6_tunnel_xmit()
890 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
912 dst = try_6rd(tunnel, &iph6->daddr); in ipip6_tunnel_xmit()
919 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
1028 iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit()
1032 ttl = iph6->hop_limit; in ipip6_tunnel_xmit()
1033 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); in ipip6_tunnel_xmit()
/linux/drivers/net/ethernet/ibm/
A Dibmveth.c1208 struct ipv6hdr *iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_mss_helper() local
1210 if (iph6->nexthdr == IPPROTO_TCP) { in ibmveth_rx_mss_helper()
1242 struct ipv6hdr *iph6 = NULL; in ibmveth_rx_csum_helper() local
1265 iph6 = (struct ipv6hdr *)skb->data; in ibmveth_rx_csum_helper()
1267 iph_proto = iph6->nexthdr; in ibmveth_rx_csum_helper()
1297 ~csum_ipv6_magic(&iph6->saddr, in ibmveth_rx_csum_helper()
1298 &iph6->daddr, tcphdrlen, iph_proto, 0); in ibmveth_rx_csum_helper()
/linux/net/xfrm/
A Dxfrm_state.c2777 const struct ipv6hdr *iph6; in xfrm_audit_helper_pktinfo() local
2786 iph6 = ipv6_hdr(skb); in xfrm_audit_helper_pktinfo()
2789 &iph6->saddr, &iph6->daddr, in xfrm_audit_helper_pktinfo()
2790 iph6->flow_lbl[0] & 0x0f, in xfrm_audit_helper_pktinfo()
2791 iph6->flow_lbl[1], in xfrm_audit_helper_pktinfo()
2792 iph6->flow_lbl[2]); in xfrm_audit_helper_pktinfo()
/linux/drivers/net/bonding/
A Dbond_main.c3719 const struct ipv6hdr *iph6; in bond_flow_ip() local
3733 data = bond_pull_data(skb, data, hlen, *nhoff + sizeof(*iph6)); in bond_flow_ip()
3737 iph6 = (const struct ipv6hdr *)(data + *nhoff); in bond_flow_ip()
3738 iph_to_flow_copy_v6addrs(fk, iph6); in bond_flow_ip()
3739 *nhoff += sizeof(*iph6); in bond_flow_ip()
3740 *ip_proto = iph6->nexthdr; in bond_flow_ip()

Completed in 41 milliseconds