| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
am: 9c7e0abee3
Change-Id: I33c1d0b2a151119bd3f4e0eaae4b38fcaaa2fcaa
|
| |\
| | |
| | |
| | |
| | | |
Bug: 126125118
Change-Id: I09d14fc2a01c08a9fd10e6030fd8720b20e34014
|
| | |\
| | | |
| | | |
| | | |
| | | | |
Bug: 120848293
Change-Id: Ia237183637cd6ba3d1da2954ac1bb8c195105b13
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 715492c6fb
Change-Id: I87614aada42ab4891b4c39941f1f2168fd8c2682
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: eecc645a30
Change-Id: I0019d58b46a7f28c4d63d70b8d933a6f94ffc0c5
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: f3a8012094
Change-Id: I1caf7e1ca24f3439613c7938d17cbed78989d4b6
|
| | | |\ \ |
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I22f83786212e43961d35ee7cebaaa93fdd4c76b8
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
90a033c688 am: d44aa8b9cc
am: ea4d1ebf3c
Change-Id: I2bf3af4100f3db950567f8f8d50925fbf2402a02
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: d44aa8b9cc
Change-Id: I2e1420e1d966413a10cac0aaa347e816a98a2b40
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 90a033c688
Change-Id: I566d008bb849f4b72031ae1f845ba624298a41f0
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
iproute2: static compile.
iproute2: support more qdiscs
iproute2: support filters besides u32
iproute2: support actions besides mirred
iproute2: re-enable batching
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Now that we've reverted most ANDROID specific patches,
we need to actually make it build correctly.
This switches on NO_SHARED_LIBS (due to issues with dlopen/dlsym)
and enables tons of things, plus it mostly sorts the build files
- they can't be fully sorted because link order affects symbol resolution.
Things that still aren't enabled in ip/Android.bp:
iplink_bond.c
iplink_bond_slave.c
rtmon.c
(bonding due to use of 'strdupa' stack string allocation,
and rtmon is an entirely separate binary)
Things that still aren't enabled in tc/Android.bp:
m_ipt.c
m_nat.c
m_xt.c
m_xt_old.c
q_atm.c
(various compile problems, missing headers, etc)
We also check in {ip/tc}/static-syms.h built via:
rm -f {ip,tc}/static-syms.h
touch config.mk
SHARED_LIBS=n make -C ip static-syms.h
SHARED_LIBS=n make -C tc static-syms.h
rm -f config.mk
and check-in yacc/lex output built via:
rm -f tc/emp_ematch.yacc.output tc/emp_ematch.yacc.h tc/emp_ematch.yacc.c tc/emp_ematch.lex.c
touch config.mk
YACCFLAGS='-d -t -v' make -C tc emp_ematch.{yacc,lex}.c
rm -f config.mk
which require bison/flex.
Furthermore we update .gitignore files to allow submitting these
build outputs.
Longer term we should probably make it actually generate these
during the build.
Only files which were manually edited were the three Android.bp files
and two .gitignore files. The other six are autogenerated (see above).
Note:
this exposes incompatible with userspace api kernel change:
commit abb705d4ef835b637e0213f34a6fe991f8c273db
'net_sched: Add flow control support to prio qdisc'
which includes:
struct tc_prio_qopt {
int bands; /* Number of bands */
__u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
+ __u8 enable_flow; /* Enable dequeue */
};
and results in:
!!!Deficit -4, rta_len=48 (if enable_flow == 0)
!!!Deficit -3, rta_len=48 (if enable_flow == 1)
Bug: 65674744
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I0af6a8c1f8aede2e999a41a48038cb4e167d481c
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(probably not useful without rest of patch series)
Bug: 65674744
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia77fd91eeac800429830e21bb1b368cda329a51f
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(probably not useful without rest of patch series)
Bug: 65674744
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ib26b31675197c7faf459cc7b9d93b5dd6ce8e596
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(probably not useful without rest of patch series)
Bug: 65674744
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic6e7afd98b0980db87d7eb2b33ce08d720cfbf1c
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(probably not useful without rest of patch series)
Bug: 65674744
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I58752686f3e1583960e842aa7e3ae66b2446f97b
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 9edf224c24
Change-Id: I808f9078ad9876519e44688098e62eb3f70a325b
|
| |\| | | |
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | | |
am: 1316271023
Change-Id: I53587ec02e1385fc76fa0d7a0a07151b94cd3e82
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: bfde7e0d24
Change-Id: Idd122e9daaa111d583958b8975ab39c2a7981ca5
|
| | | |\| |
|
| | | |/
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If7feb012b83bb0fe173842753793b85d875048a5
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: e67d92e26b
Change-Id: Ic0bd5bde18cbacc9b9423947be158da50a7c1768
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 5cbed885dd
Change-Id: I3e22c05a39923da8e6d5718e077327dd53a6e438
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: d81c8f2604
Change-Id: Ic7f2f82715ccfb3278c66a69fac18206eac2ac02
|
| | | |\ |
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
See build/soong/README.md for more information
ss was added to PRODUCT_PACKAGES_DEBUG in base_system.mk, as module
tagging is not supported in Soong.
Test: cd external/iproute2; mma
Change-Id: I8b44e240d998e47b8ffc60e951451d570a8ae025
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
MERGE am: f13d12fe9c -s ours am: 82b968c6d9 -s ours
am: 9839be66bf -s ours
Change-Id: Ide9c9a9f0bf5b6a1b0522f8277bcedc2a69e08c0
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
MERGE am: f13d12fe9c -s ours
am: 82b968c6d9 -s ours
Change-Id: I1203372b613d1517a5e02f4ce6d5de85a85df2a1
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: f13d12fe9c -s ours
Change-Id: I89e36d521fb3c4578d8b49711a6829cfe2e27f09
|
| | | |\
| | | | |
| | | | |
| | | | | |
Change-Id: I95161c25a5646f3f62e5168561eec895325e95a4
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
MERGE am: 64b44f814b -s ours
am: b002c9bc7b -s ours
Change-Id: I8333a3c0e3f804bd76acc9971335e4e1dc307612
|
| |\| | |
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
MERGE
am: 64b44f814b -s ours
Change-Id: Iabb144c2750571585d280d1bbc3459e0239beefc
|
| |/| |
| | |/
| | |
| | | |
Change-Id: Ie5c73a91723957db06f9ee1930f32e0c71bc5574
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: Ic9de3ebd76d093ed177a6197aee2a9beaed4a247
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
20c0f1de5d
am: 14c09fbc57
Change-Id: I0b47cdd12d59105a96c7104fc65bbaee359d0060
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 20c0f1de5d
Change-Id: I0389b742077b1a3c66c903a10369ca016c5b10f2
|
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 4abfdca336
Change-Id: Icac07d1383ca4eea24e0a196d41182e0b894ab33
|
| | |\ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch adds support for OUTPUT_MARK in xfrm state to exercise the
functionality added by kernel commit 077fbac405bf
("net: xfrm: support setting an output mark.").
Sample output-
(with mark and output-mark)
src 192.168.1.1 dst 192.168.1.2
proto esp spi 0x00004321 reqid 0 mode tunnel
replay-window 0 flag af-unspec
mark 0x10000/0x3ffff output-mark 0x20000
auth-trunc xcbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b211 96
enc cbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b233
anti-replay context: seq 0x0, oseq 0x0, bitmap 0x00000000
(with mark only)
src 192.168.1.1 dst 192.168.1.2
proto esp spi 0x00004321 reqid 0 mode tunnel
replay-window 0 flag af-unspec
mark 0x10000/0x3ffff
auth-trunc xcbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b211 96
enc cbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b233
anti-replay context: seq 0x0, oseq 0x0, bitmap 0x00000000
(with output-mark only)
src 192.168.1.1 dst 192.168.1.2
proto esp spi 0x00004321 reqid 0 mode tunnel
replay-window 0 flag af-unspec
output-mark 0x20000
auth-trunc xcbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b211 96
enc cbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b233
anti-replay context: seq 0x0, oseq 0x0, bitmap 0x00000000
(no mark and output-mark)
src 192.168.1.1 dst 192.168.1.2
proto esp spi 0x00004321 reqid 0 mode tunnel
replay-window 0 flag af-unspec
auth-trunc xcbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b211 96
enc cbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b233
anti-replay context: seq 0x0, oseq 0x0, bitmap 0x00000000
v1->v2: Moved the XFRMA_OUTPUT_MARK print after XFRMA_MARK in
xfrm_xfrma_print() as mentioned by Lorenzo
v2->v3: Fix one help formatting error as mentioned by Lorenzo.
Keep mark and output-mark on the same line and add man page info as
mentioned by David.
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
(cherry picked from commit 2ecb61a0c2ceecbbb6ea5325a1770af9573b6953)
Change-Id: I6db8c81d261d2c0b763db8cb095d9ead927d0e1a
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: eaa5760933
Change-Id: I0aac6076556771db0487ffe74f9da9a69c484f62
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: f72b896afb
Change-Id: I765a7ba2a07db6587d0b2439e275131917eb5e2a
|
| |/| | | |
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
am: f887894039
Change-Id: If5186f053a4380b657352658311c17234ac7ac16
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Allow to configure NETNS_RUN_DIR through .mk files
Allow to configure /var/run/netns directory
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Without this change ip-netns will use /var/run/netns directory to
store namespace information which doesn't exist on Android.
This CL adds ability to specify NETNS_RUN_DIR when building for Android.
Also, it sets the directory to store namespace to /mnt/run if it wasn't
configured previously.
Bug: 73334854
Test: NETNS_RUN_DIR=/mnt/vendor m && emulator
Test: adb root && adb shell /system/bin/ip add my-net
Change-Id: I16e45b38250b3e8d655e470a5a2f6a043c2dff09
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently NETNS_RUN_DIR is hardcoded and refers to /var/run/netns.
However, some systems (e.g. Android) doesn't have /var
which results in error attempts to create network namespaces on these
systems. This change makes NETNS_RUN_DIR configurable at build time
by allowing to pass environment variable to make command.
Also, this change makes /etc/netns directory configurable through
NETNS_ETC_DIR environment variable.
For example: ./configure && NETNS_RUN_DIR=/mnt/vendor/netns make
Tested: verified that iproute2 with configuration mentioned above
creates namespaces in /mnt/vendor/netns
(Cherry-picked without modifications)
Signed-off-by: Pavel Maltsev <pavelm@google.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Test: m
Bug: 73334854
Change-Id: I150ade94de7fbf99b894072d2f69baff273349a5
|
|\| | | |
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
am: 53b5acc4c4
Change-Id: Id754be1c433359cefd9da1449d64c6d41d0fc38b
|
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 19b1cbd944
Change-Id: I2b5c13fece893a92819a0b5c592820f0d42575ac
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 2392dac63f
Change-Id: I7e8a7f33f7d7a47442459a9e023f3154eccfadf5
|
| |/| | |
|