Go to file
Antony Antony 4322b13c8d ip xfrm: support setting XFRMA_SET_MARK_MASK attribute in states
The XFRMA_SET_MARK_MASK attribute can be set in states (4.19+)
It is optional and the kernel default is 0xffffffff
It is the mask of XFRMA_SET_MARK(a.k.a. XFRMA_OUTPUT_MARK in 4.18)

e.g.
./ip/ip xfrm state add output-mark 0x6 mask 0xab proto esp \
 auth digest_null 0 enc cipher_null ''
ip xfrm state
src 0.0.0.0 dst 0.0.0.0
	proto esp spi 0x00000000 reqid 0 mode transport
	replay-window 0
	output-mark 0x6/0xab
	auth-trunc digest_null 0x30 0
	enc ecb(cipher_null)
	anti-replay context: seq 0x0, oseq 0x0, bitmap 0x00000000
	sel src 0.0.0.0/0 dst 0.0.0.0/0

Signed-off-by: Antony Antony <antony@phenome.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
2020-10-07 00:10:47 -06:00
bash-completion devlink: Add health reporter test command support 2020-10-07 00:08:53 -06:00
bridge Merge branch 'main' into next 2020-08-06 16:21:35 +00:00
devlink devlink: Add health reporter test command support 2020-10-07 00:08:53 -06:00
doc/actions doc: remove trailing whitespace 2018-12-19 12:02:38 -08:00
etc/iproute2 add support to keepalived rtm_protocol 2020-07-05 15:03:45 +00:00
examples/bpf examples: remove diffserv 2019-10-23 09:13:55 -07:00
genl genl: ctrl: support dumping netlink policy 2020-08-24 21:35:14 -06:00
include Update kernel headers 2020-10-07 00:01:26 -06:00
ip ip xfrm: support setting XFRMA_SET_MARK_MASK attribute in states 2020-10-07 00:10:47 -06:00
lib iplink: add support for protodown reason 2020-09-01 19:52:13 -06:00
man ip xfrm: support setting XFRMA_SET_MARK_MASK attribute in states 2020-10-07 00:10:47 -06:00
misc ss: add support for xdp statistics 2020-09-29 09:21:24 -06:00
netem doc: remove trailing whitespace 2018-12-19 12:02:38 -08:00
rdma rdma: Properly print device and link names in CLI output 2020-08-16 15:50:02 -07:00
schema bridge: add json schema for bridge fdb show 2016-07-20 12:02:02 -07:00
tc Merge branch 'main' into next 2020-08-06 16:21:35 +00:00
testsuite testsuite: Add tests for bareudp tunnels 2020-07-20 13:30:55 -07:00
tipc tipc: support 128bit node identity for peer removing 2020-09-01 20:01:39 -06:00
.clang-format clang-format: add configuration file 2019-01-17 13:38:23 -08:00
.gitignore Remove leftovers from removed Latex documentation 2018-02-13 16:43:19 -08:00
.mailmap mailmap: map David's mail address 2019-05-15 09:50:42 -07:00
configure configure: support ipset version 7 with kernel version 5 2020-07-08 08:48:02 -07:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
Makefile replace SNAPSHOT with auto-generated version string 2020-08-03 10:02:47 -07:00
README README: update libdb build dependency information 2018-05-01 19:29:03 -07:00
README.devel README: update location of git repositories, remove broken info link 2018-02-13 16:42:51 -08:00

This is a set of utilities for Linux networking.

Information:
    https://wiki.linuxfoundation.org/networking/iproute2

Download:
    http://www.kernel.org/pub/linux/utils/net/iproute2/

Stable version repository:
    git://git.kernel.org/pub/scm/network/iproute2/iproute2.git

Development repository:
    git://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git

How to compile this.
--------------------
1. libdbm

arpd needs to have the berkeleydb development libraries. For Debian
users this is the package with a name like libdbX.X-dev.
DBM_INCLUDE points to the directory with db_185.h which
is the include file used by arpd to get to the old format Berkeley
database routines.  Often this is in the db-devel package.

2. make

The makefile will automatically build a config.mk file which
contains definitions of libraries that may or may not be available
on the system such as: ATM, ELF, MNL, and SELINUX.

3. To make documentation, cd to doc/ directory , then
   look at start of Makefile and set correct values for
   PAGESIZE=a4		, ie: a4 , letter ...	(string)
   PAGESPERPAGE=2	, ie: 1 , 2 ...		(numeric)
   and make there. It assumes, that latex, dvips and psnup
   are in your path.

4. This package includes matching sanitized kernel headers because
   the build environment may not have up to date versions. See Makefile
   if you have special requirements and need to point at different
   kernel include files.

Stephen Hemminger
stephen@networkplumber.org

Alexey Kuznetsov
kuznet@ms2.inr.ac.ru