/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2002-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* netflow dump type
*
* Glenn Fowler
* AT&T Research
*/
#include "flowlib.h"
#include <magicid.h>
#include <swap.h>
typedef union Fixedheader_u
{
typedef struct State_s
{
int swap;
} State_t;
/*
* identf
*/
static int
{
int swap;
if (n >= sizeof(Netflow_t) &&
{
return 1;
}
return 0;
}
/*
* openf
*/
static int
{
{
{
return -1;
}
{
return -1;
}
}
{
}
return 0;
}
/*
* readf
*/
static int
{
{
{
return -1;
}
return 0;
}
{
}
return 1;
}
/*
* writef
*/
static int
{
{
return -1;
}
return 0;
}
/*
* closef
*/
static int
{
return 0;
}
{
"fixed",
"Cisco netflow fixed format (2008-06-20) compresses well with pzip(1)",
CXH,
0,
0,
0,
};