/*  -*- 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 
 */
