busybox/networking/udhcp
Martin Lewis 4468c569f7 domain_codec: optimize dname_dec and convert_dname
dname_dec: now iterates over the packet only once.
convert_dname: remove redundant checks and code shrink.

While testing I've noticed that some of the tests didn't compile
properly, so I fixed them.

function                                             old     new   delta
dname_dec                                            286     267     -19
dname_enc                                            166     143     -23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-42)             Total: -42 bytes

Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-07-12 21:19:13 +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 domain_codec: optimize dname_dec and convert_dname 2020-07-12 21:19:13 +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