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.
Fork of OmniWheels by
lwip_lowpan6.c File Reference
6LowPAN output for IPv6. More...
Go to the source code of this file.
Functions | |
| static err_t | dequeue_datagram (struct lowpan6_reass_helper *lrh) |
| Removes a datagram from the reassembly queue. | |
| void | lowpan6_tmr (void) |
| Periodic timer for 6LowPAN functions: | |
| 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 | tcpip_6lowpan_input (struct pbuf *p, struct netif *inp) |
| Pass a received packet to tcpip_thread for input processing. | |
Detailed Description
6LowPAN output for IPv6.
Uses ND tables for link-layer addressing. Fragments packets to 6LowPAN units.
Definition in file lwip_lowpan6.c.
Function Documentation
| static err_t dequeue_datagram | ( | struct lowpan6_reass_helper * | lrh ) | [static] |
Removes a datagram from the reassembly queue.
Definition at line 122 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 617 of file lwip_lowpan6.c.
| void lowpan6_tmr | ( | void | ) |
Periodic timer for 6LowPAN functions:
- Remove incomplete/old packets
Definition at line 102 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 1187 of file lwip_lowpan6.c.
Generated on Fri Jul 22 2022 04:54:07 by
1.7.2
