<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/networking/udhcp/d6_common.h, branch zstd</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=zstd</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=zstd'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2022-12-13T23:36:59+00:00</updated>
<entry>
<title>udhcpc6: add some comments</title>
<updated>2022-12-13T23:36:59+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-12-13T23:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e977853e70d4a8c346a1ad765fc8353ce0e2ced8'/>
<id>urn:sha1:e977853e70d4a8c346a1ad765fc8353ce0e2ced8</id>
<content type='text'>
RFCs for DHCPv6 are written rather badly...

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: code shrink - sending functions do not need ifindex parameter</title>
<updated>2020-12-15T20:55:15+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-15T20:55:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f3d6711c971cde8ed3890a47020c5083a383e606'/>
<id>urn:sha1:f3d6711c971cde8ed3890a47020c5083a383e606</id>
<content type='text'>
function                                             old     new   delta
d6_send_raw_packet_from_client_data_ifindex            -     427    +427
d6_send_kernel_packet_from_client_data_ifindex         -     275    +275
send_d6_renew                                        182     176      -6
perform_d6_release                                   246     240      -6
d6_mcast_from_client_data_ifindex                     45      39      -6
d6_send_kernel_packet                                274       -    -274
d6_send_raw_packet                                   429       -    -429
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 0/3 up/down: 702/-721)          Total: -19 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: s/iphdr/ip6_hdr/</title>
<updated>2019-08-09T18:43:40+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-08-09T18:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4f70a32f46f12af59b71e869348dc5db9d0bd930'/>
<id>urn:sha1:4f70a32f46f12af59b71e869348dc5db9d0bd930</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: Fixed aliasing compilation error</title>
<updated>2019-05-26T12:24:32+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2019-05-26T12:22:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=818d9e02f2de87aef3ba72c2b3bcec6eed4ef974'/>
<id>urn:sha1:818d9e02f2de87aef3ba72c2b3bcec6eed4ef974</id>
<content type='text'>
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>udhcpc6: code shrink</title>
<updated>2019-04-14T15:01:10+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-04-14T15:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=60bf77f7e7c4513a781e9acc1b9bca64c4051140'/>
<id>urn:sha1:60bf77f7e7c4513a781e9acc1b9bca64c4051140</id>
<content type='text'>
function                                             old     new   delta
d6_read_interface                                    593     582     -11

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: add DHCPv6 boot options</title>
<updated>2018-05-14T08:46:00+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-05-14T04:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=23cbd7d5bbbf8f5fb65d1ff3a92323f2bb300f63'/>
<id>urn:sha1:23cbd7d5bbbf8f5fb65d1ff3a92323f2bb300f63</id>
<content type='text'>
Add support for 'bootfile-url' and 'bootfile-params' as defined by
RFC5970 "DHCPv6 Options for Network Boot".

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: add support of prefix delegation</title>
<updated>2018-01-16T20:39:14+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-01-16T20:39:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ef5207f093216fe6cf6f1bc7a098bcab5f435a98'/>
<id>urn:sha1:ef5207f093216fe6cf6f1bc7a098bcab5f435a98</id>
<content type='text'>
Based on patch by DannyAAM &lt;danny@saru.moe&gt;

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: add comments about option 39, no code changes</title>
<updated>2017-06-27T16:31:08+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-06-27T16:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=470bebe672fa179c89c0b04ee252ca564e8ee4d5'/>
<id>urn:sha1:470bebe672fa179c89c0b04ee252ca564e8ee4d5</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: add support for timezones</title>
<updated>2017-06-26T17:42:48+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-06-26T17:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=234b82ca19afb20276722334ecf1576f801cb588'/>
<id>urn:sha1:234b82ca19afb20276722334ecf1576f801cb588</id>
<content type='text'>
Basedon patch by Bernd Holzmüller &lt;bernd.holzmueller@tiggerswelt.net&gt;

function                                             old     new   delta
option_to_env                                        504     580     +76

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcp6: fix releasing</title>
<updated>2017-03-27T20:44:22+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-03-27T20:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ed898ed2ddc1e3627555488671155420a32d0167'/>
<id>urn:sha1:ed898ed2ddc1e3627555488671155420a32d0167</id>
<content type='text'>
Patch is based on work by tiggerswelt.net. They say:
"
We wanted udhcpc6 to release its IPv6-Addresses on
quit (-R-commandline-option) which turned out to generate once again
kind of garbage on the network-link.
We tracked this down to two issues:

 - udhcpc6 uses a variable called "srv6_buf" to send packets to
   the dhcp6-server, but this variable is never initialized correctly
   and contained kind of a garbage-address

 - The address of the dhcp6-server is usually a link-local-address,
   that requires an interface-index when using connect() on an AF_INET6-
   socket

We added an
additional parameter for ifindex to d6_send_kernel_packet() and made
d6_recv_raw_packet() to capture the address of the dhcp6-server and
forward it to its callee.
"

Three last patches together:

function                                             old     new   delta
d6_read_interface                                      -     454    +454
d6_recv_raw_packet                                     -     283    +283
option_to_env                                        249     504    +255
.rodata                                           165226  165371    +145
send_d6_discover                                     195     237     +42
send_d6_select                                       118     159     +41
send_d6_renew                                        173     186     +13
send_d6_release                                      162     173     +11
opt_req                                                -      10     +10
d6_send_kernel_packet                                304     312      +8
opt_fqdn_req                                           -       6      +6
d6_mcast_from_client_config_ifindex                   48      51      +3
d6_find_option                                        63      61      -2
udhcpc6_main                                        2416    2411      -5
static.d6_recv_raw_packet                            266       -    -266
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 8/2 up/down: 1271/-273)         Total: 998 bytes

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