History log of /external/iproute2/include/utils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30d10db5667d3ca86917ca86c1a65cfcc45965f9 20-Dec-2011 Hagen Paul Pfeifer <hagen@jauu.net> utils: add s32 parser

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
/external/iproute2/include/utils.h
81d03dc356df24d55443535eace247b93ff47b4e 25-Feb-2011 Gerrit Renker <gerrit@erg.abdn.ac.uk> iproute: rename 'get_jiffies' since it uses msecs

The get_jiffies() function retrieves rtt-type values in units of
milliseconds. This patch updates the function name accordingly,
following the pattern given by dst_metric() <=> dst_metric_rtt().
/external/iproute2/include/utils.h
94089ef7726cc25bffbd133fe5e1e16e0fd4654e 21-Dec-2010 Gerrit Renker <gerrit@erg.abdn.ac.uk> utils: get_jiffies always uses base=0

get_jiffies() is in all places called in the same manner, with base=0;
simplify argument list by putting the constant value into the function.
/external/iproute2/include/utils.h
db02608b6f408998ea8c823fb791cead3e574f50 02-Feb-2011 Vlad Dogaru <ddvlad@rosedu.org> iproute2: support device group semantics

Add the group keyword to ip link set, which has the following meaning:
If both a group and a device name are pressent, we change the device's
group to the specified one. If only a group is present, then the
operation specified by the rest of the command should apply on an entire
group, not a single device.

So, to set eth0 to the default group, one would use
ip link set dev eth0 group default

Conversely, to set all the devices in the default group down, use
ip link set group default down

Signed-off-by: Vlad Dogaru <ddvlad@rosedu.org>
/external/iproute2/include/utils.h
64c7956061500611061910067d76512afcd2ddb4 01-Dec-2010 Ben Greear <greearb@candelatech.com> Allow 'ip addr flush' to loop more than 10 times

The default remains at 10 for backwards compatibility.

For instance:
# ip addr flush dev eth2
*** Flush remains incomplete after 10 rounds. ***
# ip -l 20 addr flush dev eth2
*** Flush remains incomplete after 20 rounds. ***
# ip -loops 0 addr flush dev eth2
#

This is useful for getting rid of large numbers of IP
addresses in scripts.

Signed-off-by: Ben Greear <greearb@candelatech.com>
/external/iproute2/include/utils.h
7f71c0cae2db61890474e04ba3a26e40219e5561 25-Nov-2008 Olivier Fourdan <ofourdan@redhat.com> ip maddr show” on an infiniband address causes a stack corruption

“ip maddr show” on an infiniband address causes a stack corruption
because the length of the address for Infiniband (20 bytes, as
described in kernel doc Documentation/infiniband/ipoib.txt) does not
fit on the 16 bytes of the field in which it gets stored.

The proposed patch increases the size of the hardware address from 4
__u32 to 8 and also adds a check to avoid overriding the available
size while parsing the hardware address.

This bug affects current upstream code AFAICT.

Hope this helps,
Cheers,
Olivier.

“ip maddr show ib0” causes a stack corruption because the length of the address
for Infiniband (20 see kernel doc Documentation/infiniband/ipoib.txt) does not
fit on the 16 bytes of the field in which it gets stored.

The proposed patch increases the size of the hardware address from 4 u32 to 8
and adds a check to avoid overriding the available size while parsing the
hardware address.
/external/iproute2/include/utils.h
6b1ac654e9364ad279d3c82d8a3ef93efa9f3dfa 31-Dec-2007 Stephen Hemminger <stephen.hemminger@vyatta.com> add decode of match rules

Show ip address etc when decoding output of tc filter show

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/include/utils.h
909dfe2c7ebcfe853b2fe4f995be1c4681d5a2a5 19-Jul-2007 Pavel Emelyanov <xemul@openvz.org> iplink_parse() routine

This routine parses CLI attributes, describing generic link
parameters such as name, address, etc.

This is mostly copy-pasted from iplink_modify().

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/include/utils.h
d21e88354b2a42b026384730a767f2108bcf8efe 12-Oct-2007 Andreas Henriksson <andreas@fatal.se> Fix corruption when using batch files with comments and broken lines.
The problem was that length of allocation changed but caller not told.

Anyway, the patch fixes a problem resulting in a double free
that occurs when using batch files that contains a special combination
of broken up lines and comments as reported in:
http://bugs.debian.org/398912

Thanks to Michal Pokrywka <mpokrywka@hoga.pl> for testcase and information
on which conditions problem could be reproduced under.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/include/utils.h
54e0b2e71d723e3b493ff53d1332b48250f5d4bc 11-Oct-2007 Rick Jones <rick.jones2@hp.com> rto support for ip command

Enable users of ip to specify the times for rtt, rttvar and rto_min
in human-friendly terms a la "tc" while maintaining backwards
compatability with the previous "raw" mechanism. Builds upon
David Miller's uncommited patch to set rto_min.

Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/include/utils.h
56b9406191a15a51320e039df1004967898f304d 25-Feb-2007 jamal <hadi@cyberus.ca> nl_mgrp to crap if base multicast groups exceeded

cheers,
jamal

[GENERAL] nl_mgrp to crap if base multicast groups exceeded

The old scheme of bitmasks works only for the first 32 groups.
Above that the setsockopt scheme must be used.

Signed-off-by: J Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/include/utils.h
8cd09e61e349e94c9569d3bc33d5785d1f81961c 08-Dec-2006 jamal <hadi@cyberus.ca> make muticast group to bitmask conversion generic

[utils] make muticast group to bitmask conversion generic

Signed-off-by: J Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/include/utils.h
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/include/utils.h
351efcde4e62967362a10b29f3b701cfecd7cdfc 01-Sep-2005 shemminger <shemminger> Update header files to 2.6.14
Integrate support for DCCP and tcp_diag into ss
Add -batch to ip command
/external/iproute2/include/utils.h
f332d169246447bd5e258ac03d5ee840a70adb1e 06-Jul-2005 shemminger <shemminger> Cleanup GCC4 warnings about signedness.
/external/iproute2/include/utils.h
02d2ae55c68d2319260163b76c550f45e1077a63 23-Jun-2005 shemminger <shemminger> IPv4 multipath algorithm selection support
/external/iproute2/include/utils.h
90f93024a0818dc691138d8401721e797004b042 07-Jun-2005 shemminger <shemminger> Monitor time patch from Masahide NAKAMURA
/external/iproute2/include/utils.h
f082b64fb40b467bc1f9e5d245114aae4e256d5c 30-Mar-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch addr-del

(Logical change 1.178)
/external/iproute2/include/utils.h
5e8bc6316b1a6c56598cdb29a737d1d670d74e69 14-Mar-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2-hz

(Logical change 1.159)
/external/iproute2/include/utils.h
fb9b1d0f6a9f355bceae435ea43f1c8f3635b2df 07-Feb-2005 osdl.net!shemminger <osdl.net!shemminger> fix potential memory corruption

(Logical change 1.136)
/external/iproute2/include/utils.h
bd641cd661527469a9d15c0fa09f19d017c2299f 28-Sep-2004 org[shemminger]!nakam <org[shemminger]!nakam> [iproute2] XFRM: using flush message type

(Logical change 1.83)
/external/iproute2/include/utils.h
c7699875bee00fbcd057fc62c30d6560b044e007 07-Jul-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch ipxfrm-20040707_2.diff

(Logical change 1.53)
/external/iproute2/include/utils.h
04457b3dcb374ab7cd292ca84e8e73659601ffa1 02-Jun-2004 osdl.org!shemminger <osdl.org!shemminger> Use const char

(Logical change 1.6)
/external/iproute2/include/utils.h
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/include/utils.h
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/include/utils.h