Lines Matching refs:uri
39 static coap_uri_t uri; variable
689 coap_split_uri((unsigned char *)arg, strlen(arg), &uri ); in cmdline_uri()
691 if (uri.port != COAP_DEFAULT_PORT) { in cmdline_uri()
694 coap_encode_var_bytes(portbuf, uri.port), in cmdline_uri()
698 if (uri.path.length) { in cmdline_uri()
700 res = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in cmdline_uri()
712 if (uri.query.length) { in cmdline_uri()
715 res = coap_split_query(uri.query.s, uri.query.length, buf, &buflen); in cmdline_uri()
1128 server = uri.host; in main()
1129 port = uri.port; in main()
1174 && (strlen(addr) != uri.host.length in main()
1175 || memcmp(addr, uri.host.s, uri.host.length) != 0)) { in main()
1180 uri.host.length, in main()
1181 uri.host.s)); in main()