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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -603,6 +603,7 @@ enum { · 602 unmodified lines | |||
| 603 | TCA_NETEM_JITTER64, | 603 | TCA_NETEM_JITTER64, |
| 604 | TCA_NETEM_SLOT, | 604 | TCA_NETEM_SLOT, |
| 605 | TCA_NETEM_SLOT_DIST, | 605 | TCA_NETEM_SLOT_DIST, |
| 606 | TCA_NETEM_PRNG_SEED, | ||
| 606 | __TCA_NETEM_MAX, | 607 | __TCA_NETEM_MAX, |
| 607 | }; | 608 | }; |
| 608 | 609 | ||