lwIP
2.1.0
Lightweight IP stack
|
Typedefs | |
typedef enum raw_input_state | raw_input_state_t |
Enumerations | |
enum | raw_input_state |
Functions | |
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) |
raw API internal implementations (do not use in application code)
typedef enum raw_input_state raw_input_state_t |
return codes for raw_input
enum raw_input_state |
return codes for raw_input
raw_input_state_t raw_input | ( | struct pbuf * | p, |
struct netif * | inp | ||
) |
Determine if in incoming IP packet is covered by a RAW PCB and if so, pass it to a user-provided receive callback function.
Given an incoming IP datagram (as a chain of pbufs) this function finds a corresponding RAW PCB and calls the corresponding receive callback function.
p | pbuf to be demultiplexed to a RAW PCB. |
inp | network interface on which the datagram was received. |