SCCS-vsn: sys/net/if.c 6.13
SCCS-vsn: sys/net/if.h 6.14
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)if.c 6.12 (Berkeley) %G%
+ * @(#)if.c 6.13 (Berkeley) %G%
return ((struct ifaddr *)0);
}
return ((struct ifaddr *)0);
}
/*
* Find an interface using a specific address family
*/
/*
* Find an interface using a specific address family
*/
return (ifa);
return ((struct ifaddr *)0);
}
return (ifa);
return ((struct ifaddr *)0);
}
/*
* Mark an interface down and notify protocols of
/*
* Mark an interface down and notify protocols of
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)if.h 6.13 (Berkeley) %G%
+ * @(#)if.h 6.14 (Berkeley) %G%
#ifdef KERNEL
#include "../net/if_arp.h"
#ifdef KERNEL
#include "../net/if_arp.h"
-#ifdef INET
-struct ifqueue ipintrq; /* ip packet input queue */
-#endif
struct ifqueue rawintrq; /* raw packet input queue */
struct ifnet *ifnet;
struct ifqueue rawintrq; /* raw packet input queue */
struct ifnet *ifnet;
-struct ifaddr *ifa_ifwithaddr(), *ifa_ifwithnet(), *ifa_ifwithaf();
+struct ifaddr *ifa_ifwithaddr(), *ifa_ifwithnet();
struct ifaddr *ifa_ifwithdstaddr();
#else KERNEL
#include <net/if_arp.h>
struct ifaddr *ifa_ifwithdstaddr();
#else KERNEL
#include <net/if_arp.h>