Lines Matching refs:vlan_hdr
1034 struct vlan_ethhdr *vlan_hdr; in fnic_eth_send() local
1039 vlan_hdr = skb_push(skb, sizeof(*vlan_hdr) - sizeof(*eth_hdr)); in fnic_eth_send()
1040 memcpy(vlan_hdr, eth_hdr, 2 * ETH_ALEN); in fnic_eth_send()
1041 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
1042 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send()
1043 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1088 struct vlan_ethhdr *vlan_hdr; in fnic_send_frame() local
1103 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame()
1104 vlan_hdr = skb_push(skb, eth_hdr_len); in fnic_send_frame()
1105 eth_hdr = (struct ethhdr *)vlan_hdr; in fnic_send_frame()
1106 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
1107 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
1108 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
1109 fcoe_hdr = (struct fcoe_hdr *)(vlan_hdr + 1); in fnic_send_frame()