📄 fwwebdevice.h
字号:
/* fwWebDevice.h - Firewall webscreen sample header file *//* Copyright 2004 - 2005 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01i,12may05,zhu cleaned up compiler warnings01h,03mar05,zhu added IPv6 support01g,01mar04,zhu bug fixes and updates01f,25feb04,zhu updated with fwRuleFilterIsInstalled and fwRuleFilterDftActionGet01e,24feb04,zhu added fwWebRuleFieldGet to simplify the code01d,24feb04,zhu move customized function from postreply to RPM01c,11feb04,zhu added backplane error display01b,05feb04,zhu bug fixes01a,30jan04,zhu created*/#ifndef __FIREWALLDEVICE_H_HEADER__#define __FIREWALLDEVICE_H_HEADER__#include "wm.h"#include "wmb.h"#include "stdio.h"#include "net/systm.h"#include "mbufLib.h"#include "sys/socket.h"#include "net/socketvar.h"#include "net/domain.h"#include "net/protosw.h"#include <netinet/in.h>#include <netinet/in_systm.h>#include <netinet/ip.h>#include <netinet/tcp.h>#include <netinet/udp.h>#include <netinet/ip_icmp.h>#include "inetLib.h"#include "arpa/inet.h"#include <net/if.h>#include <ipProto.h>#include <ifLib.h>#ifdef INET6#include <if6Lib.h>#include <netinet6/in6.h>#endif#include "end.h"#include "lstLib.h"#include "wrn/firewall/fwLib.h"#include "time.h"#include "private/timerLibP.h"#include "httpLib.h"#include "httpRpms.h"extern struct ifnet * ifnet;extern FW_LOC_TYPE fwWebDirection;extern FW_LOC_TYPE fwWebEditdirection;extern int fwWebCheckV6;extern sbyte fwWebSunday[10];extern sbyte fwWebMonday[10];extern sbyte fwWebTuesday[10];extern sbyte fwWebWednesday[10];extern sbyte fwWebThursday[10];extern sbyte fwWebFriday[10];extern sbyte fwWebSaturday[10];extern sbyte fwWebEnable[20];extern sbyte junk[20];extern sbyte fwWebInterfaceName[20];extern sbyte fwWebExternalInterface[20];extern sbyte4 fwWebNotAnytime;extern sbyte4 fwWebNotAnyday;extern UINT32 fwWebDefaultIn;extern UINT32 fwWebDefaultOut;extern sbyte fwWebDefaultLogIn[10];extern sbyte fwWebDefaultLogOut[10];/* have to define because of WindMarks */extern UINT32 fwWebDefaultInV6;extern UINT32 fwWebDefaultOutV6;extern sbyte fwWebDefaultLogInV6[10];extern sbyte fwWebDefaultLogOutV6[10];extern sbyte4 fwWebCurrentIndex;extern sbyte4 fwWebMoveIndex;extern sbyte4 fwWebEntrySelection;extern sbyte4 fwWebAction;extern sbyte4 fwWebTotalEntry;extern sbyte4 fwWebTotalInterface;extern sbyte4 fwWebIntHolder;extern sbyte fwWebStringHolder[80]; extern sbyte fwWebActionDisplay[10];extern sbyte fwWebLogDisplay[10];extern sbyte fwWebError[200];extern sbyte4 fwWebEnableSetCalled;extern STATUS fwRuleGet(FW_LOC_TYPE, int, int, FW_RULE_ENTRY * );extern void * fwRuleGroupIdGet(FW_LOC_TYPE, int);#ifdef INET6STATUS fwWebIncomingV6Get();STATUS fwWebOutgoingV6Get();#endifint fwWebRuleFieldGet(UINT32, sbyte4, void *, sbyte *);STATUS fwWebIncomingGet();STATUS fwWebOutgoingGet();STATUS fwWebTakeAction();STATUS fwWebDstAddrGet();STATUS fwWebSrcAddrGet();STATUS fwWebDstAddrEndDisplaySet();STATUS fwWebDstAddrEndDisplayGet();STATUS fwWebDstAddrStartDisplayGet();STATUS fwWebDstAddrStartDisplaySet();STATUS fwWebDstPortGet();STATUS fwWebDstPortEndDisplayGet();STATUS fwWebDstPortEndDisplaySet();STATUS fwWebDstPortStartDisplayGet();STATUS fwWebDstPortStartDisplaySet();STATUS fwWebMoveIndexGet();STATUS fwWebSrcAddrEndDisplayGet();STATUS fwWebSrcAddrEndDisplaySet();STATUS fwWebSrcAddrStartDisplayGet();STATUS fwWebSrcAddrStartDisplaySet();STATUS fwWebSrcPortGet();STATUS fwWebSrcPortEndDisplayGet();STATUS fwWebSrcPortEndDisplaySet();STATUS fwWebSrcPortStartDisplayGet();STATUS fwWebSrcPortStartDisplaySet();STATUS fwWebProtoGet();STATUS fwWebProtoDisplayGet();STATUS fwWebProtoDisplaySet();STATUS fwWebTimeOfDayGet();STATUS fwWebNotAnytimeSet();STATUS fwWebNotAnydaySet();STATUS fwWebNotAnytimeGet();STATUS fwWebNotAnydayGet();STATUS fwWebSundaySet();STATUS fwWebMondaySet();STATUS fwWebTuesdaySet();STATUS fwWebWednesdaySet();STATUS fwWebThursdaySet();STATUS fwWebFridaySet();STATUS fwWebSaturdaySet();STATUS fwWebSundayGet();STATUS fwWebMondayGet();STATUS fwWebTuesdayGet();STATUS fwWebWednesdayGet();STATUS fwWebThursdayGet();STATUS fwWebFridayGet();STATUS fwWebSaturdayGet();STATUS fwWebHourStartGet();STATUS fwWebHourEndGet();STATUS fwWebHourStartSet();STATUS fwWebHourEndSet();STATUS fwWebMinuteStartGet();STATUS fwWebMinuteEndGet();STATUS fwWebMinuteStartSet();STATUS fwWebMinuteEndSet();STATUS fwWebSecondStartGet();STATUS fwWebSecondEndGet();STATUS fwWebSecondStartSet();STATUS fwWebSecondEndSet();STATUS fwWebRuleactionGet();STATUS fwWebLogGet();STATUS fwWebActionDisplayGet();STATUS fwWebActionDisplaySet();STATUS fwWebLogDisplayGet();STATUS fwWebLogDisplaySet();STATUS fwWebRulenameGet();STATUS fwWebNameDisplayGet();STATUS fwWebNameDisplaySet();STATUS fwWebDirectionGet();STATUS fwWebDirectionSet();STATUS fwWebEnableSet();sbyte * fwWebInterfaceNext();int fwWebInterfaceNumGet();void fwWebTotalEntryGet();STATUS fwWebInit();STATUS fwWebReachEndGet();STATUS fwWebReachEndSet();short fwWebHttpRpmWmbPost(HTTP_REQ_ID);void fwWebSetupGet();STATUS fwWebInterfaceGet();STATUS fwWebInterfaceDisplayGet();STATUS fwWebInterfaceDisplaySet();STATUS fwWebRateLimitGet();STATUS fwWebRateLimitSet();STATUS fwWebRateNumGet();STATUS fwWebRateNumSet();STATUS fwWebRateTimeGet();STATUS fwWebRateTimeSet();STATUS fwWebRateStringGet();void fwWebErrorPrint(sbyte *);#endif /* __FIREWALLDEVICE_H_HEADER__*//* eof fwWebDevice.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -