44 #include "contiki-conf.h" static uip_ipaddr_t ipaddr
Pointer to prefix information option in uip_buf.
Header file for the link-layer address representation
Node-id (simple 16-bit identifiers) handling.
void deployment_iid_from_id(uip_ipaddr_t *ipaddr, uint16_t id)
Get IPv6 IID from node IDs.
ID<->MAC address mapping structure.
void deployment_init(void)
DEPLOYMENT_MAPPING: A table of struct id_mac that provides ID-MAC mapping for a deployment.
int deployment_node_count(void)
Get the number of nodes for the deployment (length of mapping table)
Header file for the uIP TCP/IP stack.
uint16_t deployment_id_from_lladdr(const linkaddr_t *lladdr)
Get node ID from a link-layer address, from the deployment mapping table.
void deployment_lladdr_from_id(linkaddr_t *lladdr, uint16_t id)
Get node link-layer address from a node ID, from the deployment mapping table.
uint16_t deployment_id_from_index(uint16_t index)
Get node ID from index in mapping table.
uint16_t deployment_id_from_iid(const uip_ipaddr_t *ipaddr)
Get node ID from the IID of an IPv6 address.