Lines Matching refs:htons
358 vlan->eth.h_proto = htons(ETH_P_FIP); in fnic_fcoe_send_vlan_req()
361 vlan->fip.fip_op = htons(FIP_OP_VLAN); in fnic_fcoe_send_vlan_req()
363 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in fnic_fcoe_send_vlan_req()
375 skb->protocol = htons(ETH_P_FIP); in fnic_fcoe_send_vlan_req()
595 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_handle_fip_frame()
638 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
643 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_import_rq_eth_pkt()
658 if (eh->h_proto != htons(ETH_P_FCOE)) in fnic_import_rq_eth_pkt()
990 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
992 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send()
1047 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
1048 vlan_hdr->h_vlan_encapsulated_proto = htons(ETH_P_FCOE); in fnic_send_frame()
1049 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_send_frame()
1054 eth_hdr->h_proto = htons(ETH_P_FCOE); in fnic_send_frame()