Lines Matching refs:coap_address_t
32 struct coap_address_t {
41 coap_address_get_port(const coap_address_t *addr) {
49 coap_address_set_port(coap_address_t *addr, uint16_t port) {
69 struct coap_address_t {
78 coap_address_get_port(const coap_address_t *addr) {
86 coap_address_set_port(coap_address_t *addr, uint16_t port) {
117 struct coap_address_t {
130 uint16_t coap_address_get_port(const coap_address_t *addr);
135 void coap_address_set_port(coap_address_t *addr, uint16_t port);
142 int coap_address_equals(const coap_address_t *a, const coap_address_t *b);
144 int _coap_address_isany_impl(const coap_address_t *a);
152 coap_address_t addr; /**< The address to connect / bind to */
180 * Resolve the specified @p address into a set of coap_address_t that can
213 * Resets the given coap_address_t object @p addr to its default values. In
217 * @param addr The coap_address_t object to initialize.
219 void coap_address_init(coap_address_t *addr);
222 * Convert the given coap_address_t object @p addr from binary to text form.
225 void coap_address_ntop(const coap_address_t *addr, char *dst, int len);
228 * Copy the parsed unix domain host into coap_address_t structure
231 * @param addr coap_address_t to update.
238 int coap_address_set_unix_domain(coap_address_t *addr,
244 coap_address_copy(coap_address_t *dst, const coap_address_t *src) {
245 memcpy(dst, src, sizeof(coap_address_t));
248 void coap_address_copy(coap_address_t *dst, const coap_address_t *src);
258 coap_address_equals(const coap_address_t *a, const coap_address_t *b) {
271 coap_address_isany(const coap_address_t *a) {
282 int coap_is_mcast(const coap_address_t *a);
288 int coap_is_bcast(const coap_address_t *a);
294 int coap_is_af_unix(const coap_address_t *a);
303 coap_is_mcast(const coap_address_t *a) {
312 coap_is_af_unix(const coap_address_t *a) {
319 coap_is_bcast(const coap_address_t *a) {