Searched refs:l2_hdr (Results 1 – 2 of 2) sorted by relevance
91 __u8 *l2_hdr = NULL; in set_ipv4_csum() 189 l2_hdr = (__u8 *)&h_outer + olen; in __encap_ipv4() 192 *(__u32 *)l2_hdr = mpls_label; in __encap_ipv4() 198 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4() 203 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv4() 206 if (bpf_skb_load_bytes(skb, 0, l2_hdr, ETH_HLEN)) in __encap_ipv4() 258 __u8 *l2_hdr = NULL; in encap_ipv4() 319 l2_hdr = (__u8 *)&h_outer + olen; in __encap_ipv6() 322 *(__u32 *)l2_hdr = mpls_label; in __encap_ipv6() 328 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6() 102 __u8 *l2_hdr = NULL; __encap_ipv4() local 270 __u8 *l2_hdr = NULL; __encap_ipv6() local [all...]
1448 unsigned char *l2_hdr = skb->data; in hns3_set_l2l3l4() local1476 l2_hdr = skb_inner_mac_header(skb); in hns3_set_l2l3l4()1485 l2_len = l3.hdr - l2_hdr; in hns3_set_l2l3l4()