Lines Matching refs:vlan_hdr
1015 struct vlan_ethhdr *vlan_hdr; in fnic_eth_send() local
1020 vlan_hdr = skb_push(skb, sizeof(*vlan_hdr) - sizeof(*eth_hdr)); in fnic_eth_send()
1021 memcpy(vlan_hdr, eth_hdr, 2 * ETH_ALEN); in fnic_eth_send()
1022 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
1023 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send()
1024 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1069 struct vlan_ethhdr *vlan_hdr; in fnic_send_frame() local
1084 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame()
1085 vlan_hdr = skb_push(skb, eth_hdr_len); in fnic_send_frame()
1086 eth_hdr = (struct ethhdr *)vlan_hdr; in fnic_send_frame()
1087 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
1088 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
1089 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
1090 fcoe_hdr = (struct fcoe_hdr *)(vlan_hdr + 1); in fnic_send_frame()