mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
- The BSD socket code will now permit multiple DHCPv6 server instances to
operate on different interfaces. [ISC-Bugs #17610]
This commit is contained in:
@@ -1124,7 +1124,7 @@ struct interface_info {
|
||||
unsigned remote_id_len; /* Length of Remote ID. */
|
||||
|
||||
char name [IFNAMSIZ]; /* Its name... */
|
||||
int index; /* Its index. */
|
||||
int index; /* Its index in the registry. */
|
||||
int rfdesc; /* Its read file descriptor. */
|
||||
int wfdesc; /* Its write file descriptor, if
|
||||
different. */
|
||||
@@ -2135,7 +2135,7 @@ void get_hw_addr(const char *name, struct hardware *hw);
|
||||
/* socket.c */
|
||||
#if defined (USE_SOCKET_SEND) || defined (USE_SOCKET_RECEIVE) \
|
||||
|| defined (USE_SOCKET_FALLBACK)
|
||||
int if_register_socket(struct interface_info *, int, int);
|
||||
int if_register_socket(struct interface_info *, int);
|
||||
#endif
|
||||
|
||||
#if defined (USE_SOCKET_FALLBACK) && !defined (USE_SOCKET_SEND)
|
||||
@@ -2184,7 +2184,8 @@ void maybe_setup_fallback PROTO ((void));
|
||||
void if_register6(struct interface_info *info, int do_multicast);
|
||||
ssize_t receive_packet6(struct interface_info *interface,
|
||||
unsigned char *buf, size_t len,
|
||||
struct sockaddr_in6 *from, struct in6_addr *to_addr);
|
||||
struct sockaddr_in6 *from, struct in6_addr *to_addr,
|
||||
unsigned int *if_index);
|
||||
void if_deregister6(struct interface_info *info);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user