]> andersk Git - libfaim.git/blame - utils/aimdump/aimdump.h
Added src/dest listing.
[libfaim.git] / utils / aimdump / aimdump.h
CommitLineData
fa684c51 1#ifndef __AIMDUMP_H__
2#define __AIMDUMP_H__
3
4#include <unistd.h>
5#include <netinet/if_ether.h>
6#include <pcap/pcap.h>
7#include "util.h"
8#include <signal.h>
ee3071b9 9#include <netinet/ip.h>
10#include <netinet/tcp.h>
11#include <sys/socket.h>
12#include <arpa/inet.h>
fa684c51 13
14/*
15 * These are in NETWORK (big-endian) BYTE ORDER!!!
16 */
17#define SAPLEN 3 /* the length of the SAP header */
18#define SAPHEADER {0xfc, 0xfc, 0x03} /* SAP header bytes */
19#define ETHERTYPE_INCOMING 0x0056 /* on data from the 8227 */
20#define ETHERTYPE_FOUND 0x003d /* on outgoing FOUND frames */
21#define ETHERTYPE_DATA 0x05dc /* on outgoing Data frames */
22
23void parser_icbm_incoming(u_char *data, int len);
24
25#endif /* __AIMDUMP_H__ */
This page took 0.048328 seconds and 5 git commands to generate.