Searched refs:sbh_totlen (Results 1 – 3 of 3) sorted by relevance
347 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 …]
974 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 …]
124 uint_t sbh_totlen; member