/***************************************************************************
                          tcp.h  -  description
                             -------------------
    begin                : Wed Jan 30 2002
    copyright            : (C) 2002 by Josiah Zayner
    email                : phric@legions.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef _TCP_H
#define _TCP_H

#ifndef _NETINET_TCP_H
#include <netinet/tcp.h>
#endif

#define S_TCPIP        (sizeof(struct ip) + sizeof(struct tcphdr))
#define S_TCP          sizeof(struct tcphdr)

int get_tcp_arg(char *arg, char *next_arg, struct tcphdr *tcme);
void make_tcp_scroll(struct tcphdr *tcps, int howthick);

#endif /* _TCP_H */


syntax highlighted by Code2HTML, v. 0.9.1