OpenWSN Firmware
Main Page
Modules
Data Structures
Files
File List
Globals
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
{
18
OpenQueueEntry_t
*
pkt
;
19
bool
sending
;
20
open_addr_t
hisAddress
;
21
uint16_t
hisPort
;
22
}
tcpinject_vars_t
;
23
24
//=========================== prototypes ======================================
25
26
void
tcpinject_init
(
void
);
27
bool
tcpinject_shouldIlisten
(
void
);
28
void
tcpinject_trigger
(
void
);
29
void
tcpinject_connectDone
(
owerror_t
error);
30
void
tcpinject_sendDone
(
OpenQueueEntry_t
* msg,
owerror_t
error);
31
void
tcpinject_receive
(
OpenQueueEntry_t
* msg);
32
bool
tcpinject_debugPrint
(
void
);
33
39
#endif
tcpinject_shouldIlisten
bool tcpinject_shouldIlisten()
Definition:
tcpinject.c:19
tcpinject_vars_t::pkt
OpenQueueEntry_t * pkt
Definition:
tcpinject.h:18
tcpinject_receive
void tcpinject_receive(OpenQueueEntry_t *msg)
Definition:
tcpinject.c:81
owerror_t
uint8_t owerror_t
Definition:
openwsn.h:265
tcpinject_vars_t::hisAddress
open_addr_t hisAddress
Definition:
tcpinject.h:20
tcpinject_vars_t
Definition:
tcpinject.h:17
tcpinject_connectDone
void tcpinject_connectDone(owerror_t error)
Definition:
tcpinject.c:41
open_addr_t
Definition:
openwsn.h:276
tcpinject_trigger
void tcpinject_trigger()
Definition:
tcpinject.c:23
OpenQueueEntry_t
Definition:
openwsn.h:288
tcpinject_vars_t::hisPort
uint16_t hisPort
Definition:
tcpinject.h:21
tcpinject_sendDone
void tcpinject_sendDone(OpenQueueEntry_t *msg, owerror_t error)
Definition:
tcpinject.c:70
tcpinject_debugPrint
bool tcpinject_debugPrint()
Definition:
tcpinject.c:84
tcpinject_init
void tcpinject_init()
Definition:
tcpinject.c:16
tcpinject_vars_t::sending
bool sending
Definition:
tcpinject.h:19
firmware
openos
openwsn
07-App
tcpinject
tcpinject.h
Generated on Wed Sep 24 2014 04:39:18 for OpenWSN Firmware by
1.8.5