dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 23 Nov 2007 00:08:54 +0000 (00:08 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 23 Nov 2007 00:08:54 +0000 (00:08 -0000)
commit6884f665bd7bc101f56ff9047afaffbc06dc99e2
tree9eb497068cdee02c112c2f55bd0def8ae6354e92
parent68af8e7a084317191effa9b257483a50d994b11c
dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller

function                                             old     new   delta
udhcp_get_packet                                     146     134     -12
get_raw_packet                                       368     353     -15
networking/udhcp/clientpacket.c
networking/udhcp/common.h
networking/udhcp/options.c
networking/udhcp/options.h
networking/udhcp/packet.c