History

netem: add prng attribute to netem_sched_data

Add prng attribute to struct netem_sched_data and allows setting the seed of the PRNG through netlink using the new TCA_NETEM_PRNG_SEED attribute. The PRNG attribute is not actually used yet.

François Michel committed 3 years ago

Commit 4072d971 parent a5e5b2c2 files · +17 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/pkt_sched.h+1−0
@@ -603,6 +603,7 @@ enum { · 602 unmodified lines
603603 TCA_NETEM_JITTER64,
604604 TCA_NETEM_SLOT,
605605 TCA_NETEM_SLOT_DIST,
606+ TCA_NETEM_PRNG_SEED,
606607 __TCA_NETEM_MAX,
607608 };
608609

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t