Lines Matching refs:htons
353 vlan->eth.h_proto = htons(ETH_P_FIP); in fnic_fcoe_send_vlan_req()
356 vlan->fip.fip_op = htons(FIP_OP_VLAN); in fnic_fcoe_send_vlan_req()
358 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in fnic_fcoe_send_vlan_req()
370 skb->protocol = htons(ETH_P_FIP); in fnic_fcoe_send_vlan_req()
590 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_handle_fip_frame()
633 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
638 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_import_rq_eth_pkt()
653 if (eh->h_proto != htons(ETH_P_FCOE)) in fnic_import_rq_eth_pkt()
985 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
987 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1042 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
1043 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
1044 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
1049 eth_hdr->h_proto = htons(ETH_P_FCOE); in fnic_send_frame()