Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c383 nhdrp->sbh_msglen = ntohl(hdrp->sbh_msglen); in scan()
399 (nhdrp->sbh_msglen == 0) || in scan()
400 (bp + nhdrp->sbh_msglen) < bp || in scan()
401 (bp + nhdrp->sbh_msglen) > bufstop || in scan()
402 (nhdrp->sbh_msglen > nhdrp->sbh_origlen) || in scan()
403 (nhdrp->sbh_totlen < nhdrp->sbh_msglen) || in scan()
423 if (pktp + nhdrp->sbh_msglen > bufstop) { in scan()
425 nhdrp->sbh_msglen = bufstop - pktp; in scan()
430 corrupt(pktp, pktp + nhdrp->sbh_msglen, buf, bufstop); in scan()
436 nhdrp->sbh_msglen, in scan()
[all …]
H A Dsnoop_display.c92 pktlen = hdrp->sbh_msglen; in process_pkt()
110 (*interface->interpreter)(flags, dlc_header, hdrp->sbh_msglen, in process_pkt()
117 offset = MIN(x_offset, hdrp->sbh_msglen); in process_pkt()
119 length = MIN(hdrp->sbh_msglen - offset, x_length); in process_pkt()
/titanic_41/usr/src/uts/common/sys/
H A Dbufmod.h123 uint_t sbh_msglen; member
/titanic_41/usr/src/uts/common/io/
H A Dbufmod.c974 hp.sbh_totlen = hp.sbh_msglen = sbp->sb_snap; in sbaddmsg()
976 hp.sbh_totlen = hp.sbh_msglen = origlen; in sbaddmsg()