Lines Matching refs:mbuf
74 #include <sys/mbuf.h>
639 hash_pkt(struct mbuf *m, uint32_t offset)
647 * The IP packet payload does not start in this mbuf, so
648 * need to figure out which mbuf it starts in and what offset
649 * into the mbuf's data region the payload starts at.
656 /* Ensure there is data in the mbuf */
669 * Check if a given mbuf has the SIFTR mbuf tag. If it does, log the fact that
670 * it's a reinjected packet and return. If it doesn't, tag the mbuf and return.
671 * Return value >0 means the caller should skip processing this mbuf.
674 siftr_chkreinject(struct mbuf *m, int dir, struct siftr_stats *ss)
707 siftr_findinpcb(int ipver, struct ip *ip, struct mbuf *m, uint16_t sport,
830 siftr_chkpkt(struct mbuf **m, struct ifnet *ifp, int flags,
951 * packet mbuf down the stack. The trick here is that
968 * NB: in_cksum_skip(struct mbuf *m, int len, int skip)
970 * bytes to read from the mbuf at "skip" bytes offset
971 * from the start of the mbuf (very counter intuitive!).
980 * the mbuf cluster "at" at offset "offset" bytes from
981 * the beginning of the "at" mbuf's data pointer.
1011 siftr_chkpkt6(struct mbuf **m, struct ifnet *ifp, int flags, struct inpcb *inp)