Lines Matching refs:vlan_hdr
1025 struct vlan_ethhdr *vlan_hdr; in fnic_eth_send() local
1030 vlan_hdr = skb_push(skb, sizeof(*vlan_hdr) - sizeof(*eth_hdr)); in fnic_eth_send()
1031 memcpy(vlan_hdr, eth_hdr, 2 * ETH_ALEN); in fnic_eth_send()
1032 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
1033 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send()
1034 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1079 struct vlan_ethhdr *vlan_hdr; in fnic_send_frame() local
1094 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame()
1095 vlan_hdr = skb_push(skb, eth_hdr_len); in fnic_send_frame()
1096 eth_hdr = (struct ethhdr *)vlan_hdr; in fnic_send_frame()
1097 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
1098 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
1099 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
1100 fcoe_hdr = (struct fcoe_hdr *)(vlan_hdr + 1); in fnic_send_frame()