Commit Graph

8 Commits

Author SHA1 Message Date
chendotjs a2e8781202 rule: add support for dport/sport 2020-02-10 06:52:06 -08:00
Yakushi Fujiwara 254c8a89c5 Replace values defined in unix package.
- replace following values to unix.*
  AF_MPLS, RTA_NEWDST, RTA_ENCAP_TYPE, RTA_ENCAP
2019-08-23 11:17:48 -07:00
Kentaro Ebisawa 16769db002 Support LWTUNNEL_ENCAP_SEG6_LOCAL (including tests) 2018-05-08 09:50:31 -07:00
Kentaro Ebisawa eb7ed874fe Support LWTUNNEL_ENCAP_SEG6 2017-11-08 03:33:01 -08:00
ISHIDA Wataru fe3b5664d2 support MPLS
$ ip -M route add 100 dev eth0
$ ip -M route add 100 as to 200/300 dev eth0
$ ip -M route add 100 nexthop dev eth0 as to 200 \
                      nexthop dev eth1 as to 300
$ ip route add 10.10.0.0/24 encap mpls 200/300 dev eth0
$ ip route add 10.0.0.0/24 nexthop encap mpls 200 dev eth0 \
                           nexthop encap mpls 300 dev eth1

Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2017-02-20 12:07:19 -08:00
Sebastien Boving a3f0be6352 Add support for tcp diags. 2017-02-04 16:48:17 -08:00
Hubert Krauze 487b33a083 Support Rule tun id 2015-12-09 14:14:24 +01:00
Marek Polewski 7d55ffec7d Add missing rule related syscalls const 2015-11-26 11:58:26 +01:00