Lines Matching refs:pktgen_dev

263 struct pktgen_dev {  struct
469 static int pktgen_remove_device(struct pktgen_thread *t, struct pktgen_dev *i);
471 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t,
479 static void pktgen_clear_counters(struct pktgen_dev *pkt_dev);
554 const struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_show()
804 static ssize_t get_labels(const char __user *buffer, struct pktgen_dev *pkt_dev) in get_labels()
867 struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_write()
1727 const struct pktgen_dev *pkt_dev; in pktgen_thread_show()
1862 static struct pktgen_dev *__pktgen_NN_threads(const struct pktgen_net *pn, in __pktgen_NN_threads()
1866 struct pktgen_dev *pkt_dev = NULL; in __pktgen_NN_threads()
1887 struct pktgen_dev *pkt_dev = NULL; in pktgen_mark_device()
1924 struct pktgen_dev *pkt_dev; in pktgen_change_name()
1974 struct pktgen_dev *pkt_dev, in pktgen_dev_get_by_name()
1995 struct pktgen_dev *pkt_dev, const char *ifname) in pktgen_setup_dev()
2030 static void pktgen_setup_inject(struct pktgen_dev *pkt_dev) in pktgen_setup_inject()
2157 static void spin(struct pktgen_dev *pkt_dev, ktime_t spin_until) in spin()
2198 static inline void set_pkt_overhead(struct pktgen_dev *pkt_dev) in set_pkt_overhead()
2206 static inline int f_seen(const struct pktgen_dev *pkt_dev, int flow) in f_seen()
2211 static inline int f_pick(struct pktgen_dev *pkt_dev) in f_pick()
2243 static void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow) in get_ipsec_sa()
2272 static void set_cur_queue_map(struct pktgen_dev *pkt_dev) in set_cur_queue_map()
2298 static void mod_cur_headers(struct pktgen_dev *pkt_dev) in mod_cur_headers()
2503 static int pktgen_output_ipsec(struct sk_buff *skb, struct pktgen_dev *pkt_dev) in pktgen_output_ipsec()
2542 static void free_SAs(struct pktgen_dev *pkt_dev) in free_SAs()
2557 static int process_ipsec(struct pktgen_dev *pkt_dev, in process_ipsec()
2603 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push()
2619 static void pktgen_finalize_skb(struct pktgen_dev *pkt_dev, struct sk_buff *skb, in pktgen_finalize_skb()
2699 struct pktgen_dev *pkt_dev) in pktgen_alloc_skb()
2726 struct pktgen_dev *pkt_dev) in fill_packet_ipv4()
2854 struct pktgen_dev *pkt_dev) in fill_packet_ipv6()
2984 struct pktgen_dev *pkt_dev) in fill_packet()
2992 static void pktgen_clear_counters(struct pktgen_dev *pkt_dev) in pktgen_clear_counters()
3005 struct pktgen_dev *pkt_dev; in pktgen_run()
3052 const struct pktgen_dev *pkt_dev; in thread_is_running()
3137 static void show_results(struct pktgen_dev *pkt_dev, int nr_frags) in show_results()
3167 static int pktgen_stop_device(struct pktgen_dev *pkt_dev) in pktgen_stop_device()
3187 static struct pktgen_dev *next_to_run(struct pktgen_thread *t) in next_to_run()
3189 struct pktgen_dev *pkt_dev, *best = NULL; in next_to_run()
3207 struct pktgen_dev *pkt_dev; in pktgen_stop()
3227 struct pktgen_dev *cur; in pktgen_rem_one_if()
3232 cur = list_entry(q, struct pktgen_dev, list); in pktgen_rem_one_if()
3249 struct pktgen_dev *cur; in pktgen_rem_all_ifs()
3256 cur = list_entry(q, struct pktgen_dev, list); in pktgen_rem_all_ifs()
3271 static void pktgen_resched(struct pktgen_dev *pkt_dev) in pktgen_resched()
3278 static void pktgen_wait_for_skb(struct pktgen_dev *pkt_dev) in pktgen_wait_for_skb()
3294 static void pktgen_xmit(struct pktgen_dev *pkt_dev) in pktgen_xmit()
3460 struct pktgen_dev *pkt_dev = NULL; in pktgen_thread_worker()
3529 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t, in pktgen_find_dev()
3532 struct pktgen_dev *p, *pkt_dev = NULL; in pktgen_find_dev()
3556 struct pktgen_dev *pkt_dev) in add_dev_to_thread()
3587 struct pktgen_dev *pkt_dev; in pktgen_add_device()
3599 pkt_dev = kzalloc_node(sizeof(struct pktgen_dev), GFP_KERNEL, node); in pktgen_add_device()
3729 struct pktgen_dev *pkt_dev) in _rem_dev_from_if_list()
3732 struct pktgen_dev *p; in _rem_dev_from_if_list()
3736 p = list_entry(q, struct pktgen_dev, list); in _rem_dev_from_if_list()
3744 struct pktgen_dev *pkt_dev) in pktgen_remove_device()