lwIP
2.1.0
Lightweight IP stack
|
Functions | |
err_t | lowpan6_set_context (u8_t idx, const ip6_addr_t *context) |
err_t | lowpan6_set_short_addr (u8_t addr_high, u8_t addr_low) |
err_t | lowpan6_output (struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) |
err_t | lowpan6_input (struct pbuf *p, struct netif *netif) |
err_t | lowpan6_set_pan_id (u16_t pan_id) |
err_t | tcpip_6lowpan_input (struct pbuf *p, struct netif *inp) |
6LowPAN netif implementation
NETIF input function: don't free the input pbuf when returning != ERR_OK!
err_t lowpan6_output | ( | struct netif * | netif, |
struct pbuf * | q, | ||
const ip6_addr_t * | ip6addr | ||
) |
Resolve and fill-in IEEE 802.15.4 address header for outgoing IPv6 packet.
Perform Header Compression and fragment if necessary.
netif | The lwIP network interface which the IP packet will be sent on. |
q | The pbuf(s) containing the IP packet to be sent. |
ip6addr | The IP address of the packet destination. |
err_t lowpan6_set_context | ( | u8_t | idx, |
const ip6_addr_t * | context | ||
) |
Set context
err_t lowpan6_set_pan_id | ( | u16_t | pan_id | ) |
Set PAN ID
err_t lowpan6_set_short_addr | ( | u8_t | addr_high, |
u8_t | addr_low | ||
) |
Set short address