src_isis

所属分类:TCP/IP协议栈
开发工具:Unix_Linux
文件大小:1936KB
下载次数:18
上传日期:2007-03-09 08:59:39
上 传 者管理员
说明:  isis协议实现源码,相当于tcp/ip协议中的IP
(isis protocol source code, the equivalent of tcp/ip IP agreement)

文件列表:
src (0, 2002-05-05)
src\compat (0, 2002-05-05)
src\configs (0, 2002-05-05)
src\mib (0, 2002-05-05)
src\util (0, 2002-05-05)
src\VERSION (13, 2001-01-03)
src\unix.h (6862, 2001-01-03)
src\trace.h (12933, 2001-01-03)
src\trace.c (31183, 2001-01-03)
src\task.h (30874, 2001-01-03)
src\task.c (161887, 2001-01-03)
src\targets.h (6134, 2001-01-03)
src\targets.c (15085, 2001-01-03)
src\str.h (4216, 2001-01-03)
src\str.c (29772, 2001-01-03)
src\standalone.c (4556, 2001-01-03)
src\sockaddr.h (8612, 2001-01-03)
src\sockaddr.c (24122, 2001-01-03)
src\snmp_isode.h (5595, 2001-01-03)
src\snmp_isode.c (30724, 2001-01-03)
src\slsp_var.h (21723, 2001-01-03)
src\slsp_rt.c (21779, 2001-01-03)
src\slsp_proto.h (50412, 2001-01-03)
src\slsp_nbr.c (70893, 2001-01-03)
src\slsp_mib.c (14147, 2001-01-03)
src\slsp_io.c (55664, 2001-01-03)
src\slsp_init.c (19533, 2001-01-03)
src\slsp_db.c (108697, 2001-01-03)
src\slsp.h (24050, 2001-01-03)
src\scram.h (2668, 2001-01-03)
src\scram.c (14589, 2001-01-03)
src\rt_var.h (6580, 2001-01-03)
src\rt_table.h (24462, 2001-01-03)
src\rt_table.c (73964, 2001-01-03)
src\rt_static.c (28480, 2001-01-03)
src\rt_redirect.c (21275, 2001-01-03)
src\rt_radix.c (45623, 2001-01-03)
src\rt_mib.c (22754, 2001-01-03)
src\rt_aggregate.c (22065, 2001-01-03)
src\ripquery.c (18821, 2001-01-03)
... ...

# # README,v 1.51.2.7 1995/05/01 16:25:16 jch Exp # # Gated Release 3.5 # Copyright (c) 1990,1991,1992,1993,1994,1995 by Cornell University. All # rights reserved. Refer to Particulars and other Copyright notices at # the end of this file. # # Configuring gated for compilation A configuration file is needed so gated can be configured to compile on your system. This configuration file consists of one or more lines that start with keywords. All keywords are in lower case. Blank lines and lines starting with a pound sign (`#') are ignored. The default for all of the following options are listed in parentheses. Paths for installation: bindir (/etc) Where to install the support executables. Depends on system, for BSD 4.3 Reno this should probably be `/usr/bin'. Some people like to use `/usr/local/bin'. sbindir (/etc) Where to install the gated executables. Depends on the system, for BSD 4.3 Reno and later this should probably be `sbin' or `/usr/sbin'. Some people like to use `/usr/local/sbin'. destdir () Prefix used for installing in bindir, normally empty. objdir (obj) Directory where gated should put it's object files. If you only compile for one architecture, use `obj'. If you compile for many, use `obj.' suffixed with the output of util/archtype. Note that the Makefile in the source directory looks for the the latter and then tries the former. If your machine does not supply a program to determine the archtype, archtype uses the first level of the hostname. If you compile on several machines, use symbolic links to point their obj directories to the same place. signal_h (/usr/include/signal.h) Where to find the definition on signals. Some systems use `/usr/include/sys/signal.h'. This is only required when NEED_SIGNAME is defined. template (Makefile.template) Makefile template used to build makefiles. In relation to utildir compatdir (compat) Where the source files for the compaitiblility routes reside in relation to srcdir. srcdir (..) Where the src files reside in relation to objdir. For BSD 4.3 Reno systems using a /usr/obj heirchy, this should be the rooted path name to srcdir. smandir (../man) Where the sources of the man files reside in relation to the source directory. mandir (/usr/man) Root of tree where man pages will be installed. See also `mantype'. mibdir (mib) Directory in relation to srcdir where the MIB defintions files (input to mosy) are located. utildir (util) Where the configuration scripts and other files reside, in relation to srcdir. Gated programs: These specify the compiled and installed names of gated an it's support programs. gated (gated) gdc (gdc) ripquery (ripquery) ospf_monitor (ospf_monitor) Programs: Programs used by Make. These should not need to be changed unless the programs are not in your path, or the versions in your path are non-standard and do not work with this software. awk (awk) cat (cat) chgrp (chgrp) chmod (chmod) date (date) make (make) mv (mv) rm (rm) sed (sed) size (size) tee (tee) touch (touch) Compiler, linker, ...: cc (cc) Which compiler to use. On an RT where HighC is the default, use `hc -U__STDC__'. If you have gcc you may want to use that. cflags (-O) Compiler flags. You may want to use `-g' when you are debugging. With gcc you can specify both at the same time. head (head -25) Command to use to see the first few lines of all c and h files to look for $Header: when buliding version.c. If you don't have head try `sed 25q'. If that does not work use cat, it will work but will be alot slower. install (install) Program to install the executables into the correct system directories. If there is no `install' program on your system, can try `@(SRCDIR)/@(UTILDIR)/install' installflags (-c -s) Flags to specify to install program when installing the executables on your system. ldflags () Loader flags. `-lresolv' may be handy if you want to use the nameserver and don't have the resolver routines in libc. Under SunOS 4.0 and later, BSD 4.4 and BSDI you will need `-lkvm'. For BSD 4.3 Reno you will need `-lutil'. For AIX 3.1 on an RS/6000 you will need `-lm -lbsd'. NOTE: In SunOS 4.1.1 there is a bug in the dynamically linked libkvm. If you are using Sun's cc, or gcc 2.0 or greater, you will need to specify `-Bstatic -lkvm' (`-static -lkvm' for gcc 2.0) as a workaround. For A/UX 2.01 you will need `-lm -lbsd'. ldothers () Additional loader flags that should be included after the gated "compatibility" library. For IRIX 4.0 you will need `-lmld'. lex (lex) Lexical analyzer generator to use. Lex is OK, Flex is better. lflags (-v) Flags to lex. For flex 2.1 use `-p -s -c -I'. For flex 2.4.6 use `-p -s -c'. For BSD 4.3 Reno use `-p -s -C -I'. If you leave off the `-I' with flex 2.1, the %include directive will not work properly. If you have a large configuration file to parse and flex is a bottleneck, use flex 2.4.6 (or later) and `-p -Cfe'. This will generate a larger parser, but faster lexical analyzer. link (ln -s) Program to use to create links. If your system does not support symbolic links, just use `ln'. lint (lint) Program to error check the code. lintflags (-hxz) Flags for lint. mantype (bsd42) The method used to install man pages. Choose the most appropriate method from the following list: bsd42 ${MANDIR}/man/ bsd44 ${MANDIR}/cat/thing.0 ros ${MANDIR}/man/ -- using install sys5 ${MANDIR}/_man/man/ aix ${MANDIR}/_man/man/ local ${MANDIR}/manl/.l l ${MANDIR}/man/.l hpux hpux mkdep (mkdep) The script use to build dependencies, relative to `utildir' specified above. If your system has one, you can use that. If not, use `mkdep'. If you have gcc you can use `mkdep -flag -MM' which only generates dependencies based on the gated include files; it leaves out the system include files. On Ultrix systems, use `mkdep -flag -Em'. On systems where the compiler does not support building dependency lists, or does not produce them properly, use `mkdep.canned'. On SunOS 4 and later systems, you can use `mkdep.keepstate' which adds a `.KEEP_STATE:' rule to the makefile causing make to automatically build and maintain dependencies. sed_limit (50) The maximum number of substitution commands per sed invocation. Some systems (SCO?) require this to be set lower. tags (etags) The program used to generate the TAGS file. The TAGS file is used by some editors to quickly locate the definition of a function and/or pre-processor define. The default ``etags'' is for emacs. tflags () The flags for the program that generates the TAGS file. This default is correct for the ``etags'' program provided with emacs 19. yacc (yacc) Parser generater. A current release of bison is recommended. Some versions of yacc will not return error indications when parsing is complete. Depending on the protocols configured, the parser may be too big for yacc to proces. yflags (-d) Flags for the parser generator. If you use bison `-d -y -v' is recommended. ranlib (ranlib) Command to update the symbol table in a library. Should be `ranlib' on BSD. Since AIX/PS2 and IRIX 4.0 do not have ranlib, use `:'. Configuration for ospf_monitor: Ospf_monitor is a program that allows the monitoring of some of the OSPF state of gated. It does not allow any modification of gated state although responding to a query uses gated resources. ospfm_mode (4755) ospfm_user (root) The mode and userid with which to install ospf_monitor. For normal users to make use of this program it must be setuid to root. It only runs as root long enough to obtain the OSPF socket it uses to send queries. Configuration for gdc: Gdc is a program that allows a selected group of non-root userids to control gated. config_mode (06***) The file mode of the gated configuration file. gdc_mode (4750) The mode with which to install gdc. This mode will only be used if the group specified with gdc_group exists. If installed as a setuid program Gdc will only allow members of gdc_group to control gated. gdc_group (gdmaint) The group (from /etc/groups) for people allowed to start/stop and reconfigure gated. If you do not want to create a new group, the use of group wheel may be appropriate. GDC_RESOURCE Compile in gdc support for setting system resource limits before starting gated. Defining any of the following four limits will automatically define this option. GDC_CORESIZE Sets the maximum size of a core dump a gated started with gdc will produce. Useful on systems where the default maximum core dump size is too small for gated to produce a full core dump on errors. To set this limit as high as possible, use RLIM_INFINITY (or see the man page for setrlimit()). GDC_FILESIZE Sets the maximum file size a gated started with gdc will produce. Useful on systems where the default maximum file dump size is too small for gated to produce a full state dump when requested. To set this limit as high as possible, use RLIM_INFINITY (or see the man page for setrlimit()). GDC_DATASIZE Sets the maximum size of the data segment of a gated started with gdc. Useful on systems where the default data segment size is too small for gated to run. To set this limit as high as possible, use RLIM_INFINITY (or see the man page for setrlimit()). GDC_STACKSIZE Sets the maximum size of stack of a gated started with gdc. Useful on systems where the default maximum stack size is too small for gated to run. To set this limit as high as possible, use RLIM_INFINITY (or see the man page for setrlimit()). GDC_TZ_HACK Some systems require that the TZ environment variable be passed down to retain knowledge of the local timezone. While this model is broken (it does not allow for starting system daemons from processes with a different timezone), it is necessary for gdc to pass the value of the TZ variable to gated at startup or gated will report times in GMT. Paths for runtime: Where a %s appears it is replaced by the name under which gated was started. path_config (/etc/%s.conf) Where to find the configuration file. path_dump (/usr/tmp/%s_dump) Where to put a gated state dump. Some newer systems prefer `/var/tmp/%s_dump'. path_dumpdir (/usr/tmp) Where to leave a gated core dump if possible. Some systems prefer `/var/tmp'. path_pid (/etc/%s.pid) Where to write the pid of the currenly running gated. On BSD 4.3 Reno this should be `/var/run/%s.pid'. path_version (/etc/%s.version) Where to write version information for the currently running gated. On BSD 4.3 Reno this should be `/var/run/%s.version'. path_unix (/vmunix) Where to find the kernel symbol table for nlist() if it is not /vmunix and the system does not define _PATH_UNIX. For AIX this is usually `/unix', for HP systems `/hp-ux'. Compile time options: options () Compile-time options. These result in #define keywords in the code. They may be a single keyword, or a keyword followed by an equals `=' and a value to be assigned. If the value contains spaces, surround it with double quotes `"'. If the value requires double quotes (i.e. a string) surround it with duplicate double quotes (i.e. KEYWORD=""string value""). LOG_FACILITY (LOG_DAEMON) The log facility used by default is LOG_DAEMON. If you wish to change this to some other facility, such as LOG_LOCALx, do so here. LOG_OPTIONS (LOG_PID | LOG_CONS | LOG_NDELAY) Options to specify for syslog. Early versions of SunOS 5 have problems with LOG_CONS. RT_N_MULTIPATH Define the number of multipath destinations that should be maintained in the gated routing table. Note that no Unix system supports more than one so the kernel interface routines will not compile if this number is greater than one. The only protocol that will currently allow more than one is OSPF, although the ipForward MIB can report multiple destinations. INET_CLASS_E Include support for the experimental class E networks. MIB_GATED Include support for the gated specific MIB. This is not yet implemented. HPUX7_X For HPUX 7.* systems. SUNOS5_0 For SunOS v5.0* (Solaris 2.0) SYSV For System V systems prior to SYSV4, including A/UX 2.01. SYSVR4 For System V Release 4 systems. Kernel routing table interface specifications: KRT_RTREAD_KMEM For systems with BSD 4.3 hash based routing tables that are read directly from kernel memory. KRT_RTREAD_KINFO For systems based on BSD 4.3 Reno and later which read the routing table from the kernel via a getkerninfo() system call. KRT_RTREAD_SUNOS5 For systems based on SunOS 5 which read the routing table from the kernel via the MIB interface. KRT_RTREAD_RADIX For systems based on BSD 4.3 Reno and later who's implementors were too stupid to include the getkerninfo() system interface to read the routing table. KRT_IFREAD_IOCTL For systems which read the interface list from the kernel with the SIOCGIFCONF ioctl interface. KRT_IFREAD_KINFO For systems which read the interface list from the kernel with the getkerninfo() system call. KRT_SYMBOLS_NLIST For systems that read interesting values from the kernel via the nlist() interface. KRT_SYMBOLS_SUNOS5 For SunOS 5 based systems. KRT_SYMBOLS_SYSCTL For BSD 4.4 (and some BSDI systems?). KRT_IFR_MTU (ifr_mtu) For systems that use KRT_IFREAD_IOCTL and have the SIOCGIFMTU ioctl, this option specifies which structure member contains the MTU. Another common one is ``ifr_metric''. For Auspex systems you may need ``ifr_mtu.off_net_mtu''. KRT_RT_IOCTL For systems with BSD 4.3 based networking which manipulate the kernel routing table via SIOCADDRT and SIOCDELRT ioctls. KRT_RT_SOCK For systems with BSD 4.3 Reno or later based networking which manipulate the kernel routing table via the routing socket. KRT_RT_NOCHANGE For systems based on BSD 4.3 Reno or BSD 4.3 Net/2 where the kernel processing of RTM_CHANGE messages is broken. KRT_LLADDR_KMEM For systems which read the physical address of IEEE 802 devices from the kernel by assuming that an arpcom structure preceeds the ifnet. KRT_LLADDR_LINUX To use the linux SIOCGIFHWADDR ioctl to get the hardware address. KRT_LLADDR_SUNOS4 For systems which read the physical address of IEEE 802 devices from the kernel by way of the NIT interface. KRT_LLADDR_SUNOS5 For systems which read the physical address of IEEE 802 devices from the kernel by way of DLPI interface. KRT_LLADDR_NONE For systems where the normal interface scanning process will provide the physical address. KRT_NETOPTS For systems supporting SIOCGNETOPT (AIX 3), used to read additional symbols from the kernel. KRT_SOCKET_TYPE (PF_UNIX,SOCK_DGRAM,AF_UNSPEC) To specify the type of socket to obtain to manipulate the kernel forwarding table. Systems that use streams I/O and linux need (PF_INET,SOCK_DGRAM,AF_UNSPEC). Systems with the routing socket require (PF_ROUTE,SOCK_RAW,AF_UNSPEC). KVM_TYPE_SUNSOS4 For systems that use SunOS 4 style kvm libraries. KVM_TYPE_BSD44 For systems that use BSD 4.4 style kvm libraries. KVM_TYPE_RENO For systems that use BSD 4.3 Reno style kvm libraries. KVM_TYPE_OTHER For systems that do not have kvm libraries but require reading kernel information from /dev/mem. KVM_TYPE_NONE For systems where it is not necessary to read information from /dev/mem. ROUTES_WO_MBUFS For systems with the BSD 4.3 hash based routing table that do not store the entries in mbufs. P2P_RT_REMOTE For BSD 4.2 based systems where the gateway of a route to a P2P interface is the remote address of that interface. VARIABLE_MASKS For systems supporting variable subnet masks. SOCKET_LENGTHS For systems where the struct sockaddr* include a length. SOCKADDR_DL For systems where AF_LINK sockaddrs are supported. INCLUDE_IF_DL For system where should be included. IFL_NAMELEN The maxium number of characters in an interface name (not including the trailing zero). Must be at least as big as IFNAMSIZ. Kernel symbols: These first three may be set to a empty string (KSYM_XXX="""") when code that request them is present but then are not defined. KSYM_IPFORWARDING ("_ipforwarding") KSYM_UDPCKSUM ("_udpcksum") The name of the kernel symbol for these values, to be read by kvm_nlist(). Some systems (i.e. SunOS4.*) require an underscore after `ip' and `udp". KSYM_VERSION ("_version") The name of the kernel symbol that describes the kernel version. On later BSD systems with support for the kvm library it is more appropriate to use VRS_SYM, but it's value should be "_version". KSYM_RTHOST ("_rthost") KSYM_RTNET ("_rtnet") KSYM_RTHASHSIZE ("_rthashsize") Kernel symbol names used to locate the kernel forwarding table when KRT_RTREAD_KMEM is used. KSYM_RADIXHEAD ("_radix_node_head") Kernel symbol name used to locate the kernel forwarding table when KRT_RTREAD_RADIX is used. KSYM_IFNET ("_ifnet") Kernel symbol name used to locate the interface list when KERT_LLADDR_KMEM is used. Signal types: SIGTYPE (void) SIGRETURN (return 0) The type and expected return value of signal handlers. Older systems require: SIGTYPE=int SIGRETURN=return BSD_SIGNALS For systems using BSD signals SYSV_SIGNALS For systems using System V signals POSIX_SIGNALS For systems using POSIX signals HAVE_WAITPID For systems that have POSIX compatabile waitpid(). Other stuff: ENVIRON (environ) Set to the name of the environement pointer variable set by exec, normally `environ' or `_environ'. NO_STAT Define this for systems that do not have the stat() system call. NO_FORK For systems where it is not possible or desirable to use fork when making a status dump. NO_IP_MULTICAST For use on systems where the IP multicast defines are present, but support does not exist in the kernel. HAVE_GETSYSTIMES For systems where the getsystems() system call should be used instead of gettimeofday(). INCLUDE_UNISTD Systems where we should include / ... ...

近期下载者

相关文件


收藏者