Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c347 for (bp = buf; bp < bufstop; bp += nhdrp->sbh_totlen) { in scan()
384 nhdrp->sbh_totlen = ntohl(hdrp->sbh_totlen); in scan()
394 if ((nhdrp->sbh_totlen == 0) || in scan()
395 (bp + nhdrp->sbh_totlen) < bp || in scan()
396 (bp + nhdrp->sbh_totlen) > bufstop || in scan()
403 (nhdrp->sbh_totlen < nhdrp->sbh_msglen) || in scan()
413 bp - buf, nhdrp->sbh_totlen); in scan()
483 nhdrp->sbh_totlen = 0; in scan()
710 pktlen = hdrp->sbh_totlen - sizeof (*hdrp); in cap_write()
717 nhdr.sbh_totlen = htonl(hdrp->sbh_totlen); in cap_write()
[all …]
/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()
984 if ((hp.sbh_totlen + sbp->sb_mlen) > sbp->sb_chunk) in sbaddmsg()
990 if (hp.sbh_totlen > sbp->sb_chunk) { in sbaddmsg()
1010 sbp->sb_mlen += hp.sbh_totlen; in sbaddmsg()
1017 pad = Align(hp.sbh_totlen); in sbaddmsg()
1018 hp.sbh_totlen += sizeof (hp); in sbaddmsg()
1019 hp.sbh_totlen += pad; in sbaddmsg()
1025 if ((hp.sbh_totlen + sbp->sb_mlen) > sbp->sb_chunk) in sbaddmsg()
1062 sbp->sb_mlen += hp.sbh_totlen; in sbaddmsg()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dbufmod.h124 uint_t sbh_totlen; member