Searched refs:SET_NET_USHORT (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ |
H A D | gldutil.c | 401 SET_NET_USHORT(*(uint16_t *)nmp->b_rptr, typelen); in gld_unitdata_ether() 404 SET_NET_USHORT(*(uint16_t *)nmp->b_rptr, vptag); in gld_unitdata_ether() 407 SET_NET_USHORT(*(uint16_t *)nmp->b_rptr, vptag); in gld_unitdata_ether() 468 SET_NET_USHORT(evhp->ether_tci, vtag); in gld_insert_vtag_ether() 470 SET_NET_USHORT(evhp->ether_tpid, vtag); in gld_insert_vtag_ether() 528 SET_NET_USHORT(*(uint16_t *)nmp->b_rptr, typelen); in gld_fastpath_ether() 536 SET_NET_USHORT(*(uint16_t *)nmp->b_rptr, vptag); in gld_fastpath_ether() 539 SET_NET_USHORT(*(uint16_t *)nmp->b_rptr, vptag); in gld_fastpath_ether() 850 SET_NET_USHORT(gldp->ipoib_rhdr.ipoib_type, type); in gld_unitdata_ib() 1116 SET_NET_USHORT(snap->type, type); in gld_unitdata_fddi() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | gldpriv.h | 445 #define SET_NET_USHORT(lvalue, val) ((lvalue) = htons(val)) macro 453 #define SET_NET_USHORT(lvalue, val) { \ macro
|