Searched refs:src_mac_count (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
H A D | pktgen.c | 359 __u32 src_mac_count; /* How many MACs to iterate through */ member 608 " src_mac_count: %d dst_mac_count: %d\n", in pktgen_if_show() 609 pkt_dev->src_mac_count, pkt_dev->dst_mac_count); in pktgen_if_show() 1109 if (!strcmp(name, "src_mac_count")) { in pktgen_if_write() 1115 if (pkt_dev->src_mac_count != value) { in pktgen_if_write() 1116 pkt_dev->src_mac_count = value; in pktgen_if_write() 1119 sprintf(pg_result, "OK: src_mac_count=%d", in pktgen_if_write() 1120 pkt_dev->src_mac_count); in pktgen_if_write() 2302 if (pkt_dev->src_mac_count > 1) { in mod_cur_headers() 2307 mc = prandom_u32() % pkt_dev->src_mac_count; in mod_cur_headers() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | pktgen.c | 374 __u32 src_mac_count; /* How many MACs to iterate through */ member 632 " src_mac_count: %d dst_mac_count: %d\n", in pktgen_if_show() 633 pkt_dev->src_mac_count, pkt_dev->dst_mac_count); in pktgen_if_show() 1221 if (!strcmp(name, "src_mac_count")) { in pktgen_if_write() 1227 if (pkt_dev->src_mac_count != value) { in pktgen_if_write() 1228 pkt_dev->src_mac_count = value; in pktgen_if_write() 1231 sprintf(pg_result, "OK: src_mac_count=%d", in pktgen_if_write() 1232 pkt_dev->src_mac_count); in pktgen_if_write() 2408 if (pkt_dev->src_mac_count > 1) { in mod_cur_headers() 2413 mc = get_random_u32_below(pkt_dev->src_mac_count); in mod_cur_headers() [all...] |
Completed in 8 milliseconds