|
Contiki 3.x
|
Code for tunnelling uIP packets over the Rime mesh routing moduleMore...
#include "contiki-net.h"#include "net/ip/uip-split.h"#include "net/ip/uip-packetqueue.h"#include "net/ipv6/uip-nd6.h"#include "net/ipv6/uip-ds6.h"#include "net/rpl/rpl.h"#include "net/rpl/rpl-private.h"#include <string.h>#include "net/ip/uip-debug.h"Go to the source code of this file.
Functions | |
| uint8_t | tcpip_output (const uip_lladdr_t *a) |
| Output packet to layer 2 The eventual parameter is the MAC address of the destination. | |
| void | tcp_unlisten (uint16_t port) |
| Close a listening TCP port. More... | |
| void | tcp_listen (uint16_t port) |
| Open a TCP port. More... | |
| void | tcp_attach (struct uip_conn *conn, void *appstate) |
| Attach a TCP connection to the current process. More... | |
| void | udp_attach (struct uip_udp_conn *conn, void *appstate) |
| Attach the current process to a UDP connection. More... | |
| struct uip_udp_conn * | udp_new (const uip_ipaddr_t *ripaddr, uint16_t port, void *appstate) |
| Create a new UDP connection. More... | |
| struct uip_udp_conn * | udp_broadcast_new (uint16_t port, void *appstate) |
| Create a new UDP broadcast connection. More... | |
| uint8_t | icmp6_new (void *appstate) |
| register an ICMPv6 callback More... | |
| void | tcpip_icmp6_call (uint8_t type) |
| This function is called at reception of an ICMPv6 packet If an application registered as an ICMPv6 listener (with icmp6_new), it will be called through a process_post_synch() | |
| void | tcpip_input (void) |
| Deliver an incoming packet to the TCP/IP stack. More... | |
| void | tcpip_ipv6_output (void) |
| This function does address resolution and then calls tcpip_output. | |
| void | tcpip_poll_udp (struct uip_udp_conn *conn) |
| Cause a specified UDP connection to be polled. More... | |
| void | tcpip_poll_tcp (struct uip_conn *conn) |
| Cause a specified TCP connection to be polled. More... | |
Variables | |
| process_event_t | tcpip_event |
| The uIP event. More... | |
| process_event_t | tcpip_icmp6_event |
| The ICMP6 event. More... | |
| struct etimer | uip_reass_timer |
| Timer for reassembly. | |
Code for tunnelling uIP packets over the Rime mesh routing module
Definition in file tcpip.c.
1.8.6