Go to file
David Ahern fa30592512 libbpf: Remove use of bpf_program__set_priv and bpf_program__priv
bpf_program__set_priv and bpf_program__priv are deprecated as of
libbpf v0.7+. Rather than store the map as priv on the program,
change find_legacy_tail_calls to take an argument to return a reference
to the map.

find_legacy_tail_calls is invoked twice from load_bpf_object - the
first time to check for programs that should be loaded. In this case
a reference to the map is not needed, but it does validate the map
exists. The second is invoked from update_legacy_tail_call_maps where
the map pointer is needed.

Signed-off-by: David Ahern <dsahern@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2022-05-04 20:20:21 -07:00
bash-completion tc: bash-completion: Add profinet and ethercat to procotol completion list 2022-03-04 09:24:10 -07:00
bridge bridge: support for controlling mcast_router per port 2022-03-20 17:36:05 -06:00
dcb Makefile: move HAVE_MNL check to top-level Makefile 2022-03-12 09:00:56 -07:00
devlink devlink: fix "devlink health dump" command without arg 2022-04-25 13:32:47 -07:00
doc/actions Fix some typos detected by Lintian in manpages 2021-11-09 10:45:44 -08:00
etc/iproute2 Add Open/R to rt_protos 2021-03-30 03:04:09 +00:00
examples/bpf examples/bpf: add bpf examples with BTF defined maps 2020-11-24 22:14:08 -07:00
genl genl: ctrl: print op -> policy idx mapping 2020-10-11 20:10:09 -06:00
include uapi: upstream update to stddef.h 2022-04-18 08:23:52 -07:00
ip Merge branch 'main' into next 2022-03-24 08:10:00 -06:00
lib libbpf: Remove use of bpf_program__set_priv and bpf_program__priv 2022-05-04 20:20:21 -07:00
man man: use quote instead of acute accent 2022-04-18 14:48:21 -07:00
misc ss: remove an implicit dependency on rpcinfo 2022-03-23 21:25:54 -06:00
netem doc: remove trailing whitespace 2018-12-19 12:02:38 -08:00
rdma Makefile: move HAVE_MNL check to top-level Makefile 2022-03-12 09:00:56 -07:00
schema bridge: add json schema for bridge fdb show 2016-07-20 12:02:02 -07:00
tc f_flower: Implement gtp options support 2022-03-20 17:40:29 -06:00
testsuite testsuite: link xfrm delete no if_id test 2022-03-15 11:35:03 -07:00
tipc Makefile: move HAVE_MNL check to top-level Makefile 2022-03-12 09:00:56 -07:00
vdpa vdpa: Support reading device features 2022-03-14 09:03:38 -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: add check_libtirpc() 2022-03-23 21:24:18 -06:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
Makefile Makefile: move HAVE_MNL check to top-level Makefile 2022-03-12 09:00:56 -07:00
README README: remove doc instructions 2021-03-20 09:29:02 -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. include/uapi

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