<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/networking/udhcp, branch awk_faster</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=awk_faster</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=awk_faster'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-06-29T13:26:09+00:00</updated>
<entry>
<title>udhcpc: fix a TODO in fill_envp using option scanner</title>
<updated>2020-06-29T13:26:09+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2020-06-23T20:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1f86ecb72974d0b284d73e7fea5acdab104af5f8'/>
<id>urn:sha1:1f86ecb72974d0b284d73e7fea5acdab104af5f8</id>
<content type='text'>
fill_envp now iterates over the packet only once instead of a few hundred times
using the new option scanner.

function                                             old     new   delta
udhcp_scan_options                                     -     189    +189
putenvp                                                -      46     +46
init_scan_state                                        -      22     +22
udhcp_get_option                                     227     104    -123
udhcp_run_script                                     835     601    -234
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 0/2 up/down: 257/-357)         Total: -100 bytes

Signed-off-by: Martin Lewis &lt;martin.lewis.x84@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcp: add option scanner</title>
<updated>2020-06-29T12:57:02+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2020-06-23T20:25:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=acdc8eed89399a9fa5e7478ee40b928c65e3ab4e'/>
<id>urn:sha1:acdc8eed89399a9fa5e7478ee40b928c65e3ab4e</id>
<content type='text'>
Added an option scanner to udhcp to enable iteration over packet options.

Signed-off-by: Martin Lewis &lt;martin.lewis.x84@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>acpid: only display -p if supported in usage</title>
<updated>2020-06-29T12:11:03+00:00</updated>
<author>
<name>Norbert Lange</name>
<email>nolange79@gmail.com</email>
</author>
<published>2020-02-14T21:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c'/>
<id>urn:sha1:79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c</id>
<content type='text'>
Signed-off-by: Norbert Lange &lt;nolange79@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dhcpd: remove hardcoded pidfile path</title>
<updated>2020-06-29T12:07:57+00:00</updated>
<author>
<name>Norbert Lange</name>
<email>nolange79@gmail.com</email>
</author>
<published>2020-02-14T21:16:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=05faa6103bf85ecf362ad677ce761e2266311e3b'/>
<id>urn:sha1:05faa6103bf85ecf362ad677ce761e2266311e3b</id>
<content type='text'>
Signed-off-by: Norbert Lange &lt;nolange79@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: use correct multicast MAC</title>
<updated>2020-06-21T00:56:12+00:00</updated>
<author>
<name>Uwe Glaeser</name>
<email>uwe.glaeser@dormakaba.com</email>
</author>
<published>2020-06-21T00:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=faab906d2867145c81e9bcb1f2bb1f81fd90e734'/>
<id>urn:sha1:faab906d2867145c81e9bcb1f2bb1f81fd90e734</id>
<content type='text'>
function                                             old     new   delta
static.MAC_DHCP6MCAST_ADDR                             -       6      +6

Signed-off-by: Uwe Glaeser &lt;uwe.glaeser@dormakaba.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dhcpc: refactor xmalloc_optname_optval to shrink binary size</title>
<updated>2020-06-09T15:59:56+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2020-06-09T21:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d30d1ebc117db182a6156df182057291d6fbaae1'/>
<id>urn:sha1:d30d1ebc117db182a6156df182057291d6fbaae1</id>
<content type='text'>
function                                             old     new   delta
len_of_option_as_string                               14      13      -1
dhcp_option_lengths                                   14      13      -1
udhcp_str2optset                                     641     637      -4
static.xmalloc_optname_optval                        777     718     -59
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-65)             Total: -65 bytes

Signed-off-by: Martin Lewis &lt;martin.lewis.x84@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcp: comment out unused domain compression code</title>
<updated>2020-06-09T15:22:06+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-09T15:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0cad5f9b6dd80858c3ebb3893e04d2378eddc872'/>
<id>urn:sha1:0cad5f9b6dd80858c3ebb3893e04d2378eddc872</id>
<content type='text'>
function                                             old     new   delta
attach_option                                        411     406      -5
dname_enc                                            381     167    -214
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-219)           Total: -219 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dhcpc: code shrink in good_hostname</title>
<updated>2020-06-08T23:49:10+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2020-05-04T21:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=726d0d148b5a7a21eccaf8b17d2726f56ce2ce8f'/>
<id>urn:sha1:726d0d148b5a7a21eccaf8b17d2726f56ce2ce8f</id>
<content type='text'>
Incorporated valid_domain_label into good_hostname to simplify the implementation.

function                                             old     new   delta
static.xmalloc_optname_optval                        973     958     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-15)             Total: -15 bytes
   text	   data	    bss	    dec	    hex	filename
 993144	  16915	   1872	1011931	  f70db	busybox_old
 993129	  16915	   1872	1011916	  f70cc	busybox_unstripped

Signed-off-by: Martin Lewis &lt;martin.lewis.x84@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpd: mangle hostnames starting with dash ("-option")</title>
<updated>2020-01-14T16:07:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-01-14T16:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=020abc8856f94d6e355f4daa972ac75fb05ae113'/>
<id>urn:sha1:020abc8856f94d6e355f4daa972ac75fb05ae113</id>
<content type='text'>
function                                             old     new   delta
add_lease                                            316     328     +12

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc: fix segmentation fault on empty bin opt</title>
<updated>2019-10-08T13:14:46+00:00</updated>
<author>
<name>Michal Kazior</name>
<email>michal@plume.com</email>
</author>
<published>2019-09-25T12:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1f1988d5256c9705a4f296ed48cdb7e463525ba4'/>
<id>urn:sha1:1f1988d5256c9705a4f296ed48cdb7e463525ba4</id>
<content type='text'>
The following caused udhcpc to segfault:
  busybox udhcpc -i lo -s /dev/null -x 0x3d:

function                                             old     new   delta
udhcp_str2optset                                     629     641     +12

Signed-off-by: Michal Kazior &lt;michal@plume.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
