• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/netpfil/pf/

Lines Matching refs:mbuf

41 #include <sys/mbuf.h>
65 struct mbuf *fe_m;
137 static int pf_normalize_tcpopt(struct pf_krule *, struct mbuf *,
152 static struct mbuf *pf_join_fragment(struct pf_fragment *);
154 static void pf_scrub_ip(struct mbuf **, uint32_t, uint8_t, uint8_t);
155 static int pf_reassemble(struct mbuf **, struct ip *, int, u_short *);
158 static int pf_reassemble6(struct mbuf **, struct ip6_hdr *,
160 static void pf_scrub_ip6(struct mbuf **, uint8_t);
713 static struct mbuf *
716 struct mbuf *m, *m2;
746 pf_reassemble(struct mbuf **m0, struct ip *ip, int dir, u_short *reason)
748 struct mbuf *m = *m0;
770 /* The mbuf is part of the fragment entry, no direct free or access */
808 /* PF_DROP requires a valid mbuf *m0 in pf_test() */
819 pf_reassemble6(struct mbuf **m0, struct ip6_hdr *ip6, struct ip6_frag *fraghdr,
822 struct mbuf *m = *m0;
860 /* The mbuf is part of the fragment entry, no direct free or access. */
887 KASSERT(m, ("%s: short mbuf chain", __func__));
919 KASSERT(m, ("%s: short mbuf chain", __func__));
929 /* PF_DROP requires a valid mbuf *m0 in pf_test6(). */
938 /* PF_DROP requires a valid mbuf *m0 in pf_test6(), will free later. */
945 pf_refragment6(struct ifnet *ifp, struct mbuf **m0, struct m_tag *mtag)
947 struct mbuf *m = *m0, *t;
969 KASSERT((m != NULL), ("pf_refragment6: short mbuf chain"));
996 /* The first mbuf contains the unfragmented packet. */
1001 /* Drop expects an mbuf to free. */
1023 pf_normalize_ip(struct mbuf **m0, int dir, struct pfi_kkif *kif, u_short *reason,
1026 struct mbuf *m = *m0;
1122 * Might return a completely reassembled mbuf, or NULL */
1164 pf_normalize_ip6(struct mbuf **m0, int dir, struct pfi_kkif *kif,
1167 struct mbuf *m = *m0;
1298 /* Returns PF_DROP or *m0 is NULL or completely reassembled mbuf. */
1325 pf_normalize_tcp(int dir, struct pfi_kkif *kif, struct mbuf *m, int ipoff,
1444 pf_normalize_tcp_init(struct mbuf *m, int off, struct pf_pdesc *pd,
1536 pf_normalize_tcp_stateful(struct mbuf *m, int off, struct pf_pdesc *pd,
1931 pf_normalize_tcpopt(struct pf_krule *r, struct mbuf *m, struct tcphdr *th,
1988 pf_scrub_ip(struct mbuf **m0, u_int32_t flags, u_int8_t min_ttl, u_int8_t tos)
1990 struct mbuf *m = *m0;
2032 pf_scrub_ip6(struct mbuf **m0, u_int8_t min_ttl)
2034 struct mbuf *m = *m0;