[Netadm-devel] gwc/pf sysioctl.h,1.4,1.5
Status: Beta
Brought to you by:
linuxpark
From: linuxpark <lin...@us...> - 2006-03-07 04:45:12
|
Update of /cvsroot/netadm/gwc/pf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12643/pf Modified Files: sysioctl.h Log Message: ADD: ADD: cli command ( dump_fc_ipol : dump flow control internal policy) + confutil.c (dump_fc_ipol ()) MOD: integrage sys_ipc_e -> sys_ucmd_e MOD: vi tab modified (in .vimrc, ts=8, sw=2, sts=2) MOD: make 2 function as ipc library function ipc request function: send_ipcmsg () used by other process except gwcadmd ipc response function: send_rmsg : used by gwcadmd daemon Index: sysioctl.h =================================================================== RCS file: /cvsroot/netadm/gwc/pf/sysioctl.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sysioctl.h 5 Mar 2006 01:11:00 -0000 1.4 --- sysioctl.h 7 Mar 2006 04:45:09 -0000 1.5 *************** *** 26,55 **** typedef enum { ! SYS_ICMP_UNREACH = 0x0001, ! SYS_ICMP_ECHO = 0x0002, ! SYS_ICMP_ECHOREP = 0x0004, ! SYS_ICMP_SQUENCH = 0x0008, ! SYS_ICMP_REDIR = 0x0010, ! SYS_ICMP_TIMEX = 0x0020, ! SYS_ICMP_PARAMPROB = 0x0040, ! SYS_ICMP_TIMEST = 0x0080, ! SYS_ICMP_TIMESTREP = 0x0100, ! SYS_ICMP_INFOREQ = 0x0200, ! SYS_ICMP_INFOREP = 0x0400, ! SYS_ICMP_MASKREQ = 0x0800, ! SYS_ICMP_MASKREP = 0x1000, } sys_icmp_type_e; typedef enum { ! SYS_PROTO_TCP = IPPROTO_TCP, ! SYS_PROTO_UDP = IPPROTO_UDP, ! SYS_PROTO_ICMP = IPPROTO_ICMP, } sys_proto_type_e; typedef enum { ! FC_PR_CONTROL = 0x01, /* flow control */ ! FC_PR_MOD_HEADER = 0x02, /* modify packet header */ } fc_pol_rule_e; --- 26,55 ---- typedef enum { ! SYS_ICMP_UNREACH = 0x0001, ! SYS_ICMP_ECHO = 0x0002, ! SYS_ICMP_ECHOREP = 0x0004, ! SYS_ICMP_SQUENCH = 0x0008, ! SYS_ICMP_REDIR = 0x0010, ! SYS_ICMP_TIMEX = 0x0020, ! SYS_ICMP_PARAMPROB = 0x0040, ! SYS_ICMP_TIMEST = 0x0080, ! SYS_ICMP_TIMESTREP = 0x0100, ! SYS_ICMP_INFOREQ = 0x0200, ! SYS_ICMP_INFOREP = 0x0400, ! SYS_ICMP_MASKREQ = 0x0800, ! SYS_ICMP_MASKREP = 0x1000, } sys_icmp_type_e; typedef enum { ! SYS_PROTO_TCP = IPPROTO_TCP, ! SYS_PROTO_UDP = IPPROTO_UDP, ! SYS_PROTO_ICMP = IPPROTO_ICMP, } sys_proto_type_e; typedef enum { ! FC_PR_CONTROL = 0x01, /* flow control */ ! FC_PR_MOD_HEADER = 0x02, /* modify packet header */ } fc_pol_rule_e; |