summaryrefslogtreecommitdiff
path: root/proto_none.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-11 00:22:08 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-11 00:22:08 +0200
commit22aeecb491b346fe944f38e083cd26d4d235c632 (patch)
tree44d44c9b36ad442214ca04b32901b9f207859356 /proto_none.c
parent42d1a29e7b7a55f39114115b9cb4814989ad5bf2 (diff)
curve: move selftest to own file
Move the curve selftest to its own file. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'proto_none.c')
0 files changed, 0 insertions, 0 deletions
lt;-> dump using new userspace When using the extended api, new netlink attributes are being used. This way, operation will fail in (1) and (3) - and no malformed rule be added or dumped. Of course, new user space that doesn't need the new functionality can use the old netlink attributes and operation will succeed. Since action can support both api's, (2) should work, and it is easy to write the new user space to have (4) work. The action is having a strict check that only header types and commands it can handle are accepted. This way future additions will be much easier. Usage example: $ tc filter add dev enp0s9 protocol ip parent ffff: \ flower \ ip_proto tcp \ dst_port 80 \ action pedit munge tcp dport set 8080 pipe \ action mirred egress redirect dev veth0 Will forward tcp port whose original dest port is 80, while modifying the destination port to 8080. Signed-off-by: Amir Vadai <amir@vadai.me> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/sched/act_pedit.c196
1 files changed, 180 insertions, 16 deletions
diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c