Abstract uses of get_option_data() outside of ifchange.c and options.c.
The eventual goal is to eliminate uses of get_option_data() in ifchange.c and will make it a static function in options.c.
This commit is contained in:
@ -82,4 +82,9 @@ void add_option_vendor(struct dhcpmsg *packet);
|
||||
void add_option_clientid(struct dhcpmsg *packet);
|
||||
void add_option_hostname(struct dhcpmsg *packet);
|
||||
|
||||
uint32_t get_option_router(struct dhcpmsg *packet);
|
||||
uint8_t get_option_msgtype(struct dhcpmsg *packet);
|
||||
uint32_t get_option_serverid(struct dhcpmsg *packet, int *found);
|
||||
uint32_t get_option_leasetime(struct dhcpmsg *packet);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user