?? ipripng_constant.h
字號:
/* * Copyright 2006 Wind River Systems, Inc. * * The right to copy, distribute, modify or otherwise make use * of this software may be licensed only pursuant to the terms * of an applicable Wind River license agreement. *//*modification history--------------------01a,12jun06,tlu Initial creation */#ifndef IPRIPNG_CONSTANT_H#define IPRIPNG_CONSTANT_H/* **************************************************************************** * 1 DESCRIPTION **************************************************************************** * Interpeak Routing Information Protocol - IPRIPng * ----------------------------------------------- * RTOS and TCP/IP stack portable implementation of Routing Information * Protocol RIPng. * * Compliant with the following RFC: * RFC 2080 RIPng * * *//* **************************************************************************** * 2 CONFIGURATION **************************************************************************** *//* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */#include <ipcom_type.h>#include <ipcom_list.h>#include <ipcom_sock.h>#include <ipcom_inet.h>#include <ipcom_tags.h>#include <ipcom_route.h>/* **************************************************************************** * 4 DEFINES **************************************************************************** */#define IPRIPNG_MAXARGS 50#define MAXARGS 40#define RIPTASKPRIDEFAULT 100#define RIPTASKNAME "ipripngd"/***** protocol constants *****/#define SUPPLY_INTERVAL6 30#define RIP_LIFETIME 180#define RIP_HOLDDOWN 120#define RIP_TRIG_INT6_MAX 5#define RIP_TRIG_INT6_MIN 1#define INIT_INTERVAL6 10 /* Wait to submit a initial riprequest */#define IF_POISON 0x1#define IF_SPLITH 0x2#define IF_NOHORZ 0x4#define RIP6_VERSION 1#define RIP6_REQUEST 1#define RIP6_RESPONSE 2#define RIP6_PORT 521#define RIP6_DEST "ff02::9"#define LOOPBACK_IF "lo0"#define IFC_CHANGED 1#define NI_MAXSERV 32#define HOPCNT_INFINITY6 16#define NEXTHOP_METRIC 0xff#define RIP6_MAXMTU 1500#define IFMINMTU 1280/* *=========================================================================== * IPRIPng_RELEASE *=========================================================================== * IPRIPng release version. */#define IPRIPNG_RELEASE 60000/* **************************************************************************** * TYPES **************************************************************************** *//* **************************************************************************** * Global variables **************************************************************************** */#endif/*#ifndef IPRIPNG_CONSTANT_H*//* **************************************************************************** * END OF FILE **************************************************************************** */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -