Andrei Borzenkov 4c44bbd835 net/dhcp: Replace parse_dhcp_vendor() with find_dhcp_option()
For proper DHCP support we will need to parse DHCP options from a packet
more often and at various places.

Refactor the option parsing into a new function, which will scan a packet to
find *a particular* option field. Use that new function in places where we
were dealing with DHCP options before.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-03-12 20:04:07 +01:00
..
2017-05-03 13:03:50 +02:00
2017-05-03 13:03:50 +02:00
2016-04-30 09:13:34 +03:00
2016-02-25 22:38:52 +03:00
2017-05-03 13:03:50 +02:00
2016-01-16 20:59:50 +03:00
2016-01-16 21:27:57 +03:00