You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/utils
Jo-Philipp Wich 8badcba229 iproute: properly support high routing table IDs
The Linux kernel uses two distinct fields to denote the routing table ID in
use by network routes; the 8 bit `rtm_table` member of `struct rtmsg` and the
32 bit `RTA_TABLE` netlink attribute.

If a routing table ID is larger than 255, the `RT_TABLE` attribute must be used
and the `rtm_table` field has to be set to the special `RT_TABLE_UNSPEC` value.

This commit adds a patch which...
 - switches the *_n2a() and *_a2n() functions of rt_names.c to use dynamically
   sized, name-sorted arrays instead of fixed arrays limited to 1024 slots in
   order to support IDs up to 65535
 - adds proper handling of high table IDs to iprule.c and iproute.c when
   adding, removing and dumping ip rules and network routes

After this change, the Busybox ip applet fully supports IP rules with high ID
numbers, using the same logic as the full iproute2.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
..
admswconfig package: flag further target specific packages as nonshared 8 years ago
bsdiff bsdiff: add missing host build dependency on bzip2 (fixes #21990) 8 years ago
busybox iproute: properly support high routing table IDs 8 years ago
bzip2 bzip2: install to STAGING_DIR/host instead of STAGING_DIR/host/usr 9 years ago
ct-bugcheck ct-bugcheck: Add tools to poll for and report ath10k firmware crashes. 8 years ago
e2fsprogs e2fsprogs: List all libraries explicitly 8 years ago
f2fs-tools f2fs-tools: import from packages, clean up, and update to latest 8 years ago
fbtest fbtest: remove bogus #include 9 years ago
fuse cosmetic: remove trailing whitespaces 9 years ago
jsonfilter jsonfilter: update to latest git HEAD 8 years ago
lua treewide: replace jow@openwrt.org with jo@mein.io 8 years ago
mdadm treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
mtd-utils mtd-utils: merge ubi/nand-utils into one package 8 years ago
nvram nvram: install init.d quirks script on brcm47xx only 8 years ago
oseama oseama: support extracting entity 8 years ago
otrx package: remove duplicate lines from otrx and nvram makefiles 8 years ago
px5g px5g: Create mbedtls variant 8 years ago
px5g-standalone px5g-standalone: activate format-security checks 9 years ago
spidev_test spidev_test: copy the source code into the package folder 8 years ago
ugps ugps: update to latest git HEAD 8 years ago
usbmode package/*: update git urls for project repos 8 years ago
usbreset license info - revert r43155 10 years ago
usbutils treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
util-linux util-linux: fix scanf fallback detection for uClibc-ng 8 years ago
xfsprogs xfsprogs: activate format-security checks 9 years ago