Separate out DHCP processing
So we can later call it on UDP datagrams obtained from UDP socket.
This commit is contained in:
parent
e53fccd36c
commit
c3eb1be0b4
5 changed files with 44 additions and 17 deletions
2
dhcp6.h
2
dhcp6.h
|
|
@ -212,7 +212,7 @@ struct dhcp6_opt_ia_prefix {
|
|||
} __attribute__((packed));
|
||||
|
||||
// dhcp6.c
|
||||
void dhcpv6_process(uint16_t s, uint16_t t, uint8_t *p, uint16_t l);
|
||||
void dhcpv6_process_from_ipv6(uint16_t s, uint16_t t, uint8_t *p, uint16_t l);
|
||||
void dhcpv6_init(void);
|
||||
|
||||
#endif /* __DHCP6_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue