flow_util.h

来自「该软件根据网络数据生成NetFlow记录。NetFlow可用于网络规划、负载均衡」· C头文件 代码 · 共 58 行

H
58
字号
/*  -*- Mode: C;  -*- *//*******************************************************************************                                                                             **   Copyright 2005 University of Cambridge Computer Laboratory.               **                                                                             **   This file is part of Nprobe.                                              **                                                                             **   Nprobe is free software; you can redistribute it and/or modify            **   it under the terms of the GNU General Public License as published by      **   the Free Software Foundation; either version 2 of the License, or         **   (at your option) any later version.                                       **                                                                             **   Nprobe is distributed in the hope that it will be useful,                 **   but WITHOUT ANY WARRANTY; without even the implied warranty of            **   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             **   GNU General Public License for more details.                              **                                                                             **   You should have received a copy of the GNU General Public License         **   along with Nprobe; if not, write to the Free Software                     **   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA **                                                                             *******************************************************************************/#ifndef _FLOW_UTIL_H_#define _FLOW_UTIL_H_/* * flow_util.c  */unsigned int _tcp_tot_client_octs(tcp_conn_t *tconnp);unsigned int _tcp_tot_server_octs(tcp_conn_t *tconnp);unsigned int _tcp_tot_octs(tcp_conn_t *tconnp);unsigned int _tcp_tot_client_pkts(tcp_conn_t *tconnp);unsigned int _tcp_tot_server_pkts(tcp_conn_t *tconnp);unsigned int _tcp_tot_pkts(tcp_conn_t *tconnp);unsigned int _udp_tot_client_octs(udp_conn_t *uconnp);unsigned int _udp_tot_server_octs(udp_conn_t *uconnp);unsigned int _udp_tot_octs(udp_conn_t *uconnp);unsigned int _udp_tot_client_pkts(udp_conn_t *uconnp);unsigned int _udp_tot_server_pkts(udp_conn_t *uconnp);unsigned int _udp_tot_pkts(udp_conn_t *uconnp);#endif /* _FLOW_UTIL_H_ *//* * end flow_util.h  */

⌨️ 快捷键说明

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