Representation of network addresses.
More...
#include <assert.h>
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Representation of network addresses.
Definition in file address.h.
multi-purpose address abstraction
Compares given address objects a and b.
This function returns 1 if addresses are equal, 0 otherwise. The parameters a and b must not be NULL;
Definition at line 17 of file address.c.
Resets the given coap_address_t object addr to its default values.
In particular, the member size must be initialized to the available size for storing addresses.
- Parameters
-
Definition at line 116 of file address.h.
Checks if given address object a denotes the wildcard address.
This function returns 1 if this is the case, 0 otherwise. The parameters a must not be NULL;
Definition at line 144 of file address.h.
Checks if given address a denotes a multicast address.
This function returns 1 if a is multicast, 0 otherwise.
Definition at line 154 of file address.h.