1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/network/iproute2/iproute2.git synced 2026-09-20 01:46:06 +00:00
No description
  • C 97.1%
  • Shell 2.1%
  • Makefile 0.5%
  • Yacc 0.2%
Find a file
Prabhakar Pujeri 873daf67da u32: fix IPv6 port match pretty printing
parse_ip6() stores source and destination ports in the 32-bit key at
offset 40.  print_ipv6() checks offset 20 instead, so it does not print
the decoded port fields.  The source and destination labels in that case
are also reversed relative to the layout produced by pack_key16().

Handle offset 40 and use the source label for the high half and the
destination label for the low half.  This matches the parser and the
equivalent IPv4 printer in both text and JSON output.

Fixes: d13cee6d59 ("Add IPV6 match pretty print")
Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2026-09-01 08:58:20 -07:00
bash-completion devlink: add scope filter to resource show 2026-06-28 11:12:40 -06:00
bridge bridge: whitespace cleanup 2026-06-28 13:46:50 -07:00
dcb dcb: fix tc-maxrate unit conversions 2025-10-21 15:06:14 -07:00
devlink devlink: support u64-array values in devlink param show/set 2026-07-09 08:39:30 -06:00
dpll dpll: monitor: add -t/--timestamp and --tshort options 2026-05-27 15:24:01 -06:00
etc/iproute2 Add OVN to rt_protos 2025-03-04 20:41:10 +00:00
examples/bpf spelling fixes 2024-01-25 16:49:10 -08:00
genl libnetlink: flush stdout only in monitor mode 2026-04-27 11:39:56 -07:00
include json_print: fix Gcc-17 warnings 2026-08-23 16:49:17 -07:00
ip iplink/can: fix format string warnings 2026-08-24 09:46:34 -07:00
lib lib: fix warning from ll_addr_a2n 2026-08-23 16:49:17 -07:00
man Merge remote-tracking branch 'main' into next 2026-08-21 15:20:54 -06:00
misc ss: fix vsock port filter 2026-08-24 21:05:27 -07:00
netem netem: add SPDX license header 2023-01-14 09:00:34 -08:00
netshaper netshaper: Add group command for creating scheduling hierarchies 2026-05-19 18:47:02 -06:00
rdma uapi: update from 7.3 merge 2026-08-23 16:49:11 -07:00
schema bridge: add json schema for bridge fdb show 2016-07-20 12:02:02 -07:00
scripts Merge remote-tracking branch 'main' into next 2026-02-17 19:30:24 -07:00
tc u32: fix IPv6 port match pretty printing 2026-09-01 08:58:20 -07:00
testsuite tc: remove dsmark qdisc 2023-10-30 11:35:32 -07:00
tipc replace use of term 'Sanity check' 2024-09-12 10:12:21 -07:00
vdpa uapi: update from 7.3 merge 2026-08-23 16:49:11 -07:00
.clang-format clang-format: add configuration file 2019-01-17 13:38:23 -08:00
.editorconfig add .editorconfig file for basic formatting 2024-11-23 20:51:32 +00:00
.gitignore Remove leftovers from removed Latex documentation 2018-02-13 16:43:19 -08:00
.mailmap .mailmap: remove trailing whitespace 2026-06-28 13:45:44 -07:00
configure mnl: add fallback implementation for mnl_attr_get_uint() 2026-03-22 18:08:48 -06:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
CREDITS CREDITS: remove trailing whitespace 2026-06-28 13:46:07 -07:00
MAINTAINERS MAINTAINERS: add entry for mptcp 2025-12-01 19:27:23 -07:00
Makefile remove hamradio protocols 2026-04-27 11:39:56 -07:00
README Update email address 2025-09-26 10:51:15 -07:00
README.devel README.devel: clarify patch rules and syntax 2025-02-25 10:25:57 -08:00
SECURITY.md SECURITY: add threat model 2026-08-05 08:44:36 -07: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

Compatibility
-------------
A new release of iproute2 is done with each kernel version, but
there is a wide range of compatibility. Newer versions of iproute2
will still work with older kernels, but there are some limitations.

If an iproute2 command with a new feature is used with an older
kernel, the kernel may report an error or silently ignore the new
attribute. Likewise if older iproute2 is used with an newer kernel,
it is not possible to use or see new features. The range of
compatibility extends back as far as the oldest supported Long Term
Support (LTS) kernel version.

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

David Ahern
dsahern@kernel.org