Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c406 nhdrp->sbh_msglen = ntohl(hdrp->sbh_msglen); in scan()
422 (nhdrp->sbh_msglen == 0) || in scan()
423 (bp + nhdrp->sbh_msglen) < bp || in scan()
424 (bp + nhdrp->sbh_msglen) > bufstop || in scan()
425 (nhdrp->sbh_msglen > nhdrp->sbh_origlen) || in scan()
426 (nhdrp->sbh_totlen < nhdrp->sbh_msglen) || in scan()
446 if (pktp + nhdrp->sbh_msglen > bufstop) { in scan()
448 nhdrp->sbh_msglen = bufstop - pktp; in scan()
453 corrupt(pktp, pktp + nhdrp->sbh_msglen, buf, bufstop); in scan()
459 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()
/illumos-gate/usr/src/uts/common/sys/
H A Dbufmod.h121 uint_t sbh_msglen; member
/illumos-gate/usr/src/uts/common/io/
H A Dbufmod.c976 hp.sbh_totlen = hp.sbh_msglen = sbp->sb_snap; in sbaddmsg()
978 hp.sbh_totlen = hp.sbh_msglen = origlen; in sbaddmsg()