Searched refs:sbh_totlen (Results 1 – 3 of 3) sorted by relevance
370 for (bp = buf; bp < bufstop; bp += nhdrp->sbh_totlen) { in scan()407 nhdrp->sbh_totlen = ntohl(hdrp->sbh_totlen); in scan()417 if ((nhdrp->sbh_totlen == 0) || in scan()418 (bp + nhdrp->sbh_totlen) < bp || in scan()419 (bp + nhdrp->sbh_totlen) > bufstop || in scan()426 (nhdrp->sbh_totlen < nhdrp->sbh_msglen) || in scan()436 bp - buf, nhdrp->sbh_totlen); in scan()506 nhdrp->sbh_totlen = 0; in scan()817 pktlen = hdrp->sbh_totlen - sizeof (*hdrp); in cap_write()824 nhdr.sbh_totlen = htonl(hdrp->sbh_totlen); in cap_write()[all …]
976 hp.sbh_totlen = hp.sbh_msglen = sbp->sb_snap; in sbaddmsg()978 hp.sbh_totlen = hp.sbh_msglen = origlen; in sbaddmsg()986 if ((hp.sbh_totlen + sbp->sb_mlen) > sbp->sb_chunk) in sbaddmsg()992 if (hp.sbh_totlen > sbp->sb_chunk) { in sbaddmsg()1012 sbp->sb_mlen += hp.sbh_totlen; in sbaddmsg()1019 pad = Align(hp.sbh_totlen); in sbaddmsg()1020 hp.sbh_totlen += sizeof (hp); in sbaddmsg()1023 if ((sbp->sb_mlen + hp.sbh_totlen) > sbp->sb_chunk) in sbaddmsg()1057 sbp->sb_mlen += hp.sbh_totlen; in sbaddmsg()1077 hp.sbh_totlen += pad; in sbaddmsg()
122 uint_t sbh_totlen; member