<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/networking/libiproute/ip_parse_common_args.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-23T10:37:46+00:00</updated>
<entry>
<title>ip: code shrink</title>
<updated>2023-04-23T10:37:46+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-23T10:37:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7ddd233c807f71fc5a303e89ce166bc1cbccf89e'/>
<id>urn:sha1:7ddd233c807f71fc5a303e89ce166bc1cbccf89e</id>
<content type='text'>
function                                             old     new   delta
ipaddr_list_or_flush                                1089    1079     -10

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>whitespace and comment format fixes, no code changes</title>
<updated>2017-10-05T13:19:25+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-10-05T13:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a02a4e98306194dc12bca46d099647bcce602bb9'/>
<id>urn:sha1:a02a4e98306194dc12bca46d099647bcce602bb9</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libiproute: rename invarg(a,b) to invarg_1_to_2(a,b)</title>
<updated>2015-10-14T11:21:01+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-10-14T11:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0f296a3a56b52842057e5a2bc653621a3a6c7bec'/>
<id>urn:sha1:0f296a3a56b52842057e5a2bc653621a3a6c7bec</id>
<content type='text'>
invarg(a,b) - "invalid argument", but how a and b enter the message?

invarg_1_to_2(a,b) is somewhat easier to read: "invalid argument 'a' to 'b'"

Audit of usage revealed a number of bad uses, with too long messages.

   text	   data	    bss	    dec	    hex	filename
 938848	    932	  17448	 957228	  e9b2c	busybox_old
 938788	    932	  17448	 957168	  e9af0	busybox_unstripped

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>whitespace cleanup</title>
<updated>2010-10-29T09:46:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>dvlasenk@redhat.com</email>
</author>
<published>2010-10-29T09:46:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fb132e47370378474c68ad22c1c0cb2ccee178de'/>
<id>urn:sha1:fb132e47370378474c68ad22c1c0cb2ccee178de</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;dvlasenk@redhat.com&gt;
</content>
</entry>
<entry>
<title>libiproute: code shrink by adding FAST_FUNC</title>
<updated>2010-07-24T21:27:38+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-07-24T21:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2e9b5510d687e5418bea85c3b04ad1e1fa797b6f'/>
<id>urn:sha1:2e9b5510d687e5418bea85c3b04ad1e1fa797b6f</id>
<content type='text'>
function                                             old     new   delta
ipaddr_list_or_flush                                1282    1293     +11
ip_parse_common_args                                 153     151      -2
ip_main                                               53      50      -3
ip_do                                                 19      15      -4
do_iptunnel                                          985     980      -5
do_iprule                                            982     977      -5
do_iplink                                           1637    1631      -6
do_iproute                                          2105    2098      -7
do_ipaddr                                           1406    1398      -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/8 up/down: 11/-40)            Total: -29 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libiproute: fix option parsing, so that "ip -o link" works again.</title>
<updated>2008-05-31T07:34:14+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-05-31T07:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d12fcc20dac8415a89898fdaa9bfabaac39e5e33'/>
<id>urn:sha1:d12fcc20dac8415a89898fdaa9bfabaac39e5e33</id>
<content type='text'>
closes bug 3524

</content>
</entry>
<entry>
<title>ip: stop propagating argc; optimize ip_parse_common_args</title>
<updated>2007-11-18T22:56:25+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-11-18T22:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ed6a49c657ae204f6ba8ad84315fa04c09297a7c'/>
<id>urn:sha1:ed6a49c657ae204f6ba8ad84315fa04c09297a7c</id>
<content type='text'>
function                                             old     new   delta
find_pair                                            167     187     +20
static.families                                        -      17     +17
die_must_be_on_off                                     -      11     +11
...
on_off                                                33      22     -11
do_ipaddr                                            103      90     -13
do_iptunnel                                         1001     986     -15
iproute_list_or_flush                               1237    1217     -20
static.ip_common_commands                             43      22     -21
do_iproute                                          2217    2193     -24
parse_args                                          1444    1414     -30
ip_do                                                 47      16     -31
do_iprule                                            994     963     -31
ip_main                                              153     113     -40
ipaddr_modify                                       1357    1305     -52
ipaddr_list_or_flush                                2543    2490     -53
ip_parse_common_args                                 294     159    -135
------------------------------------------------------------------------------
(add/remove: 4/1 grow/shrink: 4/24 up/down: 85/-563)         Total: -478 bytes
   text    data     bss     dec     hex filename
 775561     966    9236  785763   bfd63 busybox_old
 775073     962    9236  785271   bfb77 busybox_unstripped

</content>
</entry>
<entry>
<title>trylink: produce even more info about final link stage</title>
<updated>2007-08-12T20:58:27+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-08-12T20:58:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6ca409e0e4c198fe3081346eebbae3f068fe605a'/>
<id>urn:sha1:6ca409e0e4c198fe3081346eebbae3f068fe605a</id>
<content type='text'>
trylink: explain how to modify link and drastically decrease amount
  of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts

size saving: 0.5k

</content>
</entry>
<entry>
<title>Replace index_in_[sub]str_array with index_in_[sub]strings,</title>
<updated>2007-07-24T15:54:42+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-07-24T15:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=990d0f63eeb502c8762076e5c5499196e09cba55'/>
<id>urn:sha1:990d0f63eeb502c8762076e5c5499196e09cba55</id>
<content type='text'>
which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes.

   text    data     bss     dec     hex filename
 781266    1328   11844  794438   c1f46 busybox_old
 781010    1328   11844  794182   c1e46 busybox_unstripped

</content>
</entry>
<entry>
<title>style fix (stray space before ';')</title>
<updated>2007-07-21T15:08:09+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-07-21T15:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b71c668c577f7780362f7ea632895c11e3760d66'/>
<id>urn:sha1:b71c668c577f7780362f7ea632895c11e3760d66</id>
<content type='text'>
</content>
</entry>
</feed>
