Searched refs:HTONS (Results 1 – 4 of 4) sorted by relevance
48 #define HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ macro
1366 tlv->typelen = HTONS(typelen); in ice_add_ieee_ets_tlv() 1407 tlv->typelen = HTONS(typelen); in ice_add_ieee_etsrec_tlv() 1436 tlv->typelen = HTONS(typelen); in ice_add_ieee_pfc_tlv() 1506 tlv->typelen = HTONS(typelen); in ice_add_ieee_app_pri_tlv() 1524 tlv->typelen = HTONS(typelen); in ice_add_dscp_up_tlv() 1559 tlv->typelen = HTONS(typelen); in ice_add_dscp_enf_tlv() 1587 tlv->typelen = HTONS(typelen); in ice_add_dscp_tc_bw_tlv() 1632 tlv->typelen = HTONS(typelen); in ice_add_dscp_pfc_tlv()
311 #define HTONS htons macro
353 #define HTONS(x) (x) = htons((__uint16_t)(x)) macro