| OpENer - Open Source EtherNet/IP(TM)  I/O Target Stack
    2.1
    | 
#include <stdio.h>#include <stdlib.h>#include <signal.h>#include <sys/capability.h>#include "generic_networkhandler.h"#include "opener_api.h"#include "cipcommon.h"#include "trace.h"#include "networkconfig.h"#include "doublylinkedlist.h"#include "cipconnectionobject.h"Go to the source code of this file.
| Functions | |
| void * | executeEventLoop () | 
| Signal handler function for ending stack execution.  More... | |
| void | LeaveStack (int signal) | 
| Signal handler function for ending stack execution.  More... | |
| int | main (int argc, char *arg[]) | 
| Variables | |
| int | g_end_stack = 0 | 
| Flag indicating if the stack should end its execution.  More... | |
| void * executeEventLoop | ( | ) | 
Signal handler function for ending stack execution.
| signal | the signal we received | 
Definition at line 192 of file main.c.
References g_end_stack, kEipStatusOk, NetworkHandlerProcessOnce(), and OPENER_TRACE_ERR.
Referenced by main().
| void LeaveStack | ( | int | signal | ) | 
Signal handler function for ending stack execution.
| signal | the signal we received | 
Definition at line 186 of file main.c.
References g_end_stack, and OPENER_TRACE_STATE.
| int main | ( | int | argc, | 
| char * | arg[] | ||
| ) | 
Definition at line 47 of file main.c.
References CipConnectionObjectListArrayAllocator(), CipConnectionObjectListArrayFree(), CipStackInit(), ConfigureDomainName(), ConfigureHostName(), ConfigureMacAddress(), ConfigureNetworkInterface(), connection_list, DoublyLinkedListInitialize(), executeEventLoop(), g_end_stack, kEipStatusError, kEipStatusOk, LeaveStack(), NetworkHandlerFinish(), NetworkHandlerInitialize(), OPENER_TRACE_ERR, SetDeviceSerialNumber(), and ShutdownCipStack().