|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T r
Length: 1653 (0x675) Types: TextFile Names: »routes.h«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/snmp/routes.h«
/* routes.h - support for MIB support of the routing tables */ /* * $Header: /f/osi/snmp/RCS/routes.h,v 7.0 89/11/23 22:23:22 mrose Rel $ * * Contributed by NYSERNet Inc. This work was partially supported by the * U.S. Defense Advanced Research Projects Agency and the Rome Air Development * Center of the U.S. Air Force Systems Command under contract number * F30602-88-C-0016. * * * $Log: routes.h,v $ * Revision 7.0 89/11/23 22:23:22 mrose * Release 6.0 * */ /* * NOTICE * * Acquisition, use, and distribution of this module and related * materials are subject to the restrictions of a license agreement. * Consult the Preface in the User's Manual for the full terms of * this agreement. * */ #ifdef BSD44 #include <sys/param.h> #include <machine/endian.h> #include <machine/machparam.h> #endif #include <sys/mbuf.h> #include <net/route.h> /* \f */ #define METRIC_NONE (-1) /* ipRouteMetric[1234] */ #define TYPE_OTHER 1 /* ipRouteType */ #define TYPE_DIRECT 3 #define TYPE_REMOTE 4 #define PROTO_OTHER 1 /* ipRouteProto */ #define PROTO_ICMP 4 #define PROTO_ESIS 10 /* \f */ struct rtetab { #define RT_SIZE 20 /* object instance */ unsigned int rt_instance[RT_SIZE + 1]; int rt_insize; int rt_magic; /* for multiple routes to the same destination */ struct rtentry rt_rt; /* from kernel */ union sockaddr_un rt_dst; /* key */ union sockaddr_un rt_gateway; /* value */ struct rtetab *rt_next; }; extern struct rtetab *rts_inet; #ifdef BSD44 extern struct rtetab *rts_iso; #endif int get_routes (); struct rtetab *get_rtent ();