diff options
| author | Ido Schimmel <[email protected]> | 2019-08-17 13:28:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-08-17 19:40:09 +0000 |
| commit | da58f90f11f597520f226caff1d3cfc115abedc9 (patch) | |
| tree | 695f3717a6b09ea96bcae914ee9607b5b767b883 /net/tipc/node.c | |
| parent | Documentation: Add devlink-trap documentation (diff) | |
| download | kernel-da58f90f11f597520f226caff1d3cfc115abedc9.tar.gz kernel-da58f90f11f597520f226caff1d3cfc115abedc9.zip | |
netdevsim: Add devlink-trap support
Have netdevsim register its trap groups and traps with devlink during
initialization and periodically report trapped packets to devlink core.
Since netdevsim is not a real device, the trapped packets are emulated
using a workqueue that periodically reports a UDP packet with a random
5-tuple from each active packet trap and from each running netdev.
Signed-off-by: Ido Schimmel <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
