Lines Matching refs:vlan_hdr
994 struct vlan_ethhdr *vlan_hdr; in fnic_eth_send() local
1000 vlan_hdr = (struct vlan_ethhdr *)skb_push(skb, in fnic_eth_send()
1001 sizeof(*vlan_hdr) - sizeof(*eth_hdr)); in fnic_eth_send()
1002 memcpy(vlan_hdr, eth_hdr, 2 * ETH_ALEN); in fnic_eth_send()
1003 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
1004 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send()
1005 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1051 struct vlan_ethhdr *vlan_hdr; in fnic_send_frame() local
1066 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame()
1067 vlan_hdr = (struct vlan_ethhdr *)skb_push(skb, eth_hdr_len); in fnic_send_frame()
1068 eth_hdr = (struct ethhdr *)vlan_hdr; in fnic_send_frame()
1069 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
1070 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
1071 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
1072 fcoe_hdr = (struct fcoe_hdr *)(vlan_hdr + 1); in fnic_send_frame()