OpenWSN Firmware
tcpinject.h
Go to the documentation of this file.
1 #ifndef __TCPINJECT_H
2 #define __TCPINJECT_H
3 
11 //=========================== define ==========================================
12 
13 //=========================== typedef =========================================
14 
15 //=========================== module variables ================================
16 
17 typedef struct {
19  bool sending;
21  uint16_t hisPort;
23 
24 //=========================== prototypes ======================================
25 
26 void tcpinject_init(void);
27 bool tcpinject_shouldIlisten(void);
28 void tcpinject_trigger(void);
32 bool tcpinject_debugPrint(void);
33 
39 #endif
bool tcpinject_shouldIlisten()
Definition: tcpinject.c:19
OpenQueueEntry_t * pkt
Definition: tcpinject.h:18
void tcpinject_receive(OpenQueueEntry_t *msg)
Definition: tcpinject.c:81
uint8_t owerror_t
Definition: openwsn.h:265
open_addr_t hisAddress
Definition: tcpinject.h:20
Definition: tcpinject.h:17
void tcpinject_connectDone(owerror_t error)
Definition: tcpinject.c:41
Definition: openwsn.h:276
void tcpinject_trigger()
Definition: tcpinject.c:23
Definition: openwsn.h:288
uint16_t hisPort
Definition: tcpinject.h:21
void tcpinject_sendDone(OpenQueueEntry_t *msg, owerror_t error)
Definition: tcpinject.c:70
bool tcpinject_debugPrint()
Definition: tcpinject.c:84
void tcpinject_init()
Definition: tcpinject.c:16
bool sending
Definition: tcpinject.h:19