mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[PKT_SCHED]: Introduce simple actions.
And provide an example simply action in order to demonstrate usage. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ac6910e189
commit
db75307979
6 changed files with 299 additions and 5 deletions
13
include/net/tc_act/tc_defact.h
Normal file
13
include/net/tc_act/tc_defact.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#ifndef __NET_TC_DEF_H
|
||||
#define __NET_TC_DEF_H
|
||||
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_defact
|
||||
{
|
||||
tca_gen(defact);
|
||||
u32 datalen;
|
||||
void *defdata;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue