- 11 Feb, 2013 5 commits
-
-
Kees van Reeuwijk authored
Rephrasing for clarity. Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl> --- libnetlink.3 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
-
Kees van Reeuwijk authored
Since do_help() has to return an int to fit in the table of commands, it should actually return an int. This patch lets it do so. Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl>
-
Kees van Reeuwijk authored
Improved man page as follows: - Use more `mainstream' english - Rephrased for clarity - Use standard notation for units Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl>
-
Kees van Reeuwijk authored
Rephrasing for clarity. Note that in ip-rule.8 I rephrased a sentence to "The RPDB is scanned in order of decreasing priority." The original version talked about *in*creasing priority, but from the context that didn't make sense. Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl>
-
Benjamin Poirier authored
On openSUSE 12.2 (at least) xtables.h is not installed in the system-wide include dir but in /usr/include/iptables-1.4.16.3/. This results in the following build failure: em_ipset.c:26:21: fatal error: xtables.h: No such file or directory Other includers of xtables.h already call out to pkg-config
-
- 05 Feb, 2013 2 commits
-
-
Stephen Hemminger authored
Don't put it on separate line, keep it on line with link address.
-
Nicolas Dichtel authored
This is useful to know the 'real' status of an interface (the flag IFF_PROMISC is exported by the kernel only when the user set it explicitly, for example it will not be exported when a tcpdump is running). This information will be displayed when '-details' is provided by the user. Example: $ ip -d l l tun10 6: tun10: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN mode DEFAULT link/sit 10.16.0.249 peer 10.16.0.121 sit remote 10.16.0.121 local 10.16.0.249 ttl inherit pmtudisc 6rd-prefix 2002::/16 promiscuity 2 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
- 04 Feb, 2013 11 commits
-
-
Johannes Naab authored
by fixing the parsing of command-line tokens Signed-off-by: Johannes Naab <jn@stusta.de>
-
Nicolas Dichtel authored
The optname was wrong. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
David Ward authored
The 'inherit/STRING' or 'inherit/00..ff' syntax indicates that the TOS field of tunneled packets should be copied from the original IP header, but for non-IP packets the value STRING or 00..ff should be used instead. (This syntax is already used by 'ip tunnel show'.) Also clarify the man page and the command usage text (particularly that the TOS is not specified as a decimal number). Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
Stephen Hemminger authored
There are much better API's to netlink now. Encourage users to look elsewhere.
-
Stephen Hemminger authored
Don't let contributions cause warnings.
-
Eric W. Biederman authored
Add command that go between network namespace names and process identifiers. The code builds and runs agains older kernels but only works on Linux 3.8+ kernels where I have fixed stat to work properly. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Document ip netns monitor. Add a few senteces describing each command. The manpage was looking very scrawny. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Sometimes "ip netns delete" fails because it can not delete the file a network namespace was mounted on. If this only happened when a network namespace was really in use this would be fine, but today it is possible to pin all network namespaces by simply having a long running process started with "ip netns exec". Every mount is copied when a network namespace is created so it is impossible to prevent the mounts from getting into other mount namespaces. Modify all mounts in the files and subdirectories of /var/run/netns to be shared mount points so that unmount events can propogate, making it unlikely that "ip netns delete" will fail because a directory is mounted in another mount namespace. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Report the name of the network namespace that could not be added. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Ben Hutchings pointed out that the return value of do_netns is passed to exit and the current convention of returning -1 for failure is inconsitent with that reality. Return EXIT_FAILURE instead of -1 and EXIT_SUCCESS instead of 0. To make it clear that the return codes are expected to be passed to exit. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Some systems are now following the advice in linux/Documentation/sharedsubtrees.txt and running with all mount points shared between all mount namespaces by default. After creating the mount namespace call mount on / with MS_SLAVE|MS_REC to modify all mounts in the new mount namespace to slave mounts if they are shared or private mounts otherwise. Guarnateeing that changes to the mount namespace created with "ip netns exec" don't propgate to other namespaces. Reported-by: Petr Šabata <contyk@redhat.com> Tested-by: Petr Šabata <contyk@redhat.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
- 18 Jan, 2013 2 commits
-
-
Stephen Hemminger authored
-
Mike Frysinger authored
Clang doesn't support the gcc extension for embeddeding flexible arrays inside of structures. Use the slightly more portable alloca(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 16 Jan, 2013 1 commit
-
-
Jamal Hadi Salim authored
Fixes breakage with xtables API starting with version 1.4.10 Signed-off-by: Hasan Chowdhury <shemonc@gmail.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
- 15 Jan, 2013 2 commits
-
-
Mike Frysinger authored
If an error occurs in a man subdir, make sure we propagate it back up. While we're here, merge the duplicate rules into one. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The man dir misses the man7 as a subdir which means none of the pages get installed. URL: https://bugs.gentoo.org/451166Reported-by: Marcin Mirosław <bug@mejor.pl> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 23 Dec, 2012 1 commit
-
-
Strake authored
Needed to build iproute2 with musl
-
- 20 Dec, 2012 5 commits
-
-
Cong Wang authored
Signed-off-by: Cong Wang <amwang@redhat.com>
-
Cong Wang authored
bridge -> dev group -> grp Signed-off-by: Cong Wang <amwang@redhat.com>
-
Cong Wang authored
This patch adds a flag to mdb entries so that we can distinguish permanent entries with temporary ones. Signed-off-by: Cong Wang <amwang@redhat.com>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Previous change wasn't needed, since merge of configure: move toolchain init to a function
-
- 18 Dec, 2012 2 commits
-
-
Stephen Hemminger authored
Script has lots of shell functions but never indented properly.
-
Jan Engelhardt authored
Commit v3.7.0~10 caused the variable new PKG_CONFIG variable never to be present at the time of calling make, leading to tc/m_xt.so not linked with -lxtables (result from pkg-config xtables --libs), that in turn leading to tc: symbol lookup error: /usr/lib64/tc//m_xt.so: undefined symbol: xtables_init_all Fixing that. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
-
- 17 Dec, 2012 6 commits
-
-
Mike Frysinger authored
This matches the existing CC behavior. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The lib makefile doesn't include Config which means it misses setting up toolchain vars that it includes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The layout of this file uses functions to update Config. Move the toolchain logic to the same style to fix setting the vars in Config. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Nicolas Dichtel authored
Sync with the current code. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This patch add the documentation about 'ip netconf' command. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Zhi Yong Wu authored
The new type 'vxlan' is added in the output of "ip link help" Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
-
- 14 Dec, 2012 3 commits
-
-
Nicolas Dichtel authored
mroute was using /proc/net/ip_mr_[vif|cache] to display mroute entries. Hence, only RT_TABLE_DEFAULT was displayed and only IPv4. With rtnetlink, it is possible to display all tables for IPv4 and IPv6. The output format is kept. Also, like before the patch, statistics are displayed when user specify the '-s' argument. The patch also adds the support of 'ip monitor mroute', which is now possible. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
INFO_SPEC already uses the term 'OPTIONS' and describe it. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Now 'ip link' supports ipip, sit and ip6tnl. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-