- 20 Mar, 2013 1 commit
-
-
Thomas Egerer authored
My previous commit introduced a patch to allow for states with different ip address families for selector and id. The must have somehow been a mixup of the patch I tested and the one I send, so the patch sent breaks the iproute2 build. This patch fixes this. My apologies. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
-
- 18 Mar, 2013 1 commit
-
-
Thomas Egerer authored
Do not enforce the selector of a state to have the same address family as the id. This makes it possible to configure inter family states. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
-
- 16 Mar, 2013 4 commits
-
-
Stephen Hemminger authored
Split output of 'bridge link' across multiple lines, only show the flags if -d is set, and add --oneline option like ip command.
-
Vlad Yasevich authored
Bridge tool now supports setting and retrieving bridge port specific link attributes. Document what attributes are supported and what they mean. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Vlad Yasevich authored
Output new nested bridge port attributes. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Vlad Yasevich authored
Add netlink support bridge port attributes such as cost, priority, state and flags. This also adds support for HW mode such as VEPA or VEB. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
- 14 Mar, 2013 3 commits
-
-
Stephen Hemminger authored
Convert leading spaces to tabs, and put alias in one printf
-
Stephen Hemminger authored
fix warning from parser
-
Petr Šabata authored
Both ip-link and ip-address support the 'up' argument, however this isn't documented in neither their help outputs or ip-address' manpage. This patch fixes that. Signed-off-by: Petr Šabata <contyk@redhat.com> Reported-by: Jiří Popelka <jpopelka@redhat.com>
-
- 13 Mar, 2013 1 commit
-
-
Stephen Hemminger authored
On some platforms, shared libraries are not used. The stub code need some updating to not generate errors.
-
- 12 Mar, 2013 1 commit
-
-
roopa authored
This patch removes '\n' in -oneline output when alias present on interface Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
-
- 11 Mar, 2013 1 commit
-
-
Eric W. Biederman authored
While looking into a sysctl regression in decnet on old kernels I discovered this omission in the iproute2 documentation. I can't imagine anyone's muscle memory remembering the longer forms. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
- 06 Mar, 2013 8 commits
-
-
Stephen Hemminger authored
Fdb usage message got too long.
-
Vlad Yasevich authored
Add the vlan command documentation to bridge man page. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Vlad Yasevich authored
Recent kernel patches added support for VLAN filtering on the bridge. This functionality allows one to turn a basic bridge into a VLAN bridge, where VLANs dicatate packet forwarding and header transformation. To configure the VLANs on the bridge and its ports a new command is added to the 'bridge' utility. # bridge vlan add dev eth0 vid 10 pvid untagged brdev # bridge vlan add # bridge vlan delete dev eth0 vid 10 # bridge vlan show This command supports the following flags: master - peform the operation on the software bridge device. This is the default behavior. self - perform the operation on the hardware associated with the port. This flag is required when the device is the bridge device and the configuration is desired on the bridge device itself (not one of the ports). pvid - Set the PVID (port vlan id) for a given port. Any untagged frames arriving on the port will be assigned to this vlan. untagged - Sets the egress policy of for a given vlan. Default port egress policy is tagged. Set this flag if you wish traffic associated with this VLAN to exit the port untagged. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Vlad Yasevich authored
Provide the ability to set and show vlans on FDB entries. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Stephen Hemminger authored
This reverts commit 90ad5ae7.
-
David Stevens authored
This is the iproute2 support allowing an administrator to specify alternate ports, vnis and outgoing interfaces for VXLAN device forwarding tables. Signed-Off-By: David L Stevens <dlstevens@us.ibm.com>
-
David Ward authored
Signed-off-by: David Ward <david.ward@ll.mit.edu> Acked-by: Patrick McHardy <kaber@trash.net>
-
David Ward authored
Reported-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
- 04 Mar, 2013 1 commit
-
-
Stephen Hemminger authored
Not all arch have sizeof(unsigned long long) == sizeof(__u64)
-
- 28 Feb, 2013 2 commits
-
-
Stephen Hemminger authored
Some platforms like ppc64 have unsigned long long as 128 bits, and the printf format string would cause errors. Resolve this by using unsigned long long where necessary (or unsigned long).
-
Stephen Hemminger authored
-
- 27 Feb, 2013 5 commits
-
-
Stephen Hemminger authored
Add casts to handle printf format when sizeof(unsigned long long) != sizeof(__u64)
-
Vijay Subramanian authored
Commit (5a650703 Makefile: make warnings into errors ) causes the following build error. gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -DCONFIG_GACT -DCONFIG_GACT_PROB -DIPT_LIB_DIR=\"/lib/xtables\" -DYY_NO_INPUT -c -o m_ipt.o m_ipt.c cc1: warnings being treated as errors m_ipt.c:72: error: no previous prototype for 'xtables_register_target' m_ipt.c:361: error: no previous prototype for 'build_st' make[1]: *** [m_ipt.o] Error 1 This is fixed by adding the prototype in the header include/iptables.h I am not sure if this is due to something wrong on my build system but I am using current glibc 2.17. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Hannes Frederic Sowa authored
The output format is the same as for tcp sockets but only the following fields are currently non-zero: sk_rcvbuf, sk_wmem_alloc and sk_sndbuf. Cc: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
-
Stephen Hemminger authored
-
Hannes Frederic Sowa authored
On sockets in listen state Send-Q reports the maximum backlog, otherwise it reports allocated socket write memory. Cc: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
-
- 21 Feb, 2013 2 commits
-
-
Stephen Hemminger authored
-
Kees van Reeuwijk authored
Clearer error messages for fifo and tbf qdiscs: - Say who is complaining - Don't just say a parameter is bad, show the offending parameter - Be clearer about duplicate parameters vs illegal pairs of parameters - Try to give multiple error messages rather than let the user discover the errors one by one - When there are parameter aliases, try to use the variant that was used, or at least mention them all Note that in the old version an empty parameter list to tbf would just cause an explain() message without a specific error message. By simply removing the relevant error check, the code now handles this error more gracefully by printing an error message for all mandatory parameters. It still prints the explain() message. Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl>
-
- 19 Feb, 2013 2 commits
-
-
Lutz Jaenicke authored
Platforms have different alignment requirements which need to be fulfilled by the compiler. If the structure elements are already 4 byte (NLMGS_ALIGNTO) aligned by the compiler adding an explicit padding element (align_rta) is not allowed. Use __attribute__ ((aligned (NLMSG_ALIGNTO))) in order to achieve the required alignment. Experienced on ARM (xscale) with symptom netlink: 12 bytes leftover after parsing attributes Tested on: ARM (32bit Big Endian) PowerPC (32bit Big Endian) x86_64 (64bit Little Endian) Each with different aligment requirments. Signed-off-by: Lutz Jaenicke <ljaenicke@innominate.com>
-
- 12 Feb, 2013 4 commits
-
-
Stephen Hemminger authored
Fixes Debian bug #700434 Need to table id in filter to be unsigned to avoid conversion to -1 The documentation for "ip" suggests that, when using multiple routing tables, the table ID can be an arbitrary 32 bit number. I've been writing a script that calculates a table Id based on an IP addresses and sets up tables accordingly based on it. This seems to work for everything I've tried except "ip route flush". If you specify a table to flush with an ID over 2^31, it flushes all IPv4 routing tables. For example: Will delete all routing tables, including the default one. Needless to say, this is quite annoying. I think this is an upstream bug, but your opinions will be greatly appreciated.
-
Stephen Hemminger authored
Catches missing, dead code and also places where function should be static.
-
Stephen Hemminger authored
For lookup routines, make arguments const where possible.
-
Stephen Hemminger authored
-
- 11 Feb, 2013 4 commits
-
-
Kees van Reeuwijk authored
This patch improves many error messages as follows: - For incorrect parameters, show the value of the offending parameter, rather than just say that it is incorrect - Rephrased messages for clarity - Rephrased to more `mainstream' english Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl>
-
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>
-