ip_flow.c | 90 #define IPFLOW_INSERT(hashidx, ipf) \ 92 (ipf)->ipf_hashidx = (hashidx); \ 93 TAILQ_INSERT_HEAD(&ipflowtable[(hashidx)], (ipf), ipf_hash); \ 94 TAILQ_INSERT_HEAD(&ipflowlist, (ipf), ipf_list); \ 97 #define IPFLOW_REMOVE(hashidx, ipf) \ 99 TAILQ_REMOVE(&ipflowtable[(hashidx)], (ipf), ipf_hash); \ 100 TAILQ_REMOVE(&ipflowlist, (ipf), ipf_list); \ 134 struct ipflow *ipf; local in function:ipflow_lookup 140 TAILQ_FOREACH(ipf, &ipflowtable[hash], ipf_hash) { 141 if (ip->ip_dst.s_addr == ipf->ipf_dst.s_add 207 struct ipflow *ipf; local in function:ipflow_fastforward 410 struct ipflow *ipf; local in function:ipflow_reap 479 struct ipflow *ipf, *next_ipf; local in function:ipflow_slowtimo_work 524 struct ipflow *ipf; local in function:ipflow_create 584 struct ipflow *ipf, *next_ipf; local in function:ipflow_invalidate_all [all...] |