ReactOS 0.4.16-dev-297-gc569aee
ZEP - ZigBee Encapsulation Protocol
Collaboration diagram for ZEP - ZigBee Encapsulation Protocol:

A netif implementing the ZigBee Encapsulation Protocol (ZEP). This is used to tunnel 6LowPAN over UDP.

Usage (there must be a default netif before!):

netif_add(&zep_netif, NULL, NULL, NULL, NULL, zepif_init, tcpip_6lowpan_input);
netif_create_ip6_linklocal_address(&zep_netif, 1);
netif_set_up(&zep_netif);
netif_set_link_up(&zep_netif);
#define NULL
Definition: types.h:112
struct netif * netif_add(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input)
Definition: netif.c:287
void netif_set_link_up(struct netif *netif)
Definition: netif.c:1018
void netif_set_up(struct netif *netif)
Definition: netif.c:871