2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 06:45:27 +00:00

- Pass interface_info struct to can_unicast_without_arp.

- Declare can_receive_unicast_unconfigured.
This commit is contained in:
Ted Lemon
1999-03-13 18:54:18 +00:00
parent b547818bbf
commit 319db03d89

View File

@@ -1126,7 +1126,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *)); struct sockaddr_in *, struct hardware *));
#endif #endif
#if defined (USE_SOCKET_SEND) && !defined (USE_SOCKET_FALLBACK) #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)); void maybe_setup_fallback PROTO ((void));
#endif #endif
@@ -1150,7 +1151,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *)); struct sockaddr_in *, struct hardware *));
#endif #endif
#if defined (USE_BPF_SEND) #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)); void maybe_setup_fallback PROTO ((void));
#endif #endif
@@ -1174,7 +1176,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *)); struct sockaddr_in *, struct hardware *));
#endif #endif
#if defined (USE_LPF_SEND) #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)); void maybe_setup_fallback PROTO ((void));
#endif #endif
@@ -1199,7 +1202,8 @@ ssize_t receive_packet PROTO ((struct interface_info *,
struct sockaddr_in *, struct hardware *)); struct sockaddr_in *, struct hardware *));
#endif #endif
#if defined (USE_NIT_SEND) #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)); void maybe_setup_fallback PROTO ((void));
#endif #endif
@@ -1233,7 +1237,8 @@ ssize_t send_packet PROTO ((struct interface_info *,
struct packet *, struct dhcp_packet *, size_t, struct packet *, struct dhcp_packet *, size_t,
struct in_addr, struct in_addr,
struct sockaddr_in *, struct hardware *)); 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)); void maybe_setup_fallback PROTO ((void));
#endif #endif