Searched refs:vlan_hdr (Results 1 – 2 of 2) sorted by relevance
72 struct _vlan_hdr *vlan_hdr; in parse_eth_frame() local74 vlan_hdr = (void *)eth + offset; in parse_eth_frame()76 pkt->vlan_outer = bpf_ntohs(vlan_hdr->h_vlan_TCI) in parse_eth_frame()78 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth_frame()79 offset += sizeof(*vlan_hdr); in parse_eth_frame()85 struct _vlan_hdr *vlan_hdr; in parse_eth_frame() local87 vlan_hdr = (void *)eth + offset; in parse_eth_frame()89 pkt->vlan_inner = bpf_ntohs(vlan_hdr->h_vlan_TCI) in parse_eth_frame()91 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth_frame()92 offset += sizeof(*vlan_hdr); in parse_eth_frame()[all …]
43 struct vlan_hdr { struct391 struct vlan_hdr *vlan, _vlan; in PROG()