Home
last modified time | relevance | path

Searched refs:NTOHS (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/tools/tools/netmap/
H A Dpkt_hash.h51 #define NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ macro
/freebsd-13.1/sys/dev/ice/
H A Dice_dcb.c425 typelen = NTOHS(tlv->typelen); in ice_parse_ieee_app_tlv()
597 typelen = NTOHS(tlv->hdr.typelen); in ice_parse_cee_app_tlv()
630 dcbcfg->app[i].prot_id = NTOHS(app->protocol); in ice_parse_cee_app_tlv()
659 typelen = NTOHS(tlv->typelen); in ice_parse_cee_tlv()
671 typelen = NTOHS(sub_tlv->hdr.typelen); in ice_parse_cee_tlv()
747 typelen = NTOHS(tlv->typelen); in ice_lldp_to_dcb_cfg()
1670 typelen = NTOHS(tlv->typelen); in ice_dcb_cfg_to_lldp()
H A Dice_osdep.h308 #define NTOHS ntohs macro
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_osfp.c162 NTOHS(fp.fp_mss); in pf_osfp_fingerprint_hdr()
168 NTOHS(fp.fp_wscale); in pf_osfp_fingerprint_hdr()
H A Dpf.c3195 NTOHS(a1); in pf_match_port()
3196 NTOHS(a2); in pf_match_port()
3197 NTOHS(p); in pf_match_port()
3558 NTOHS(mss); in pf_get_mss()
/freebsd-13.1/contrib/libpcap/
H A Dnametoaddr.c148 #define NTOHS(x) (x) = ntohs(x) macro
/freebsd-13.1/contrib/tcpdump/
H A Daddrtoname.c639 NTOHS(port); in etherproto_string()
770 NTOHS(port); in ipxsap_string()
H A Dnetdissect.h275 #define NTOHS(x) (x) = ntohs(x) macro
/freebsd-13.1/sys/net/
H A Dpfvar.h309 #define NTOHS(x) (x) = ntohs((__uint16_t)(x)) macro
/freebsd-13.1/contrib/ipfilter/
H A DHISTORY1344 fixed mclput panic in ip_input.c and replace ntohs() with NTOHS() macro