Searched refs:HTONS (Results 1 – 5 of 5) 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
351 #define HTONS(x) (x) = htons((__uint16_t)(x)) macro
2118 HTONS(*virtual_type); in pf_icmp_mapping()2185 HTONS(*virtual_type); in pf_icmp_mapping()2200 HTONS(*virtual_type); in pf_icmp_mapping()3469 HTONS(mss); in pf_build_tcp()