Contiki 3.x
Functions
servreg-hack.c File Reference

    Implementation of the servreg-hack application
More...

#include "contiki.h"
#include "contiki-lib.h"
#include "contiki-net.h"
#include "net/ip/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "servreg-hack.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void servreg_hack_init (void)
 Initialize and start the servreg-hack application. More...
 
void servreg_hack_register (servreg_hack_id_t service_id, const uip_ipaddr_t *addr)
 Register that this node provides a service. More...
 
servreg_hack_item_t * servreg_hack_list_head (void)
 Obtain the list of services provided by neighbors. More...
 
servreg_hack_id_t servreg_hack_item_id (servreg_hack_item_t *item)
 Get the service ID for a list item. More...
 
uip_ipaddr_t * servreg_hack_item_address (servreg_hack_item_t *item)
 Get the IP address for a list item. More...
 
uip_ipaddr_t * servreg_hack_lookup (servreg_hack_id_t service_id)
 Get the IP address of a node offering a service. More...
 

Detailed Description

    Implementation of the servreg-hack application
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file servreg-hack.c.