diff options
| author | Roy Marples <roy@marples.name> | 2009-03-19 17:52:12 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-03-19 17:52:12 +0000 |
| commit | 1abffd5ba55b4e4a2a149001a33349ef39139457 (patch) | |
| tree | 48da83c4a9a64018cfc66e5566531361b7260a9b /dhcpcd.h | |
| parent | 194b1fcb081f274e5759158267bf930f1bf57708 (diff) | |
| download | dhcpcd-1abffd5ba55b4e4a2a149001a33349ef39139457.tar.xz | |
We can now detected primary addresses added or changed in BSD.
As such, we can wait for a 3RDPARTY to configure the interface, such as PPP.
We can then take the destination addess and automatically give it a default
route or any other DHCP option such as DNS servers.
This addresses #159.
Diffstat (limited to 'dhcpcd.h')
| -rw-r--r-- | dhcpcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -82,6 +82,7 @@ struct interface { char name[IF_NAMESIZE]; struct if_state *state; + int flags; sa_family_t family; unsigned char hwaddr[HWADDR_LEN]; size_t hwlen; @@ -118,6 +119,9 @@ extern struct interface *ifaces; struct interface *find_interface(const char *); int handle_args(struct fd_list *, int, char **); +void handle_interface(int, const char *); +void handle_ifa(int, const char *, + struct in_addr *, struct in_addr *, struct in_addr *); void handle_exit_timeout(void *); void start_interface(void *); void start_discover(void *); |
