suricata
util-datalink.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void DatalinkSetGlobalType (int datalink)
 
int DatalinkGetGlobalType (void)
 
bool DatalinkHasMultipleValues (void)
 

Function Documentation

◆ DatalinkGetGlobalType()

int DatalinkGetGlobalType ( void  )
inline

Definition at line 36 of file util-datalink.c.

References g_datalink_value.

◆ DatalinkHasMultipleValues()

bool DatalinkHasMultipleValues ( void  )

Definition at line 41 of file util-datalink.c.

References g_datalink_is_multiple.

◆ DatalinkSetGlobalType()

void DatalinkSetGlobalType ( int  datalink)

Definition at line 25 of file util-datalink.c.

References g_datalink_is_multiple, g_datalink_value, and LINKTYPE_NULL.

Referenced by InitPcapFile(), ReceiveErfDagThreadInit(), and ReceiveErfFileThreadInit().

Here is the caller graph for this function: