Lines Matching refs:flows
375 struct flow_state *flows; member
2185 return !!(pkt_dev->flows[flow].flags & F_INIT); in f_seen()
2193 if (pkt_dev->flows[flow].count >= pkt_dev->lflow) { in f_pick()
2195 pkt_dev->flows[flow].count = 0; in f_pick()
2196 pkt_dev->flows[flow].flags = 0; in f_pick()
2205 if (pkt_dev->flows[flow].count > pkt_dev->lflow) { in f_pick()
2206 pkt_dev->flows[flow].count = 0; in f_pick()
2207 pkt_dev->flows[flow].flags = 0; in f_pick()
2222 struct xfrm_state *x = pkt_dev->flows[flow].x; in get_ipsec_sa()
2232 pkt_dev->flows[flow].x = x; in get_ipsec_sa()
2390 pkt_dev->cur_daddr = pkt_dev->flows[flow].cur_daddr; in mod_cur_headers()
2421 pkt_dev->flows[flow].flags |= F_INIT; in mod_cur_headers()
2422 pkt_dev->flows[flow].cur_daddr = in mod_cur_headers()
2467 pkt_dev->flows[flow].count++; in mod_cur_headers()
2474 struct xfrm_state *x = pkt_dev->flows[pkt_dev->curfl].x; in pktgen_output_ipsec()
2506 struct xfrm_state *x = pkt_dev->flows[i].x; in free_SAs()
2509 pkt_dev->flows[i].x = NULL; in free_SAs()
2519 struct xfrm_state *x = pkt_dev->flows[pkt_dev->curfl].x; in process_ipsec()
3559 pkt_dev->flows = vzalloc_node(MAX_CFLOWS * sizeof(struct flow_state), in pktgen_add_device()
3561 if (pkt_dev->flows == NULL) { in pktgen_add_device()
3611 vfree(pkt_dev->flows); in pktgen_add_device()
3711 vfree(pkt_dev->flows); in pktgen_remove_device()