netflow_example.c File Reference
#include <nt.h>
#include <inttypes.h>
#include <netinet/in.h>
Go to the source code of this file.
Functions | |
static void | DumpL4 (NtDyn1Descr_t *pDyn1) |
static void | DumpIPv4 (NtDyn1Descr_t *pDyn1) |
static void | DumpIPv6 (NtDyn1Descr_t *pDyn1) |
int | main (int argc, char *argv[]) |
Data Structures | |
struct | IPv6Header_s |
struct | IPv4Header_s |
struct | UDPHeader_s |
struct | TCPHeader_s |
Macros | |
#define | IP_DONT_FRAGMENT 0x4000 |
#define | IP_MORE_FRAGMENTS 0x2000 |
#define | ARRAY_SIZE(a) (sizeof((a))/sizeof(*(a))) |
Function Documentation
|
static |
- Examples:
- net/netflow/netflow_example.c.
Definition at line 195 of file netflow_example.c.
Referenced by DumpIPv4(), and DumpIPv6().
|
static |
- Examples:
- net/netflow/netflow_example.c.
Definition at line 213 of file netflow_example.c.
Referenced by main().
|
static |
- Examples:
- net/netflow/netflow_example.c.
Definition at line 226 of file netflow_example.c.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 243 of file netflow_example.c.
Macro Definition Documentation
#define IP_DONT_FRAGMENT 0x4000 |
Definition at line 153 of file netflow_example.c.
#define IP_MORE_FRAGMENTS 0x2000 |
Definition at line 154 of file netflow_example.c.
#define ARRAY_SIZE | ( | a | ) | (sizeof((a))/sizeof(*(a))) |
- Examples:
- net/netflow/netflow_example.c.
Definition at line 193 of file netflow_example.c.
Referenced by main().