Lines Matching refs:pf_fragment
92 struct pf_fragment { struct
93 RB_ENTRY(pf_fragment) fr_entry;
94 TAILQ_ENTRY(pf_fragment) frag_next;
110 TAILQ_HEAD(pf_fragqueue, pf_fragment) pf_fragqueue; argument
111 TAILQ_HEAD(pf_cachequeue, pf_fragment) pf_cachequeue;
113 static __inline int pf_frag_compare(struct pf_fragment *,
114 struct pf_fragment *);
115 RB_HEAD(pf_frag_tree, pf_fragment) pf_frag_tree, pf_cache_tree;
116 RB_PROTOTYPE(pf_frag_tree, pf_fragment, fr_entry, pf_frag_compare);
117 RB_GENERATE(pf_frag_tree, pf_fragment, fr_entry, pf_frag_compare);
120 void pf_ip2key(struct pf_fragment *, struct ip *);
121 void pf_remove_fragment(struct pf_fragment *);
123 void pf_free_fragment(struct pf_fragment *);
124 struct pf_fragment *pf_find_fragment(struct ip *, struct pf_frag_tree *);
125 struct mbuf *pf_reassemble(struct mbuf **, struct pf_fragment **,
128 struct pf_fragment **, int, int, int *);
150 pool_init(&pf_frag_pl, sizeof(struct pf_fragment), 0, 0, 0, "pffrag", in pf_normalize_init()
152 pool_init(&pf_cache_pl, sizeof(struct pf_fragment), 0, 0, 0, in pf_normalize_init()
161 pool_init(&pf_frag_pl, sizeof(struct pf_fragment), 0, 0, 0, "pffrag", in pf_normalize_init()
163 pool_init(&pf_cache_pl, sizeof(struct pf_fragment), 0, 0, 0, in pf_normalize_init()
193 pf_frag_compare(struct pf_fragment *a, struct pf_fragment *b) in pf_frag_compare()
215 struct pf_fragment *frag; in pf_purge_expired_fragments()
247 struct pf_fragment *frag; in pf_flush_fragments()
275 pf_free_fragment(struct pf_fragment *frag) in pf_free_fragment()
308 pf_ip2key(struct pf_fragment *key, struct ip *ip) in pf_ip2key()
316 struct pf_fragment *
319 struct pf_fragment key; in pf_find_fragment()
320 struct pf_fragment *frag; in pf_find_fragment()
343 pf_remove_fragment(struct pf_fragment *frag) in pf_remove_fragment()
358 pf_reassemble(struct mbuf **m0, struct pf_fragment **frag, in pf_reassemble()
560 pf_fragcache(struct mbuf **m0, struct ip *h, struct pf_fragment **frag, int mff, in pf_fragcache()
862 struct pf_fragment *frag = NULL;