WSL2-Linux-Kernel/include
Amir Vadai 853a14ba46 net/act_pedit: Introduce 'add' operation
This command could be useful to inc/dec fields.

For example, to forward any TCP packet and decrease its TTL:
$ tc filter add dev enp0s9 protocol ip parent ffff: \
    flower ip_proto tcp \
    action pedit munge ip ttl add 0xff pipe \
    action mirred egress redirect dev veth0

In the example above, adding 0xff to this u8 field is actually
decreasing it by one, since the operation is masked.

Signed-off-by: Amir Vadai <amir@vadai.me>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-10 13:18:33 -05:00
..
acpi
asm-generic modversions: treat symbol CRCs as 32 bit quantities 2017-02-03 08:28:25 -08:00
clocksource
crypto
drm drm: Don't race connector registration 2017-01-30 10:17:32 +01:00
dt-bindings net: phy: Add LED mode driver for Microsemi PHYs. 2017-02-08 13:29:04 -05:00
keys
kvm
linux net/skbuff: Introduce skb_mac_offset() 2017-02-10 13:18:33 -05:00
math-emu
media
memory
misc
net net/act_pedit: Introduce 'add' operation 2017-02-10 13:18:33 -05:00
pcmcia
ras
rdma net-next: treewide use is_vlan_dev() helper function. 2017-02-06 16:33:29 -05:00
rxrpc
scsi
soc
sound
target
trace trace: rename trace_print_hex_seq arg and add kdoc 2017-02-03 15:50:18 -05:00
uapi net/act_pedit: Introduce 'add' operation 2017-02-10 13:18:33 -05:00
video
xen
Kbuild