summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-03-13 18:54:18 +0000
committerTed Lemon <source@isc.org>1999-03-13 18:54:18 +0000
commit319db03d896a0d0daf8ed25114ca2ab3354c873f (patch)
treeedeb4e990a0515e1d7a85a8b2f162057012c69e1
parentb547818bbf8fc155997b2b3ef651d7d1368fdfa6 (diff)
downloadisc-dhcp-319db03d896a0d0daf8ed25114ca2ab3354c873f.tar.gz
- Pass interface_info struct to can_unicast_without_arp.
- Declare can_receive_unicast_unconfigured.
-rw-r--r--includes/dhcpd.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
index c5c74497..c552b2ab 100644
--- a/includes/dhcpd.h
+++ b/includes/dhcpd.h
@@ -1126,7 +1126,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *));
#endif
#if defined (USE_SOCKET_SEND) && !defined (USE_SOCKET_FALLBACK)
-int can_unicast_without_arp PROTO ((void));
+int can_unicast_without_arp PROTO ((struct interface_info *));
+int can_receive_unicast_unconfigured PROTO ((struct interface_info *));
void maybe_setup_fallback PROTO ((void));
#endif
@@ -1150,7 +1151,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *));
#endif
#if defined (USE_BPF_SEND)
-int can_unicast_without_arp PROTO ((void));
+int can_unicast_without_arp PROTO ((struct interface_info *));
+int can_receive_unicast_unconfigured PROTO ((struct interface_info *));
void maybe_setup_fallback PROTO ((void));
#endif
@@ -1174,7 +1176,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *));
#endif
#if defined (USE_LPF_SEND)
-int can_unicast_without_arp PROTO ((void));
+int can_unicast_without_arp PROTO ((struct interface_info *));
+int can_receive_unicast_unconfigured PROTO ((struct interface_info *));
void maybe_setup_fallback PROTO ((void));
#endif
@@ -1199,7 +1202,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *));
#endif
#if defined (USE_NIT_SEND)
-int can_unicast_without_arp PROTO ((void));
+int can_unicast_without_arp PROTO ((struct interface_info *));
+int can_receive_unicast_unconfigured PROTO ((struct interface_info *));
void maybe_setup_fallback PROTO ((void));
#endif
@@ -1233,7 +1237,8 @@ ssize_t send_packet PROTO ((struct interface_info *,
struct packet *, struct dhcp_packet *, size_t,
struct in_addr,
struct sockaddr_in *, struct hardware *));
-int can_unicast_without_arp PROTO ((void));
+int can_unicast_without_arp PROTO ((struct interface_info *));
+int can_receive_unicast_unconfigured PROTO ((struct interface_info *));
void maybe_setup_fallback PROTO ((void));
#endif