Lines Matching refs:pktlen
1480 bpf_deliver(struct bpf_d *d, cp_fn_t cpfn, void *marg, uint_t pktlen, in bpf_deliver() argument
1494 slen = bpf_filter(d->bd_filter, marg, pktlen, buflen); in bpf_deliver()
1496 struct bpf_d *, d, void *, marg, uint_t, pktlen, uint_t, slen); in bpf_deliver()
1501 catchpacket(d, marg, pktlen, slen, cpfn, &tv); in bpf_deliver()
1515 uint_t pktlen, buflen; in bpf_mtap() local
1518 pktlen = msgdsize(m); in bpf_mtap()
1520 if (pktlen == M_LEN(m)) { in bpf_mtap()
1523 buflen = pktlen; in bpf_mtap()
1530 bpf_deliver(d, cpfn, marg, pktlen, buflen, issent); in bpf_mtap()
1563 catchpacket(struct bpf_d *d, uchar_t *pkt, uint_t pktlen, uint_t snaplen, in catchpacket() argument
1579 totlen = hdrlen + min(snaplen, pktlen); in catchpacket()
1621 hp->bh_datalen = pktlen; in catchpacket()