Lines Matching refs:mbuf
88 #include <sys/mbuf.h>
195 struct mbuf **, struct sockaddr *, int *);
210 static int bpf_tap_callback(struct ifnet *ifp, struct mbuf *m);
246 bpf_movein(struct uio *uio, int linktype, struct mbuf **mp, struct sockaddr *sockp, int *datlen)
248 struct mbuf *m;
327 * Also, we are careful to leave room at the front of the mbuf
828 struct mbuf *m = NULL;
891 * The driver frees the mbuf.
1480 * Copy data from an mbuf chain into a buffer. This code is derived
1486 struct mbuf *m = _cast_non_const(src_arg);
1539 struct mbuf *m0;
1543 * This is gross. We mock up an mbuf that points to the
1546 * for bpf by allocating an mbuf on the stack. We want to
1548 * Since a developer allocating an mbuf on the stack is bad,
1552 * in the mbuf other than the header. This was true at the
1608 static int bpf_tap_callback(struct ifnet *ifp, struct mbuf *m)
1620 * bpf_mcopy is passed in to copy mbuf chains. In the latter case,
1621 * pkt is really an mbuf.