1
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
57
58
59
60
61
62
63
64
65
66
67
68
69
/* ... */
/* ... */
#ifndef LWIP_HDR_RAW_PRIV_H
#define LWIP_HDR_RAW_PRIV_H
#include "lwip/opt.h"
#if LWIP_RAW
#include "lwip/raw.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum raw_input_state
{
RAW_INPUT_NONE = 0,
RAW_INPUT_EATEN,
RAW_INPUT_DELIVERED
...} raw_input_state_t;
raw_input_state_t raw_input(struct pbuf *p, struct netif *inp);
void raw_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
#ifdef __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif
/* ... */
#endif