Lines Matching refs:port
33 uint16_t port;
38 * Returns the port from @p addr in host byte order.
42 return addr->port;
46 * Sets the port field of @p addr to @p port (in host byte order).
49 coap_address_set_port(coap_address_t *addr, uint16_t port) {
50 addr->port = port;
54 ((A)->port == (B)->port && \
71 uint16_t port;
75 * Returns the port from @p addr in host byte order.
79 return uip_ntohs(addr->port);
83 * Sets the port field of @p addr to @p port (in host byte order).
86 coap_address_set_port(coap_address_t *addr, uint16_t port) {
87 addr->port = uip_htons(port);
91 ((A)->port == (B)->port && \
128 * Returns the port from @p addr in host byte order.
133 * Set the port field of @p addr to @p port (in host byte order).
135 void coap_address_set_port(coap_address_t *addr, uint16_t port);
184 * @param port The unsecured protocol port to use.
185 * @param secure_port The secured protocol port to use.
186 * @param ws_port The unsecured WebSockets port to use.
187 * @param ws_secure_port The secured WebSockets port to use.
196 uint16_t port,