busybox/networking/udhcp
Martin Lewis 1f86ecb729 udhcpc: fix a TODO in fill_envp using option scanner
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 <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-06-29 15:26:09 +02:00
..
arpping.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
common.c udhcp: add option scanner 2020-06-29 14:57:02 +02:00
common.h udhcp: add option scanner 2020-06-29 14:57:02 +02:00
Config.src dhcp: downgrade "got raw socket fd" message to log3, make log2 default max 2019-05-31 23:52:16 +02:00
d6_common.h udhcpc6: s/iphdr/ip6_hdr/ 2019-08-09 20:43:40 +02:00
d6_dhcpc.c udhcpc6: use correct multicast MAC 2020-06-21 02:56:12 +02:00
d6_packet.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
d6_socket.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
dhcpc.c udhcpc: fix a TODO in fill_envp using option scanner 2020-06-29 15:26:09 +02:00
dhcpc.h udhcpc6: add ELAPSED_TIME option to outgoing packets 2019-09-24 14:01:00 +02:00
dhcpd.c acpid: only display -p if supported in usage 2020-06-29 14:11:03 +02:00
dhcpd.h udhcp: rename server_config to server_data 2019-05-30 16:23:34 +02:00
dhcprelay.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
domain_codec.c udhcp: comment out unused domain compression code 2020-06-09 17:22:06 +02:00
dumpleases.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
Kbuild.src fix breakage found by mass one-applet builds 2016-12-23 02:42:26 +01:00
packet.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
signalpipe.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
socket.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00