⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftlib.h

📁 netflow,抓包
💻 H
📖 第 1 页 / 共 5 页
字号:
  u_int32 srcaddr;        /* Source IP Address */  u_int32 dstaddr;        /* Destination IP Address */  u_int32 nexthop;        /* Next hop router's IP Address */  u_int16 input;          /* Input interface index */  u_int16 output;         /* Output interface index */  u_int32 dPkts;          /* Packets sent in Duration */  u_int32 dOctets;        /* Octets sent in Duration. */  u_int32 First;          /* SysUptime at start of flow */  u_int32 Last;           /* and of last packet of flow */  u_int16 srcport;        /* TCP/UDP source port number or equivalent */  u_int16 dstport;        /* TCP/UDP destination port number or equiv */  u_int8  prot;           /* IP protocol, e.g., 6=TCP, 17=UDP, ... */  u_int8  tos;            /* IP Type-of-Service */  u_int8  tcp_flags;      /* OR of TCP header bits */  u_int8  pad;  u_int8  engine_type;    /* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;      /* Slot number of the flow switching engine */  u_int8  src_mask;       /* mask length of source address */  u_int8  dst_mask;       /* mask length of destination address */  u_int16 src_as;         /* AS of source address */  u_int16 dst_as;         /* AS of destination address */};struct fts3rec_v6 {  u_int32 unix_secs;      /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs;     /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;      /* Current time in millisecs since router booted */  u_int32 exaddr;         /* Exporter IP address */  u_int32 srcaddr;        /* Source IP Address */  u_int32 dstaddr;        /* Destination IP Address */  u_int32 nexthop;        /* Next hop router's IP Address */  u_int16 input;          /* Input interface index */  u_int16 output;         /* Output interface index */  u_int32 dPkts;          /* Packets sent in Duration */  u_int32 dOctets;        /* Octets sent in Duration. */  u_int32 First;          /* SysUptime at start of flow */  u_int32 Last;           /* and of last packet of flow */  u_int16 srcport;        /* TCP/UDP source port number or equivalent */  u_int16 dstport;        /* TCP/UDP destination port number or equiv */  u_int8  prot;           /* IP protocol, e.g., 6=TCP, 17=UDP, ... */  u_int8  tos;            /* IP Type-of-Service */  u_int8  tcp_flags;      /* OR of TCP header bits */  u_int8  pad;  u_int8  engine_type;    /* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;      /* Slot number of the flow switching engine */  u_int8  src_mask;       /* mask length of source address */  u_int8  dst_mask;       /* mask length of destination address */  u_int16 src_as;         /* AS of source address */  u_int16 dst_as;         /* AS of destination address */  u_int8  in_encaps;      /* size in bytes of the input encapsulation */  u_int8  out_encaps;     /* size in bytes of the output encapsulation */  u_int16 pad2;  u_int32 peer_nexthop;   /* IP address of the next hop within the peer */};struct fts3rec_v7 {  u_int32 unix_secs;      /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs;     /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;      /* Current time in millisecs since router booted */  u_int32 exaddr;         /* Exporter IP address */  u_int32 srcaddr;        /* Source IP Address */  u_int32 dstaddr;        /* Destination IP Address */  u_int32 nexthop;        /* Next hop router's IP Address */  u_int16 input;          /* Input interface index */  u_int16 output;         /* Output interface index */  u_int32 dPkts;          /* Packets sent in Duration */  u_int32 dOctets;        /* Octets sent in Duration. */  u_int32 First;          /* SysUptime at start of flow */  u_int32 Last;           /* and of last packet of flow */  u_int16 srcport;        /* TCP/UDP source port number or equivalent */  u_int16 dstport;        /* TCP/UDP destination port number or equiv */  u_int8  prot;           /* IP protocol, e.g., 6=TCP, 17=UDP, ... */  u_int8  tos;            /* IP Type-of-Service */  u_int8  tcp_flags;      /* OR of TCP header bits */  u_int8  flags;          /* Reason flow discarded, etc */  u_int8  engine_type;    /* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;      /* Slot number of the flow switching engine */  u_int8  src_mask;       /* mask length of source address */  u_int8  dst_mask;       /* mask length of destination address */  u_int16 src_as;         /* AS of source address */  u_int16 dst_as;         /* AS of destination address */  u_int32 router_sc;      /* ID of router shortcut by switch */};struct fts3rec_v8_1 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int16 src_as;     /* originating AS of source address */  u_int16 dst_as;     /* originating AS of destination address */  u_int16 input;      /* input interface index */  u_int16 output;     /* output interface index */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int16 pad;};struct fts3rec_v8_2 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int8  prot;       /* IP protocol */  u_int8  pad;  u_int16 reserved;  u_int16 srcport;    /* TCP/UDP source port number of equivalent */  u_int16 dstport;    /* TCP/UDP dst port number of equivalent */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int16 pad2;};struct fts3rec_v8_3 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 exaddr;     /* Exporter IP address */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 srcaddr;  u_int8  src_mask;  u_int8  pad;  u_int16 src_as;  u_int16 input;  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */};struct fts3rec_v8_4 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 dstaddr;  u_int8  dst_mask;  u_int8  pad;  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int16 dst_as;  u_int16 output;};struct fts3rec_v8_5 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 srcaddr;  u_int32 dstaddr;  u_int8  dst_mask;  u_int8  src_mask;  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int16 src_as;  u_int16 dst_as;  u_int16 input;  u_int16 output;};struct fts3rec_v8_6 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 dstaddr;    /* destination IP address */  u_int32 extra_pkts; /* packets that exceed the contract */  u_int32 router_sc;  /* IP address of the router being shortcut */  u_int16 output;     /* output interface index */  u_int16 pad;  u_int8  tos;        /* tos */  u_int8  marked_tos; /* tos of pkts that exceeded the contract */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */};struct fts3rec_v8_7 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 dstaddr;    /* destination IP address */  u_int32 srcaddr;    /* source IP address */  u_int32 extra_pkts; /* packets that exceed the contract */  u_int32 router_sc;  /* IP address of the router being shortcut */  u_int16 output;     /* output interface index */  u_int16 input;      /* input interface index */  u_int8  tos;        /* tos */  u_int8  marked_tos; /* tos of pkts that exceeded the contract */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */};struct fts3rec_v8_8 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 dstaddr;    /* destination IP address */  u_int32 srcaddr;    /* source IP address */  u_int32 extra_pkts; /* packets that exceed the contract */  u_int32 router_sc;  /* IP address of the router being shortcut */  u_int16 dstport;    /* TCP/UDP destination port */  u_int16 srcport;    /* TCP/UDP source port */  u_int16 output;     /* output interface index */  u_int16 input;      /* input interface index */  u_int8  tos;        /* tos */  u_int8  marked_tos; /* tos of pkts that exceeded the contract */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int8  prot;       /* IP protocol */  u_int8  pad1;  u_int16 pad2;};struct fts3rec_v8_9 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int16 src_as;     /* originating AS of source address */  u_int16 dst_as;     /* originating AS of destination address */  u_int16 input;      /* input interface index */  u_int16 output;     /* output interface index */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int8  tos;        /* ToS */  u_int8  pad;};struct fts3rec_v8_10 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 exaddr;     /* Exporter IP address */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int16 srcport;    /* TCP/UDP source port number of equivalent */  u_int16 dstport;    /* TCP/UDP dst port number of equivalent */  u_int16 input;      /* input interface index */  u_int16 output;     /* output interface index */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */  u_int8  prot;       /* IP protocol */  u_int8  tos;        /* ToS */};struct fts3rec_v8_11 {  u_int32 unix_secs;  /* Current seconds since 0000 UTC 1970 */  u_int32 unix_nsecs; /* Residual nanoseconds since 0000 UTC 1970 */  u_int32 exaddr;     /* Exporter IP address */  u_int32 sysUpTime;  /* Current time in millisecs since router booted */  u_int32 dFlows;     /* Number of flows */  u_int32 dPkts;      /* Packets sent in duration */  u_int32 dOctets;    /* Octets sent in duration */  u_int32 First;      /* SysUpTime at start of flow */  u_int32 Last;       /* and of last packet of flow */  u_int32 srcaddr;    /* Source Prefix */  u_int8  src_mask;   /* Source Prefix mask length */  u_int8  tos;        /* ToS */  u_int16 src_as;     /* Source AS */  u_int16 input;      /* input interface index */  u_int8  engine_type;/* Type of flow switching engine (RP,VIP,etc.) */  u_int8  engine_id;  /* Slot number of the flow switching engine */};struct fts3rec_v8_12 {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -