#include "dhcpd.h"
#include <sys/ioctl.h>
#include <errno.h>
Go to the source code of this file.
|
isc_result_t | interface_setup () |
|
isc_result_t | interface_initialize (omapi_object_t *ipo, const char *file, int line) |
|
int | begin_iface_scan (struct iface_conf_list *ifaces) |
|
int | next_iface (struct iface_info *info, int *err, struct iface_conf_list *ifaces) |
|
void | end_iface_scan (struct iface_conf_list *ifaces) |
|
void | add_ipv4_addr_to_interface (struct interface_info *iface, const struct in_addr *addr) |
|
void | discover_interfaces (int state) |
|
int | if_readsocket (omapi_object_t *h) |
|
int | setup_fallback (struct interface_info **fp, const char *file, int line) |
|
void | reinitialize_interfaces () |
|
isc_result_t | got_one (omapi_object_t *h) |
|
isc_result_t | dhcp_interface_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value) |
|
isc_result_t | dhcp_interface_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value) |
|
isc_result_t | dhcp_interface_destroy (omapi_object_t *h, const char *file, int line) |
|
isc_result_t | dhcp_interface_signal_handler (omapi_object_t *h, const char *name, va_list ap) |
|
isc_result_t | dhcp_interface_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h) |
|
isc_result_t | dhcp_interface_lookup (omapi_object_t **ip, omapi_object_t *id, omapi_object_t *ref) |
|
isc_result_t | dhcp_interface_create (omapi_object_t **lp, omapi_object_t *id) |
|
isc_result_t | dhcp_interface_remove (omapi_object_t *lp, omapi_object_t *id) |
|
void | interface_stash (struct interface_info *tptr) |
|
void | interface_snorf (struct interface_info *tmp, int ir) |
|
§ BSD_COMP
#define BSD_COMP /* needed on Solaris for SIOCGLIFNUM */ |
§ IF_LINE_LENGTH
#define IF_LINE_LENGTH 1024 |
§ lifc_buf
§ lifc_len
§ lifc_req
§ LIFCONF
§ lifr_addr
#define lifr_addr ifr_addr |
§ lifr_flags
#define lifr_flags ifr_flags |
§ lifr_name
#define lifr_name ifr_name |
§ LIFREQ
§ SIOCGLIFCONF
#define SIOCGLIFCONF SIOCGIFCONF |
§ SIOCGLIFFLAGS
#define SIOCGLIFFLAGS SIOCGIFFLAGS |
§ add_ipv4_addr_to_interface()
void add_ipv4_addr_to_interface |
( |
struct interface_info * |
iface, |
|
|
const struct in_addr * |
addr |
|
) |
| |
§ begin_iface_scan()
§ dhcp_interface_create()
§ dhcp_interface_destroy()
isc_result_t dhcp_interface_destroy |
( |
omapi_object_t * |
h, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
§ dhcp_interface_get_value()
§ dhcp_interface_lookup()
§ dhcp_interface_remove()
§ dhcp_interface_set_value()
§ dhcp_interface_signal_handler()
isc_result_t dhcp_interface_signal_handler |
( |
omapi_object_t * |
h, |
|
|
const char * |
name, |
|
|
va_list |
ap |
|
) |
| |
§ dhcp_interface_stuff_values()
§ discover_interfaces()
void discover_interfaces |
( |
int |
state | ) |
|
§ end_iface_scan()
§ got_one()
§ if_readsocket()
§ interface_initialize()
isc_result_t interface_initialize |
( |
omapi_object_t * |
ipo, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
§ interface_setup()
isc_result_t interface_setup |
( |
void |
| ) |
|
§ interface_snorf()
§ interface_stash()
§ next_iface()
§ reinitialize_interfaces()
void reinitialize_interfaces |
( |
void |
| ) |
|
§ setup_fallback()
§ bootp_packet_handler
§ dhcp_interface_discovery_hook
§ dhcp_interface_setup_hook
§ dhcp_interface_shutdown_hook
§ dhcp_interface_startup_hook
§ dhcp_type_interface
§ dhcpv4_over_dhcpv6
int dhcpv4_over_dhcpv6 = 0 |
§ dummy_interfaces
§ fallback_interface
§ interface_count
§ interface_max
§ interface_vector
§ interfaces
§ interfaces_invalidated
int interfaces_invalidated |
§ limited_broadcast
struct in_addr limited_broadcast |
§ local_address
struct in_addr local_address |
§ local_family
int local_family = AF_INET |
§ local_port
§ quiet_interface_discovery
int quiet_interface_discovery |
§ remote_port