Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
6LowPAN netif implementation More...
Functions | |
| err_t | lowpan6_set_context (u8_t idx, const ip6_addr_t *context) |
| Set context. | |
| err_t | lowpan6_set_short_addr (u8_t addr_high, u8_t addr_low) |
| Set short address. | |
| 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. | |
| err_t | lowpan6_input (struct pbuf *p, struct netif *netif) |
| NETIF input function: don't free the input pbuf when returning != ERR_OK! | |
| err_t | lowpan6_set_pan_id (u16_t pan_id) |
| Set PAN ID. | |
| err_t | tcpip_6lowpan_input (struct pbuf *p, struct netif *inp) |
| Pass a received packet to tcpip_thread for input processing. | |
Detailed Description
6LowPAN netif implementation
Function Documentation
NETIF input function: don't free the input pbuf when returning != ERR_OK!
Definition at line 646 of file lwip_lowpan6.c.
| 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.
- Parameters:
-
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.
- Returns:
- err_t
Definition at line 566 of file lwip_lowpan6.c.
| err_t lowpan6_set_context | ( | u8_t | idx, |
| const ip6_addr_t * | context | ||
| ) |
Set context.
Definition at line 499 of file lwip_lowpan6.c.
| err_t lowpan6_set_pan_id | ( | u16_t | pan_id ) |
Set PAN ID.
Definition at line 897 of file lwip_lowpan6.c.
| err_t lowpan6_set_short_addr | ( | u8_t | addr_high, |
| u8_t | addr_low | ||
| ) |
Set short address.
Definition at line 524 of file lwip_lowpan6.c.
Pass a received packet to tcpip_thread for input processing.
- Parameters:
-
p the received packet, p->payload pointing to the IEEE 802.15.4 header. inp the network interface on which the packet was received
Definition at line 914 of file lwip_lowpan6.c.
Generated on Tue Jul 12 2022 13:55:24 by
1.7.2