[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 02/10] net: dhcp: replace parse_dhcp_vendor() with find_dh
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v3 02/10] net: dhcp: replace parse_dhcp_vendor() with find_dhcp_option() |
Date: |
Fri, 8 Mar 2019 12:29:31 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Mar 07, 2019 at 03:14:08PM +0000, Andre Przywara wrote:
> From: Andrei Borzenkov <address@hidden>
>
> 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 <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel
- [PATCH v3 00/10] net: bootp: add native DHCPv4 support, Andre Przywara, 2019/03/07
- [PATCH v3 05/10] net: dhcp: make grub_net_process_dhcp take an interface, Andre Przywara, 2019/03/07
- [PATCH v3 04/10] net: dhcp: refactor DHCP packet transmission into separate function, Andre Przywara, 2019/03/07
- [PATCH v3 07/10] net: dhcp: use DHCP options for name and bootfile, Andre Przywara, 2019/03/07
- [PATCH v3 08/10] net: dhcp: allow receiving DHCP OFFER and ACK packets, Andre Przywara, 2019/03/07