-
- /*
- * Pull packet off interface. Off is nonzero if packet
- * has trailing header; leget will then force this header
- * information to be at the front, but we still have to drop
- * the type and length which are at the front of any trailer data.
- * The hdrmp and tailmp pointers are used by lebpf_tap() to
- * temporarily reorder the mbuf list. See the comment at the beginning
- * of lebpf_tap() for all the ugly details.
- */
- m = leget(le, buf, len, off, &le->sc_if, &hdrmp, &tailmp);
- if (m == 0)
- return;