Contiki 3.x
|
Implementation of the servreg-hack applicationMore...
#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... | |
Implementation of the servreg-hack application
Definition in file servreg-hack.c.