Lines Matching refs:pktgen_dev

243 struct pktgen_dev {  struct
449 static int pktgen_remove_device(struct pktgen_thread *t, struct pktgen_dev *i);
451 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t,
459 static void pktgen_clear_counters(struct pktgen_dev *pkt_dev);
535 const struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_show()
830 static ssize_t get_labels(const char __user *buffer, struct pktgen_dev *pkt_dev) in get_labels()
864 struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_write()
1810 const struct pktgen_dev *pkt_dev; in pktgen_thread_show()
1946 static struct pktgen_dev *__pktgen_NN_threads(const struct pktgen_net *pn, in __pktgen_NN_threads()
1950 struct pktgen_dev *pkt_dev = NULL; in __pktgen_NN_threads()
1971 struct pktgen_dev *pkt_dev = NULL; in pktgen_mark_device()
2006 struct pktgen_dev *pkt_dev; in pktgen_change_name()
2055 struct pktgen_dev *pkt_dev, in pktgen_dev_get_by_name()
2076 struct pktgen_dev *pkt_dev, const char *ifname) in pktgen_setup_dev()
2111 static void pktgen_setup_inject(struct pktgen_dev *pkt_dev) in pktgen_setup_inject()
2238 static void spin(struct pktgen_dev *pkt_dev, ktime_t spin_until) in spin()
2279 static inline void set_pkt_overhead(struct pktgen_dev *pkt_dev) in set_pkt_overhead()
2287 static inline int f_seen(const struct pktgen_dev *pkt_dev, int flow) in f_seen()
2292 static inline int f_pick(struct pktgen_dev *pkt_dev) in f_pick()
2324 static void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow) in get_ipsec_sa()
2353 static void set_cur_queue_map(struct pktgen_dev *pkt_dev) in set_cur_queue_map()
2379 static void mod_cur_headers(struct pktgen_dev *pkt_dev) in mod_cur_headers()
2584 static int pktgen_output_ipsec(struct sk_buff *skb, struct pktgen_dev *pkt_dev) in pktgen_output_ipsec()
2623 static void free_SAs(struct pktgen_dev *pkt_dev) in free_SAs()
2638 static int process_ipsec(struct pktgen_dev *pkt_dev, in process_ipsec()
2684 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push()
2700 static void pktgen_finalize_skb(struct pktgen_dev *pkt_dev, struct sk_buff *skb, in pktgen_finalize_skb()
2772 struct pktgen_dev *pkt_dev, in pktgen_alloc_skb()
2798 struct pktgen_dev *pkt_dev) in fill_packet_ipv4()
2927 struct pktgen_dev *pkt_dev) in fill_packet_ipv6()
3056 struct pktgen_dev *pkt_dev) in fill_packet()
3064 static void pktgen_clear_counters(struct pktgen_dev *pkt_dev) in pktgen_clear_counters()
3077 struct pktgen_dev *pkt_dev; in pktgen_run()
3124 const struct pktgen_dev *pkt_dev; in thread_is_running()
3209 static void show_results(struct pktgen_dev *pkt_dev, int nr_frags) in show_results()
3239 static int pktgen_stop_device(struct pktgen_dev *pkt_dev) in pktgen_stop_device()
3259 static struct pktgen_dev *next_to_run(struct pktgen_thread *t) in next_to_run()
3261 struct pktgen_dev *pkt_dev, *best = NULL; in next_to_run()
3279 struct pktgen_dev *pkt_dev; in pktgen_stop()
3299 struct pktgen_dev *cur; in pktgen_rem_one_if()
3304 cur = list_entry(q, struct pktgen_dev, list); in pktgen_rem_one_if()
3321 struct pktgen_dev *cur; in pktgen_rem_all_ifs()
3328 cur = list_entry(q, struct pktgen_dev, list); in pktgen_rem_all_ifs()
3343 static void pktgen_resched(struct pktgen_dev *pkt_dev) in pktgen_resched()
3350 static void pktgen_wait_for_skb(struct pktgen_dev *pkt_dev) in pktgen_wait_for_skb()
3366 static void pktgen_xmit(struct pktgen_dev *pkt_dev) in pktgen_xmit()
3506 struct pktgen_dev *pkt_dev = NULL; in pktgen_thread_worker()
3575 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t, in pktgen_find_dev()
3578 struct pktgen_dev *p, *pkt_dev = NULL; in pktgen_find_dev()
3602 struct pktgen_dev *pkt_dev) in add_dev_to_thread()
3633 struct pktgen_dev *pkt_dev; in pktgen_add_device()
3645 pkt_dev = kzalloc_node(sizeof(struct pktgen_dev), GFP_KERNEL, node); in pktgen_add_device()
3774 struct pktgen_dev *pkt_dev) in _rem_dev_from_if_list()
3777 struct pktgen_dev *p; in _rem_dev_from_if_list()
3781 p = list_entry(q, struct pktgen_dev, list); in _rem_dev_from_if_list()
3789 struct pktgen_dev *pkt_dev) in pktgen_remove_device()