Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/sfe/
H A Dsfe_util.c88 #define GET_NET16(p) ((((uint8_t *)(p))[0] << 8)| ((uint8_t *)(p))[1]) macro
89 #define GET_ETHERTYPE(p) GET_NET16(((uint8_t *)(p)) + ETHERADDRL*2)
271 sprintf(bp, " vtag:0x%04x", GET_NET16(&p[14])); in gem_dump_packet()
307 iplen = GET_NET16(&p[2]); in gem_dump_packet()
329 tcplen, GET_NET16(&p[16])); in gem_dump_packet()
340 udplen = GET_NET16(&p[4]); in gem_dump_packet()
342 udplen, GET_NET16(&p[6])); in gem_dump_packet()
345 if (GET_NET16(&p[6]) && check_cksum) { in gem_dump_packet()
1410 if (GET_NET16(&bp[VTAG_OFF]) == VTAG_TPID) { in gem_txbuf_options()
1412 vtag = GET_NET16(&bp[VTAG_OFF + 2]); in gem_txbuf_options()
[all …]