busybox/networking
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
..
2020-06-23 03:13:55 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-10-25 13:41:31 +02:00
2019-01-10 20:18:02 +01:00
2019-01-01 15:40:43 +01:00
2019-01-01 15:40:43 +01:00
2019-01-01 15:40:43 +01:00
2018-11-25 16:17:26 +01:00
2019-10-25 13:39:41 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00