- 17 Sep, 2012 3 commits
-
-
Stephen Hemminger authored
This can be useful when displaying neighbour table
-
Julian Anastasov authored
Both macros are used together, so better to have single define. Update all requests in ipl2tp.c to use the new macro. Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
Stephen Hemminger authored
-
- 14 Sep, 2012 1 commit
-
-
John Fastabend authored
This patch finishes removing the replace option from the bridge man page which I missed in this commit commit 57b9785d Author: John Fastabend <john.r.fastabend@intel.com> Date: Mon Aug 27 10:52:31 2012 -0700 iproute2: bridge: remove replace and change options Also add documentation for "{ self | embedded }" already shown on the cmd line help msg. Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
- 11 Sep, 2012 3 commits
-
-
Pavel Emelyanov authored
This functionality is required by checkpoint-restore project. Since the dump and restore for routes is already done in ip tool it's naturally to dump and restore addresses in the ip tool as well. The implementation logic is the same as for the respective one for routes. The magic number digits are taken from the Seattle coordinates. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Julian Anastasov authored
Use the common code from libgenl.c to parse family, and initialize structures. Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
Julian Anastasov authored
Create libgenl.h and libgenl.c. They will contain common code for GENL users such as ipl2tp, tcp_metrics, etc. Somewhat simplified by Stephen Hemminger Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
- 10 Sep, 2012 1 commit
-
-
Li Wei authored
- rename section UNITS to PARAMETERS. - break section PARAMETERS down to four subsections to cover the common used parameter types(RATES, TIMES, SIZES, VALUES). - add some explaination for IEC units in RATES. - point out the max value we can set for RATES, TIMES and SIZES. Signed-off-by: Li Wei <lw@cn.fujitsu.com>
-
- 07 Sep, 2012 3 commits
-
-
Pavel Emelyanov authored
Some time ago the save+restore commands were added to ip route (git id f4ff11e3, Add ip route save/restore). These two save the raw rtnl stream into a file and restore one (reading it from stdin). The problem is that there's no way to get the contents of the dump file in a human readable form. The proposal is to add a command that reads the rtnl stream from stdin and prints the data in a way the usual "ip route list" does? changes since v1: * Take the magic at the beginning of the dump file into account * Check for stdin (the dump is taken from) is not a tty Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
In order to somehow verify that a blob contains route dump a 4-bytes magic is put at the head of the data and is checked on restore. Magic digits are taken from Portland (OR) coordinates :) Is there any more reliable way of generating such? Signed-of-by: Pavel Emelyanov <xemul@parallels.com>
-
Andreas Schwab authored
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
-
- 04 Sep, 2012 1 commit
-
-
Mathias Krause authored
Commit e557d1ac ("Don't put configure files in /tmp") introduced a typo that prevented automated cleanup of the temporary directory created for feature testing. Fix this typo. Signed-off-by: Mathias Krause <minipli@googlemail.com>
-
- 27 Aug, 2012 2 commits
-
-
John Fastabend authored
Replace and change are not supported by bridge netlink so remove it from bridge tool options. Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
John Fastabend authored
After latest commit 'Install all tc and ip sub pages' this error occurs on make. make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/git/kernel.org/iproute2/man/man3' make[2]: Entering directory `/home/git/kernel.org/iproute2/man/man8' Makefile:8: *** commands commence before first target. Stop. make[2]: Leaving directory `/home/git/kernel.org/iproute2/man/man8' Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
- 25 Aug, 2012 2 commits
-
-
Stephen Hemminger authored
Add missing entries in Makefile
-
John Fastabend authored
Add command to update and print FDB entries with NTF_SELF and NTF_MASTER set. Example usages illustrating use of 'self' to program embedded forwarding table and 'master' to configure the forwarding table of the bridge. Also shows 'master self' used to update both in the same command. #./br/br fdb add 00:1b:21:55:23:60 dev eth3 self #./br/br fdb add 00:1b:21:55:23:60 dev eth3 master #./br/br fdb add 00:1b:21:55:23:61 dev eth3 self master #./br/br fdb add 00:1b:21:55:23:62 dev eth3 #./br/br fdb show eth3 00:1b:21:55:23:60 local self eth3 00:1b:21:55:23:61 local self eth3 33:33:00:00:00:01 local self eth3 01:00:5e:00:00:01 local self eth3 33:33:ff:55:23:59 local self eth3 01:00:5e:00:00:fb local self eth33 33:33:00:00:00:01 local self eth34 33:33:00:00:00:01 local self eth3 00:1b:21:55:23:59 local master eth3 00:1b:21:55:23:60 static master eth3 00:1b:21:55:23:62 static master eth3 00:1b:21:55:23:61 static master Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
- 21 Aug, 2012 1 commit
-
-
Oliver Hartkopp authored
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
-
- 20 Aug, 2012 6 commits
-
-
Rostislav Lisovy authored
This ematch enables effective filtering of CAN frames (AF_CAN) based on CAN identifiers with masking of compared bits. Implementation utilizes bitmap based classification for standard frame format (SFF) which is optimized for minimal overhead. Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
-
Stephen Hemminger authored
-
Pavel Emelyanov authored
Callers of rtnl_talk check errno value for their needs. In particular, the addrs and routes restoring code validly reports success if the EEXISTS is in there. However, the errno value can be sometimes screwed up by the perror call. Thus we should only set it _after_ the message was emitted. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Stephen Hemminger authored
-
Li Wei authored
Use pkg-config to tell us the library path and fallback to search old paths if xtables.pc not exists. Signed-off-by: Li Wei <lw@cn.fujitsu.com>
-
Li Wei authored
Signed-off-by: Li Wei <lw@cn.fujitsu.com>
-
- 17 Aug, 2012 2 commits
-
-
Stephen Hemminger authored
fix bad formatting in description of -f option
-
Dan Kenigsberg authored
fix all call which reversed the arg order. Signed-off-by: Dan Kenigsberg <danken@redhat.com>
-
- 16 Aug, 2012 1 commit
-
-
Chris Webb authored
The bridge command used to be called br but was renamed bridge. Correct the outdated references to the br name in the help messages, together with a typo of '-help' for 'help'. Signed-off-by: Chris Webb <chris@arachsys.com>
-
- 13 Aug, 2012 4 commits
-
-
Florian Westphal authored
-
Florian Westphal authored
example usage: tc filter add dev $dev parent $id: basic match not ipset'(foobar src)' .. also updates iproute2/ematch_map, else tc complains: Error: Unable to find ematch "ipset" in /etc/iproute2/ematch_map Please assign a unique ID to the ematch kind the suggested entry is: 8 ipset when trying to use this ematch. (text ematch (5) only exists in kernel, a vlan ematch (6) exists neither in kernel nor userspace, but kernel headers define TCF_EM_VLAN == 6).
-
Mike Frysinger authored
`ip a s` no longer shows addresses since 3.4.0 works, but 3.5.0, the simple test case: make clean && make -j -s && ./ip/ip a s lo before that change, i would get: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever but after, i now get: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 seems like the bug was introduced in the middle of that patch: - if (filter.family != AF_PACKET) { + if (filter.family && filter.family != AF_PACKET) { + if (filter.oneline) + no_link = 1; + if (rtnl_wilddump_request(&rth, filter.family, RTM_GETADDR) < 0) { perror("Cannot send dump request"); exit(1); if i revert the change to the if statement there, `ip a s` works for me again.
-
Xose Vazquez Perez authored
Missing space in man8 Makefile and install bridge command with correct name
-
- 01 Aug, 2012 9 commits
-
-
Jiri Pirko authored
-
Eric Dumazet authored
linux-3.6-rc1 supports SK_MEMINFO_BACKLOG with commit d594e987c6f54 (sock_diag: add SK_MEMINFO_BACKLOG) ss command can display it if provided by the kernel. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Rostislav Lisovy authored
-
Saurabh authored
Support for VTI via rt netlink. Signed-off-by: Saurabh Mohan <saurabh.mohan@vyatta.com>
-
Saurabh Mohan authored
Configure VTI using 'ip tunnel'
-
Stephen Hemminger authored
These are pre -rc1 version of santised kernel headers
-
Stephen Hemminger authored
-
Stephen Hemminger authored
New tool to allow manipulating forwarding entries and monitoring bridge events.
-
Stephen Hemminger authored
Rearrange Makefile, and ignore derived files
-
- 31 Jul, 2012 1 commit
-
-
Ben Hutchings authored
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-