Contiki 2.6

tcpip.c File Reference

Code for tunnelling uIP packets over the Rime mesh routing module. More...

#include "contiki-net.h"
#include "net/uip-split.h"
#include "net/uip-packetqueue.h"
#include <string.h>
#include "net/uip-debug.h"

Go to the source code of this file.

Functions

uint8_t tcpip_output (void)
 Output packet to layer 2 The eventual parameter is the MAC address of the destination.
void udp_attach (struct uip_udp_conn *conn, void *appstate)
 Attach the current process to a UDP connection.
struct uip_udp_connudp_new (const uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
 Create a new UDP connection.
struct uip_udp_connudp_broadcast_new (uint16_t port, void *appstate)
 Create a new UDP broadcast connection.
void tcpip_input (void)
 Deliver an incoming packet to the TCP/IP stack.
void tcpip_poll_udp (struct uip_udp_conn *conn)
 Cause a specified UDP connection to be polled.

Variables

process_event_t tcpip_event
 The uIP event.

Detailed Description

Code for tunnelling uIP packets over the Rime mesh routing module.

Author:
Adam Dunkels <adam@sics.se>
Mathilde Durvy <mdurvy@cisco.com> (IPv6 related code)
Julien Abeille <jabeille@cisco.com> (IPv6 related code)

Definition in file tcpip.c.