History log of /external/iproute2/tc/p_udp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a13426fe1a2b0fdebacc33820105523934eb355f 14-May-2017 Amir Vadai <amir@vadai.me> pedit: Check for extended capability in protocol parser

Do not allow using eth and udp header types if non-extended pedit kABI
is being used. Other protocol parsers already have this check.

Signed-off-by: Amir Vadai <amir@vadai.me>
/external/iproute2/tc/p_udp.c
3d2a7781ec0b9843c21f48455021ff252bfc85ac 23-Apr-2017 Or Gerlitz <ogerlitz@mellanox.com> tc/pedit: p_udp: introduce pedit udp support

For example, forward udp traffic destined to port 999 to veth0 and set
tcp port to 888:
$ tc filter add dev enp0s9 protocol ip parent ffff: \
flower \
ip_proto udp \
dst_port 999 \
action pedit ex munge \
udp dport set 888 \
action mirred egress \
redirect dev veth0

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Amir Vadai <amir@vadai.me>
/external/iproute2/tc/p_udp.c
7c71a40cbd3180a64a5fb997fa3efba3335c7002 23-Apr-2017 Amir Vadai <amir@vadai.me> tc/pedit: Extend pedit to specify offset relative to mac/transport headers

Utilize the extended pedit netlink to set an offset relative to a
specific header type. Old netlink only enabled the user to set
approximated offset relative to the IPv4 header.

To use this extended functionality need to use the 'ex' keyword after
'pedit' and before any 'munge'.
e.g:
$ tc filter add dev ens9 protocol ip parent ffff: \
flower \
ip_proto udp \
dst_port 80 \
action pedit ex munge \
ip dst set 1.1.1.1 \
pipe \
action mirred egress redirect dev veth0

Signed-off-by: Amir Vadai <amir@vadai.me>
/external/iproute2/tc/p_udp.c
32a121cba257954963fbdd56a1c4567c2efc779a 21-Mar-2016 Stephen Hemminger <stephen@networkplumber.org> tc: code cleanup

Use checkpatch to fix whitespace and other style issues.
/external/iproute2/tc/p_udp.c
753ef5bbd60891437739e8ceee711957fa7a4bd2 24-Oct-2015 Stephen Hemminger <shemming@brocade.com> tc: remove extra whitespace

No blank lines at EOF, or trailing whitespace.
/external/iproute2/tc/p_udp.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/p_udp.c
7e7c737245a48cac0c9386b4cab6c35622fde629 18-Jan-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2.121

(Logical change 1.124)
/external/iproute2/tc/p_udp.c
3e1d2ea6abe3c0f2fe9e180187e7f48efc80f290 18-Jan-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Initial revision
/external/iproute2/tc/p_udp.c