Lines Matching refs:port
62 coap_address_set_port(coap_address_t *addr, uint16_t port) {
67 addr->addr.sin.sin_port = htons(port);
72 addr->addr.sin6.sin6_port = htons(port);
322 update_port(coap_address_t *addr, uint16_t port, uint16_t default_port,
324 /* Client target port must be set if default of 0 */
325 if (port == 0 && update_port0)
326 port = default_port;
328 coap_address_set_port(addr, port);
410 uint16_t port,
607 info->addr.port = ntohs(sock4->sin_port);
617 info->addr.port = ntohs(sock6->sin6_port);
630 update_port(&info->addr, port, COAP_DEFAULT_PORT,
638 update_port(&info->addr, port, COAP_DEFAULT_PORT,
646 update_port(&info->addr, port, 80,
784 update_port(&info->addr, port, COAP_DEFAULT_PORT,
792 update_port(&info->addr, port, COAP_DEFAULT_PORT,
800 update_port(&info->addr, port, ws_port,