aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
AgeCommit message (Collapse)Author
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-09-03replacing func() with xfunc() where appropriateDenis Vlasenko
2006-08-20- merge -r15463:15564 from busybox_scratch branch through these changesets:Bernhard Reutner-Fischer
------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-06-16- add needed includes and include busybox.h needed for the ATTRIBUTE define.Bernhard Reutner-Fischer
2006-06-14- correct typoBernhard Reutner-Fischer
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-02Header cleanup: don't #include headers that libbb.h already includes.Rob Landley
2006-05-29Size reductions, mostly switching things to use libbb functions.Rob Landley
2006-05-17Patch from Bernhard Fischer to remove some useless bits.Rob Landley
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-04-05- include proper headers.Bernhard Reutner-Fischer
2006-04-02- janitorial: include proper prototypes in libiproute.Bernhard Reutner-Fischer
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-09- fix typoBernhard Reutner-Fischer
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-03Kill off some unused code that was wasting several k, as noticed byEric Andersen
Denis Vlasenko when building with -ffunction-sections -fdata-sections
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-30sort out yet more type issuesEric Andersen
2006-01-30- add some ATTRIBUTE_UNUSED.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-25just whitespaceTim Riker
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-12- remove warning about redeclaration of __constant_htonsBernhard Reutner-Fischer
- remove warning about format '%ld' expects type 'long int *', but argument #num has type 'long unsigned int *'
2006-01-12- mark argument who of print_route as unused.Bernhard Reutner-Fischer
2005-12-15Patch from dlively (whoever that is, see bug 591) to fixRob Landley
"ip link set <dev> addr".
2005-12-06restore compare_string_array new interface (make broken by landley)"Vladimir N. Oleynik"
2005-10-26 * uniq.c: remove unneeded include and use short boilerplate.Bernhard Reutner-Fischer
* coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq and add boilerplate. * networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes and use short boilerplate. * libiproute/iproute.c: rename round to avoid clashes with older SuSE gcc and use short boilerplate.
2005-10-08- make libiproute compile..Bernhard Reutner-Fischer
2005-09-22network "default" --> bb_INET_default. Reduce 2 exported from find applet"Vladimir N. Oleynik"
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-20applying fix for:Paul Fox
0000203: 'ip route flush cache' not implemented
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 208, bernhardf writes:Mike Frysinger
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-08-11Set default command to list rather than get, its default behaviour nowGlenn L McGrath
coincides with upstream. Patch from debian diff.
2004-05-05Steve Grubb writes:Eric Andersen
Hello, Last November a bug was found in iproute. CAN-2003-0856 has more information. Basically, netlink packets can come from any user. If a program performs action based on netlink packets, they must be examined to make sure they came from the place they are expected (the kernel). Attached is a patch against pre8. Please apply this before releasing 1.00 final. All users of busy box may be vulnerable to local attacks without it. Best Regards, Steve Grubb
2004-04-26Thomas Koeller writes:Eric Andersen
Hi, the following output is from BusyBox 1.0.0-pre10: ~ # ip link help ip: Command "help" is unknown, try "ip link help". tk This patch fixes it by removing the advertisements for the "ip blah help" stuff that is not implemented.
2004-04-12Fix up conditional compile of files needed by ip appletsGlenn L McGrath
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-30Use proper C99 typesEric Andersen
2003-12-19Manousaridis Angelos writes:Eric Andersen
Another issue I found was with the iproute utility. While using another program I found that it failed because the "ip route del" command was not found. I looked at the full iproute implementation and this command exists. The busybox version has the "ip route delete" command. I have created a patch which makes the "ip route del" command an alias to the "ip route delete" command.
2003-08-29"This function was not updating the argc and argv pointers to reflectGlenn L McGrath
the arguments it consumed, which means the calling function encountered them as well. As a result, a command like "ip -6 addr" was yielding a usage error." - Philip Blundell
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14On second thought, this is a better way to fix thingsEric Andersen