OLD | NEW |
1 /* | 1 /* |
2 * dhcpcd - DHCP client daemon | 2 * dhcpcd - DHCP client daemon |
3 * Copyright (c) 2006-2009 Roy Marples <roy@marples.name> | 3 * Copyright (c) 2006-2009 Roy Marples <roy@marples.name> |
4 * All rights reserved | 4 * All rights reserved |
5 | 5 |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 extern char **ifdv; | 121 extern char **ifdv; |
122 extern struct interface *ifaces; | 122 extern struct interface *ifaces; |
123 | 123 |
124 struct interface *find_interface(const char *); | 124 struct interface *find_interface(const char *); |
125 int handle_args(struct fd_list *, int, char **); | 125 int handle_args(struct fd_list *, int, char **); |
126 void handle_interface(int, const char *); | 126 void handle_interface(int, const char *); |
127 void handle_ifa(int, const char *, | 127 void handle_ifa(int, const char *, |
128 struct in_addr *, struct in_addr *, struct in_addr *); | 128 struct in_addr *, struct in_addr *, struct in_addr *); |
129 void handle_exit_timeout(void *); | 129 void handle_exit_timeout(void *); |
130 void start_interface(void *); | 130 void start_interface(void *); |
| 131 void stop_interface(struct interface *iface); |
131 void start_discover(void *); | 132 void start_discover(void *); |
132 void start_request(void *); | 133 void start_request(void *); |
133 void start_renew(void *); | 134 void start_renew(void *); |
134 void start_rebind(void *); | 135 void start_rebind(void *); |
135 void start_reboot(struct interface *); | 136 void start_reboot(struct interface *); |
136 void start_expire(void *); | 137 void start_expire(void *); |
| 138 void send_release(struct interface *); |
137 void send_decline(struct interface *); | 139 void send_decline(struct interface *); |
138 void close_sockets(struct interface *); | 140 void close_sockets(struct interface *); |
139 void drop_config(struct interface *, const char *); | 141 void drop_config(struct interface *, const char *); |
140 int select_profile(struct interface *, const char *); | 142 int select_profile(struct interface *, const char *); |
141 | 143 |
142 #endif | 144 #endif |
OLD | NEW |