summaryrefslogtreecommitdiff
path: root/networking/libiproute/ll_proto.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-151-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some are fixing real bugs. function old new delta syslogd_main 938 958 +20 get_signum 136 143 +7 obj_load 777 782 +5 recv_from_to 210 214 +4 get_next_block 1795 1799 +4 display_topmem_process_list 1117 1121 +4 logread_main 484 487 +3 buffer_fill_and_print 73 76 +3 kill_main 687 689 +2 ll_remember_index 240 241 +1 do_stats 452 453 +1 if_readconf 166 165 -1 display_process_list 1192 1191 -1 run_applet_and_exit 507 505 -2 print_signames 33 31 -2 parse_one_line 1092 1090 -2 find_out_spec 57 55 -2 add_ksymoops_symbols 421 419 -2 ash_main 1407 1402 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 11/8 up/down: 54/-17) Total: 37 bytes
* random s/short/int/Denis Vlasenko2008-02-161-2/+2
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* ll_types.c: optimize link type table, make it conditionalDenis Vlasenko2007-10-291-1/+9
| | | | | | | | | | | | | | | | on FEATURE_IP_RARE_PROTOCOLS function old new delta static.arphrd_name - 373 +373 static.arphrd_type - 124 +124 ll_type_n2a 58 78 +20 static.arphrd_names 496 - -496 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/0 up/down: 517/-496) Total: 21 bytes text data bss dec hex filename 776880 974 9420 787274 c034a busybox_old 776594 974 9420 786988 c022c busybox_unstripped
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-251-2/+2
| | | | <wharms@bfs.de>)
* delete tons of extra #includesDenis Vlasenko2007-05-311-1/+0
|
* preparatory patch for -Wwrite-strings #6Denis Vlasenko2007-01-291-1/+1
|
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-2/+1
|
* add -Wundef, fix uncovered bugsDenis Vlasenko2006-11-171-1/+1
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-181-2/+1
| | | | that and callers wind up typecasting it back.
* - janitorial: include proper prototypes in libiproute.Bernhard Reutner-Fischer2006-04-021-0/+2
|
* just whitespaceTim Riker2006-01-251-8/+8
|
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-1/+1
| | | | which were otherwise cluttering the global namespace.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-36/+36
|
* On second thought, this is a better way to fix thingsEric Andersen2003-07-141-46/+5
|
* Don't use Linux kernel headersEric Andersen2003-07-141-3/+46
| | | | -Erik
* Patch from Lars Kellogg-Stedman:Eric Andersen2003-06-201-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | I'm building BusyBox using a development kit for MontaVista Hardhat Linux (PPC) -- which, at least in this instance, is based around kernel 2.2.14. I've had to massage a few files in networking/libiproute/ to make it compile. Specifically: (1) Added a #include <sys/uio.h> for the iovec structure in libnetlink.c, (2) Put ifdefs in ll_types.c and ll_proto.c around various constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined, (3) Make do_changename() in iplink.c require a kernel >= 2.4.0 -- the ifr structure in my environment doesn't have the ifr_name attribute. I've assumed this is a kernel dependency -- let me know if I ought to be checking something else. In the absence of the correct kernel, do_changename() always returns 0. Attached is a patch against the current CVS that will make these changes. -- Lars
* Only included headers that are used.Glenn L McGrath2002-12-161-10/+0
|
* IP applet by Bastian Blank <waldi@debian.org>Glenn L McGrath2002-11-101-0/+118