Home
last modified time | relevance | path

Searched refs:dst_mac_count (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dpktgen.c360 __u32 dst_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()
1123 if (!strcmp(name, "dst_mac_count")) { in pktgen_if_write()
1129 if (pkt_dev->dst_mac_count != value) { in pktgen_if_write()
1130 pkt_dev->dst_mac_count = value; in pktgen_if_write()
1133 sprintf(pg_result, "OK: dst_mac_count=%d", in pktgen_if_write()
1134 pkt_dev->dst_mac_count); in pktgen_if_write()
2328 if (pkt_dev->dst_mac_count > 1) { in mod_cur_headers()
2333 mc = prandom_u32() % pkt_dev->dst_mac_count; in mod_cur_headers()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dpktgen.c375 __u32 dst_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()
1235 if (!strcmp(name, "dst_mac_count")) { in pktgen_if_write()
1241 if (pkt_dev->dst_mac_count != value) { in pktgen_if_write()
1242 pkt_dev->dst_mac_count = value; in pktgen_if_write()
1245 sprintf(pg_result, "OK: dst_mac_count=%d", in pktgen_if_write()
1246 pkt_dev->dst_mac_count); in pktgen_if_write()
2434 if (pkt_dev->dst_mac_count > 1) { in mod_cur_headers()
2439 mc = get_random_u32_below(pkt_dev->dst_mac_count); in mod_cur_headers()
[all...]

Completed in 8 milliseconds