pf_state_key
struct pf_state_key *skw = NULL, *sks = NULL;
struct pf_state_key *sk;
struct pf_state_key *nextsk;
struct pf_state_key *sk;
sk = kmalloc(sizeof(struct pf_state_key), M_PFSTATEKEYPL, pool_flags);
struct pf_state_key **skw, struct pf_state_key **sks,
struct pf_state_key **skp, struct pf_state_key **nkp,
pf_state_insert(struct pfi_kif *kif, struct pf_state_key *skw,
struct pf_state_key *sks, struct pf_state *s)
struct pf_state_key *skey = (void *)key;
struct pf_state_key *sk;
((struct pf_state_key *)m->m_pkthdr.pf.statekey)->reverse) {
sk = ((struct pf_state_key *)m->m_pkthdr.pf.statekey)->reverse;
((struct pf_state_key *)
struct pf_state_key *skey = (void *)key;
struct pf_state_key *sk;
struct pf_state_key *skwp, struct pf_state_key *sksp)
struct pf_state_key *skw, *sks;
struct pf_state_key **, struct pf_state_key **,
struct pf_state_key **, struct pf_state_key **,
struct pf_state_key **, struct pf_state_key **,
struct pf_state_key **, struct pf_state_key **,
struct pf_src_node *, struct pf_state_key *,
struct pf_state_key *, struct pf_state_key *,
struct pf_state_key *, struct mbuf *, int,
struct pf_state_key *, struct pf_state_key *);
struct pf_state_key **skw, struct pf_state_key **sks,
struct pf_state_key **skp, struct pf_state_key **nkp,
static __inline int pf_state_compare_key(struct pf_state_key *,
struct pf_state_key *);
static __inline int pf_state_compare_rkey(struct pf_state_key *,
struct pf_state_key *);
RB_GENERATE(pf_state_tree, pf_state_key, entry, pf_state_compare_key);
RB_GENERATE(pf_state_rtree, pf_state_key, entry, pf_state_compare_rkey);
struct pf_state_key *skw = NULL, *sks = NULL;
struct pf_state_key *sk = NULL, *nk = NULL;
pf_state_hash(struct pf_state_key *sk)
struct pf_pdesc *pd, struct pf_src_node *nsn, struct pf_state_key *skw,
struct pf_state_key *sks, struct pf_state_key *nk, struct pf_state_key *sk,
struct pf_state_key *skt = s->key[PF_SK_WIRE];
struct pf_state_key *sk;
struct pf_state_key *nk = (*state)->key[pd->didx];
struct pf_state_key *nk = (*state)->key[pd->didx];
struct pf_state_key *sk;
struct pf_state_key *nk = (*state)->key[pd->didx];
struct pf_state_key *nk =
struct pf_state_key *nk =
struct pf_state_key *nk =
struct pf_state_key *nk =
struct pf_state_key *nk =
struct pf_state_key *nk = (*state)->key[pd->didx];
pf_state_compare_key(struct pf_state_key *a, struct pf_state_key *b)
pf_state_compare_rkey(struct pf_state_key *a, struct pf_state_key *b)
pf_state_key_attach(struct pf_state_key *sk, struct pf_state *s, int idx)
struct pf_state_key *cur;
struct pf_state_key *
struct pf_state_key *sk;
struct pf_state_key *sk;
RB_HEAD(pf_state_tree, pf_state_key);
RB_PROTOTYPE(pf_state_tree, pf_state_key, entry, pf_state_compare_key);
RB_HEAD(pf_state_rtree, pf_state_key);
RB_PROTOTYPE(pf_state_rtree, pf_state_key, entry, pf_state_compare_rkey);
RB_HEAD(pf_state_tree_ext_gwy, pf_state_key);
RB_PROTOTYPE(pf_state_tree_ext_gwy, pf_state_key,
struct pf_state_key *,
struct pf_state_key *,
u_int32_t pf_state_hash(struct pf_state_key *sk);
struct pf_state_key *pf_alloc_state_key(int);
int pf_state_key_attach(struct pf_state_key *, struct pf_state *, int);
RB_ENTRY(pf_state_key) entry;
struct pf_state_key *reverse;
#define PF_STATE_KEY_HASH_LENGTH offsetof(struct pf_state_key, pad[0])
struct pf_state_key *key[2]; /* addresses stack and wire */