Function
PacketInfo*
newPacketInfo
( void)
Arguments
- void
- no arguments
Description
SRS Refs
3.2.1.9
Function
int
initNetwork
(char * dev)
Arguments
- dev
- The network interface to open
SRS Refs
3.2.1.9b
Function
void *
capture
(void * unused)
Arguments
- unused
- Unused, but required to follow the function "type" needed to
create a thread
SRS Refs
3.2.1.9
Function
void
endCapture
( void)
Arguments
- void
- no arguments
Description
SRS Refs
3.2.1.9
Function
void
freePacketInfo
(PacketInfo * info)
Arguments
- info
- The PacketInfo to free
SRS Refs
3.2.1.9
Function
void
handlePacket
(u_char * args,
const struct pcap_pkthdr * pkthdr,
const u_char * packet)
Arguments
- args
- Unused
- pkthdr
- The packet header
- packet
- The packet which has been received
SRS Refs
3.2.1.9
Function
uint16_t
packetType
(const u_char * packet)
Arguments
- packet
- The packet to be examined
SRS Refs
3.2.1.9
Function
u_int32_t
getTime
( void)
Arguments
- void
- no arguments
Description
SRS Refs
3.2.1.9a
The value is the number of milliseconds since the reception of the first
packet
Function
int
isNWLogging
( void)
Arguments
- void
- no arguments
Description
SRS Refs
3.2.1.9
Function
int
packetsNWLogged
( void)
Arguments
- void
- no arguments
Description
SRS Refs
3.2.1.9d
Function
void
networkClose
( void)
Arguments
- void
- no arguments
Description
SRS Refs
3.2.1.9