projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix header files
[unix-history]
/
usr
/
src
/
sys
/
net
/
route.c
diff --git
a/usr/src/sys/net/route.c
b/usr/src/sys/net/route.c
index
3c0d1b8
..
b46049b
100644
(file)
--- a/
usr/src/sys/net/route.c
+++ b/
usr/src/sys/net/route.c
@@
-1,4
+1,4
@@
-/* route.c 4.1
0 82/06/12
*/
+/* route.c 4.1
2 82/10/09
*/
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-6,8
+6,6
@@
#include "../h/protosw.h"
#include "../h/socket.h"
#include "../h/ioctl.h"
#include "../h/protosw.h"
#include "../h/socket.h"
#include "../h/ioctl.h"
-#include "../net/in.h"
-#include "../net/in_systm.h"
#include "../net/if.h"
#include "../net/af.h"
#include "../net/route.h"
#include "../net/if.h"
#include "../net/af.h"
#include "../net/route.h"
@@
-27,7
+25,6
@@
rtalloc(ro)
struct sockaddr *dst = &ro->ro_dst;
int af = dst->sa_family;
struct sockaddr *dst = &ro->ro_dst;
int af = dst->sa_family;
-COUNT(RTALLOC);
if (ro->ro_rt && ro->ro_rt->rt_ifp) /* XXX */
return;
if (af >= AF_MAX)
if (ro->ro_rt && ro->ro_rt->rt_ifp) /* XXX */
return;
if (af >= AF_MAX)
@@
-98,7
+95,6
@@
rtrequest(req, entry)
int af, s, error = 0, hash, (*match)();
struct ifnet *ifp;
int af, s, error = 0, hash, (*match)();
struct ifnet *ifp;
-COUNT(RTREQUEST);
af = entry->rt_dst.sa_family;
if (af >= AF_MAX)
return (EAFNOSUPPORT);
af = entry->rt_dst.sa_family;
if (af >= AF_MAX)
return (EAFNOSUPPORT);