Lines Matching refs:pf_fragment

115 struct pf_fragment {
116 RB_ENTRY(pf_fragment) fr_entry;
117 TAILQ_ENTRY(pf_fragment) frag_next;
139 static TAILQ_HEAD(pf_fragqueue, pf_fragment) pf_fragqueue;
140 static TAILQ_HEAD(pf_cachequeue, pf_fragment) pf_cachequeue;
142 static __inline int pf_frag_compare(struct pf_fragment *,
143 struct pf_fragment *);
144 static RB_HEAD(pf_frag_tree, pf_fragment) pf_frag_tree, pf_cache_tree;
145 RB_PROTOTYPE_SC(__private_extern__, pf_frag_tree, pf_fragment, fr_entry,
147 RB_GENERATE(pf_frag_tree, pf_fragment, fr_entry, pf_frag_compare);
150 static void pf_ip6hdr2key(struct pf_fragment *, struct ip6_hdr *,
152 static void pf_ip2key(struct pf_fragment *, struct ip *);
153 static void pf_remove_fragment(struct pf_fragment *);
155 static void pf_free_fragment(struct pf_fragment *);
156 static struct pf_fragment *pf_find_fragment_by_key(struct pf_fragment *,
158 static __inline struct pf_fragment *
160 static __inline struct pf_fragment *
163 static struct mbuf *pf_reassemble(struct mbuf **, struct pf_fragment **,
166 struct pf_fragment **, int, int, int *);
167 static struct mbuf *pf_reassemble6(struct mbuf **, struct pf_fragment **,
170 struct ip6_frag *, struct pf_fragment **, int, int, int, int *);
193 pool_init(&pf_frag_pl, sizeof (struct pf_fragment), 0, 0, 0, "pffrag",
195 pool_init(&pf_cache_pl, sizeof (struct pf_fragment), 0, 0, 0,
230 pf_frag_compare(struct pf_fragment *a, struct pf_fragment *b)
308 struct pf_fragment *frag;
364 struct pf_fragment *frag;
392 pf_free_fragment(struct pf_fragment *frag)
425 pf_ip6hdr2key(struct pf_fragment *key, struct ip6_hdr *ip6,
436 pf_ip2key(struct pf_fragment *key, struct ip *ip)
445 static struct pf_fragment *
446 pf_find_fragment_by_key(struct pf_fragment *key, struct pf_frag_tree *tree)
448 struct pf_fragment *frag;
466 static __inline struct pf_fragment *
469 struct pf_fragment key;
474 static __inline struct pf_fragment *
478 struct pf_fragment key;
486 pf_remove_fragment(struct pf_fragment *frag)
501 pf_reassemble(struct mbuf **m0, struct pf_fragment **frag,
697 pf_fragcache(struct mbuf **m0, struct ip *h, struct pf_fragment **frag, int mff,
1000 pf_reassemble6(struct mbuf **m0, struct pf_fragment **frag,
1203 struct pf_fragment **frag, int hlen, int mff, int drop, int *nomem)
1532 struct pf_fragment *frag = NULL;
1812 struct pf_fragment *pff = NULL;