/*
 * Port. Header stuff & things.
 *
 * Copyright 1992 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 *
 * Tom Coppeto
 * MIT Network Operations
 * 26 January 1992
 *
 *    $Header: /afs/.net.mit.edu/tools/src/port/RCS/port.h,v 1.4 92/02/27 18:47:26 tom Exp $
 *    $Author: tom $
 *    $Locker:  $
 *    $Log:	port.h,v $
 * Revision 1.4  92/02/27  18:47:26  tom
 * upped version
 * 
 * Revision 1.3  92/02/04  19:04:47  tom
 * support for doing real community name changing
 * 
 * Revision 1.2  92/02/02  21:58:52  tom
 * added KETFILE and removed comm from agent
 * 
 * Revision 1.1  92/02/02  13:02:39  tom
 * Initial revision
 * 
 */

#include <stdio.h>
#include <ctype.h>
#include <strings.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/socket.h>

#define SUCCESS 0
#define ERROR   -1

extern void cb_dostuff();
extern void cb_capture();
extern void cb_start();
extern void cb_quit();


typedef struct
{
  char name[64];
  char saddr[16];
  struct in_addr addr;
} Agent;


typedef struct
{
  char *data;
  int length;
  int time;
  int status;
} Packet;
