Home
last modified time | relevance | path

Searched refs:addr_str (Results 1 – 21 of 21) sorted by relevance

/third_party/libcoap/examples/riot/examples_libcoap_server/
Dserver-coap.c129 char addr_str[INET6_ADDRSTRLEN + 8]; in init_coap_context_endpoints() local
146 coap_print_ip_addr(&listenaddress, addr_str, sizeof(addr_str)); in init_coap_context_endpoints()
147 coap_log_info("Server IP [%s]\n", addr_str); in init_coap_context_endpoints()
166 local.s = (uint8_t *)addr_str; in init_coap_context_endpoints()
167 local.length = strlen(addr_str); in init_coap_context_endpoints()
/third_party/selinux/libsepol/src/
Dnode_record.c45 const char *addr_str, int proto, char *addr_bytes) in node_parse_addr() argument
54 if (inet_pton(AF_INET, addr_str, &in_addr) <= 0) { in node_parse_addr()
56 "%s: %m", addr_str); in node_parse_addr()
67 if (inet_pton(AF_INET6, addr_str, &in_addr) <= 0) { in node_parse_addr()
69 "%s: %m", addr_str); in node_parse_addr()
135 char *addr_bytes, int proto, char *addr_str) in node_expand_addr() argument
146 if (inet_ntop(AF_INET, &addr, addr_str, in node_expand_addr()
161 if (inet_ntop(AF_INET6, &addr, addr_str, in node_expand_addr()
/third_party/toybox/toys/pending/
Dtraceroute.c84 char addr_str[INET6_ADDRSTRLEN]; variable
419 memset(addr_str, '\0', INET6_ADDRSTRLEN); in do_trace()
421 addr_str, INET6_ADDRSTRLEN); in do_trace()
422 xprintf(" %s", addr_str); in do_trace()
430 memset(addr_str, '\0', INET6_ADDRSTRLEN); in do_trace()
432 &from)->sin6_addr, addr_str, INET6_ADDRSTRLEN); in do_trace()
434 xprintf(" %d bytes to %s ", rcv_len, addr_str); in do_trace()
626 addr_str, INET6_ADDRSTRLEN); in traceroute_main()
627 xprintf("traceroute6 to %s(%s)", toys.optargs[0], addr_str); in traceroute_main()
/third_party/libcoap/examples/
Detsi_iot_01.c579 char addr_str[NI_MAXHOST] = "::"; in main() local
591 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
592 addr_str[NI_MAXHOST - 1] = '\0'; in main()
609 ctx = get_context(addr_str, port_str); in main()
Doscore-interop-server.c575 char addr_str[NI_MAXHOST] = "::"; in main() local
602 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
603 addr_str[NI_MAXHOST - 1] = '\0'; in main()
668 ctx = get_context(addr_str, port_str); in main()
Dcoap-rd.c759 char addr_str[NI_MAXHOST] = "::"; in main() local
776 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
777 addr_str[NI_MAXHOST - 1] = '\0'; in main()
843 ctx = get_context(addr_str, port_str); in main()
Dcoap-server.c2713 char addr_str[NI_MAXHOST] = "::"; in main() local
2746 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
2747 addr_str[NI_MAXHOST - 1] = '\0'; in main()
2919 ctx = get_context(addr_str, port_str); in main()
/third_party/python/Lib/
Dipaddress.py1305 addr_str = str(address)
1306 if '/' in addr_str:
1308 self._ip = self._ip_int_from_string(addr_str)
1914 addr_str = str(address)
1915 if '/' in addr_str:
1917 addr_str, self._scope_id = self._split_scope_id(addr_str)
1919 self._ip = self._ip_int_from_string(addr_str)
/third_party/libcoap/src/
Dcoap_net.c1399 char addr_str[INET6_ADDRSTRLEN + 8 + 1]; in coap_send_internal() local
1403 addr_str[sizeof(addr_str)-1] = '\000'; in coap_send_internal()
1404 if (coap_print_addr(&session->addr_info.local, (uint8_t *)addr_str, in coap_send_internal()
1405 sizeof(addr_str) - 1)) { in coap_send_internal()
1409 if (addr_str[0] == '[') { in coap_send_internal()
1410 cp = strchr(addr_str, ']'); in coap_send_internal()
1413 if (memcmp(&addr_str[1], "::ffff:", 7) == 0) { in coap_send_internal()
1415 cp = &addr_str[8]; in coap_send_internal()
1417 cp = &addr_str[1]; in coap_send_internal()
1420 cp = strchr(addr_str, ':'); in coap_send_internal()
[all …]
Dcoap_session.c1918 unsigned char addr_str[INET6_ADDRSTRLEN + 8]; in coap_new_endpoint() local
1920 if (coap_print_addr(&ep->bind_addr, addr_str, INET6_ADDRSTRLEN + 8)) { in coap_new_endpoint()
1922 addr_str); in coap_new_endpoint()
/third_party/pulseaudio/src/modules/rtp/
Drtp-gstreamer.c92 gchar *addr_str; in init_send_pipeline() local
126 addr_str = g_inet_address_to_string(iaddr); in init_send_pipeline()
131 g_object_set(sink, "socket", socket, "host", addr_str, "port", port, in init_send_pipeline()
138 g_free(addr_str); in init_send_pipeline()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_export.cpp273 string addr_str; in from_string() local
279 addr_str.append(1, c); in from_string()
282 addr_reg = vf.src_from_string(addr_str); in from_string()
/third_party/grpc/
Dsrc_core_lib_iomgr.patch45 - const char* /* addr_str */, grpc_slice_allocator* slice_allocator) {
/third_party/openssl/test/
Dssl_old_test.c1922 char addr_str[40]; in doit_localhost() local
1936 BIO_snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt)); in doit_localhost()
1938 client = BIO_new_connect(addr_str); in doit_localhost()
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c1143 CuAssertStrEquals(tc, test_copy->addr_str, in test_cil_copy_nodecon()
1144 ((struct cil_nodecon *)test_ast_node->data)->addr_str); in test_cil_copy_nodecon()
1175 CuAssertStrEquals(tc, test_copy->addr_str, in test_cil_copy_nodecon_anon()
1176 ((struct cil_nodecon *)test_ast_node->data)->addr_str); in test_cil_copy_nodecon_anon()
/third_party/selinux/libsepol/cil/src/
Dcil_copy_ast.c1173 if (orig->addr_str != NULL) { in cil_copy_nodecon()
1174 new->addr_str = orig->addr_str; in cil_copy_nodecon()
Dcil_internal.h774 char *addr_str; member
Dcil_write_ast.c1313 fprintf(out, "%s ", nodecon->addr_str); in cil_write_ast_node()
Dcil_resolve_ast.c2030 if (nodecon->addr_str != NULL) { in cil_resolve_nodecon()
2031 rc = cil_resolve_name(current, nodecon->addr_str, CIL_SYM_IPADDRS, extra_args, &addr_datum); in cil_resolve_nodecon()
Dcil.c2572 (*nodecon)->addr_str = NULL; in cil_nodecon_init()
Dcil_build_ast.c4504 nodecon->addr_str = parse_current->next->data; in cil_gen_nodecon()
4553 if (nodecon->addr_str == NULL && nodecon->addr != NULL) { in cil_destroy_nodecon()