]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add interface argument to can_*().
authorTed Lemon <source@isc.org>
Sat, 13 Mar 1999 18:56:47 +0000 (18:56 +0000)
committerTed Lemon <source@isc.org>
Sat, 13 Mar 1999 18:56:47 +0000 (18:56 +0000)
common/bpf.c
common/dlpi.c
common/lpf.c
common/nit.c
common/socket.c
common/upf.c

index ef8244c4d29187715413bb6cf6d09ff95d594f0e..eee1d71fffef345904168a5ae5805057c05fd215 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: bpf.c,v 1.23 1999/03/13 18:53:14 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: bpf.c,v 1.24 1999/03/13 18:56:46 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -412,12 +412,14 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
        return 0;
 }
 
-int can_unicast_without_arp ()
+int can_unicast_without_arp (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
 
-int can_receive_unicast_unconfigured ()
+int can_receive_unicast_unconfigured (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
index a32aca966f23daebed2f6d1ed95a56734a24c5df..549348a3ef1e5253eec538e8c0ca8ad8f883f167 100644 (file)
 
 #ifndef lint
 static char copyright[] =
-"$Id: dlpi.c,v 1.6 1999/03/13 18:53:14 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dlpi.c,v 1.7 1999/03/13 18:56:46 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 static int strioctl PROTO ((int fd, int cmd, int timeout, int len, char *dp));
@@ -1242,12 +1242,14 @@ static void sigalrm (sig)
 }
 #endif /* !defined (USE_POLL) */
 
-int can_unicast_without_arp ()
+int can_unicast_without_arp (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
 
-int can_receive_unicast_unconfigured ()
+int can_receive_unicast_unconfigured (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
index dcaee002fe81755edabafe4712d540c6a0b6beb5..bbcfaea19d5abfe7a19b68b7525bd3668105bc56 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: lpf.c,v 1.5 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: lpf.c,v 1.6 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -275,12 +275,14 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
        return length;
 }
 
-int can_unicast_without_arp ()
+int can_unicast_without_arp (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
 
-int can_receive_unicast_unconfigured ()
+int can_receive_unicast_unconfigured (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
index ad89c93178cee9d097b41e28cdfd55b0ee68f699..b741e83809bb533e0ec509fbbf8fd0b6c61227bd 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: nit.c,v 1.19 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: nit.c,v 1.20 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -355,12 +355,14 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
        return length;
 }
 
-int can_unicast_without_arp ()
+int can_unicast_without_arp (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
 
-int can_receive_unicast_unconfigured ()
+int can_receive_unicast_unconfigured (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
index c556ebfb7be9a05a95022ca7de95addd88fc39f0..c97a08ce257ee9e85e50f55b87e0fc9779e2f0a2 100644 (file)
@@ -50,7 +50,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: socket.c,v 1.32 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: socket.c,v 1.33 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -264,13 +264,15 @@ void fallback_discard (protocol)
 #endif /* USE_SOCKET_SEND */
 
 #if defined (USE_SOCKET_SEND) && !defined (USE_SOCKET_FALLBACK)
-int can_unicast_without_arp ()
+int can_unicast_without_arp (ip)
+       struct interface_info *ip;
 {
        return 0;
 }
 
 /* On many stacks, we should return 1 here. */
-int can_receive_unicast_unconfigured ()
+int can_receive_unicast_unconfigured (ip)
+       struct interface_info *ip;
 {
        return 0;
 }
index 7b6fbd5c35b5a6997244f0cba2fe9cf2316d98b9..0314b702910b9d03bf009e4fb32854597c135eed 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: upf.c,v 1.7 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: upf.c,v 1.8 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -306,12 +306,14 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
        return length;
 }
 
-int can_unicast_without_arp ()
+int can_unicast_without_arp (ip)
+       struct interface_info *ip;
 {
        return 1;
 }
 
-int can_receive_unicast_unconfigured ()
+int can_receive_unicast_unconfigured (ip)
+       struct interface_info *ip;
 {
        return 1;
 }