/third_party/ltp/testcases/network/tcp_cmds/arping/ |
D | arping01.sh | 15 local ip_addr=$(tst_ipaddr rhost) 18 tst_res TINFO "arping host '$ip_addr' via dev '$dev' with timeout '$timeout' secs" 19 EXPECT_PASS arping -w $timeout "$ip_addr" -I $dev -fq
|
/third_party/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 43 struct ip_addr { struct 45 struct ip_addr *next; argument 49 static struct ip_addr *dst, *gw, *rhost; argument 70 struct ip_addr *n = SAFE_MALLOC(sizeof(*n)); in save_ip() 71 struct ip_addr **list = (struct ip_addr**)data; in save_ip() 143 struct ip_addr *p_rhost = rhost; in setup() 286 struct ip_addr *p_dst = dst, *p_gw = gw, *p_rhost = rhost; in run()
|
/third_party/ltp/testcases/network/dhcp/ |
D | dhcp_lib.sh | 49 ip_addr="fd00:1:1:2::12/64" 53 ip_addr="10.1.1.12/24" 77 tst_res TINFO "add $ip_addr to $iface0" 78 ip addr add $ip_addr dev $iface0 || \
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 70 unsigned char ip_addr[4]; member 76 struct in6_addr ip_addr; member 309 memcpy(gateway_p->ip_addr, rcvarp_p->ar_tip, 4); /* IP address */ in return_arp_reply() 312 memcpy(new_nexthop, gateway_p->ip_addr, 4); in return_arp_reply() 337 memcpy(sndarp_p->ar_sip, gateway_p->ip_addr, 4); in return_arp_reply() 414 memcpy((unsigned char *)&sndip_p->hdr.saddr, gw_p->ip_addr, 4); in return_icmp4_redirect() 499 gateway_p->ip_addr = rcvns_p->defs.nd_ns_target; /* IP address */ in return_neigh_adv() 532 sndip6_p->hdr.ip6_src = gateway_p->ip_addr; in return_neigh_adv() 539 sndna_p->defs.nd_na_target = gateway_p->ip_addr; in return_neigh_adv() 634 sndip6_p->hdr.ip6_src = gw_p->ip_addr; in return_icmp6_redirect()
|
/third_party/lwip/test/unit/mqtt/ |
D | test_mqtt.c | 22 test_mqtt_init_netif(struct netif *netif, const ip_addr_t *ip_addr, const ip_addr_t *netmask) in test_mqtt_init_netif() argument 29 ip_addr_copy_from_ip4(netif->ip_addr, *ip_2_ip4(ip_addr)); in test_mqtt_init_netif()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp_i.h | 130 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member 161 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, 173 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname);
|
D | wps_upnp_ssdp.c | 852 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname) in ssdp_open_multicast_sock() argument 887 &ip_addr, sizeof(ip_addr))) { in ssdp_open_multicast_sock() 889 "%d (%s)", ip_addr, errno, strerror(errno)); in ssdp_open_multicast_sock() 905 mreq.imr_interface.s_addr = ip_addr; in ssdp_open_multicast_sock() 938 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL); in ssdp_open_multicast()
|
D | wps_upnp.c | 310 (sm->ip_addr & sm->netmask.s_addr); in local_network_addr() 918 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, in get_netif_info() argument 941 *ip_addr = addr->sin_addr.s_addr; in get_netif_info() 942 in_addr.s_addr = *ip_addr; in get_netif_info() 1063 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
|
D | wps_er.h | 82 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp_i.h | 130 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member 160 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, 172 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname);
|
D | wps_upnp_ssdp.c | 852 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname) in ssdp_open_multicast_sock() argument 887 &ip_addr, sizeof(ip_addr))) { in ssdp_open_multicast_sock() 889 "%d (%s)", ip_addr, errno, strerror(errno)); in ssdp_open_multicast_sock() 905 mreq.imr_interface.s_addr = ip_addr; in ssdp_open_multicast_sock() 938 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL); in ssdp_open_multicast()
|
D | wps_er.h | 82 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member
|
D | wps_upnp.c | 895 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, in get_netif_info() argument 918 *ip_addr = addr->sin_addr.s_addr; in get_netif_info() 919 in_addr.s_addr = *ip_addr; in get_netif_info() 1027 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
|
/third_party/lwip/test/unit/dhcp/ |
D | test_dhcp.c | 462 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 493 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 535 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 754 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 781 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 903 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 1009 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 1017 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 1025 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 33 int r = memcmp(ip_addr, other.ip_addr, ip_size); in operator ==() 130 memcpy(cur.ip_addr, address.data, address.size); in ParseServerList()
|
D | load_balancer_api.h | 42 char ip_addr[GRPC_GRPCLB_SERVER_IP_ADDRESS_MAX_SIZE]; member
|
/third_party/gstreamer/gstplugins_bad/gst/pcapparse/ |
D | gstpcapparse.c | 205 get_ip_address_as_string (gint64 ip_addr) in get_ip_address_as_string() argument 207 if (ip_addr >= 0) { in get_ip_address_as_string() 209 addr.s_addr = ip_addr; in get_ip_address_as_string() 217 set_ip_address_from_string (gint64 * ip_addr, const gchar * ip_str) in set_ip_address_from_string() argument 222 *ip_addr = addr; in set_ip_address_from_string() 224 *ip_addr = -1; in set_ip_address_from_string()
|
/third_party/python/Lib/ |
D | uuid.py | 527 ip_addr = socket.gethostbyname(socket.gethostname()) 532 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode(ip_addr)], lambda i: -1) 537 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode(ip_addr)], lambda i: i+1) 542 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode('(%s)' % ip_addr)],
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | Makefile | 11 ip_addr.o \
|
/third_party/lwip/test/unit/tcp/ |
D | tcp_helper.c | 300 const ip_addr_t *ip_addr, const ip_addr_t *netmask) in test_tcp_init_netif() argument 311 ip_addr_copy_from_ip4(netif->ip_addr, *ip_2_ip4(ip_addr)); in test_tcp_init_netif()
|
D | tcp_helper.h | 55 const ip_addr_t *ip_addr, const ip_addr_t *netmask);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | Makefile | 21 ip_addr.o \
|
/third_party/lwip/src/include/lwip/ |
D | netif.h | 268 ip_addr_t ip_addr; member 443 #define netif_ip4_addr(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->ip_addr))) 449 #define netif_ip_addr4(netif) ((const ip_addr_t*)&((netif)->ip_addr))
|
/third_party/lwip/src/apps/mqtt/ |
D | mqtt.c | 1282 mqtt_client_connect(mqtt_client_t *client, const ip_addr_t *ip_addr, u16_t port, mqtt_connection_cb… in mqtt_client_connect() argument 1295 LWIP_ASSERT("mqtt_client_connect: ip_addr != NULL", ip_addr != NULL); in mqtt_client_connect() 1366 client->conn = altcp_tls_new(client_info->tls_config, IP_GET_TYPE(ip_addr)); in mqtt_client_connect() 1370 client->conn = altcp_tcp_new_ip_type(IP_GET_TYPE(ip_addr)); in mqtt_client_connect() 1384 …E, ("mqtt_client_connect: Connecting to host: %s at port:%"U16_F"\n", ipaddr_ntoa(ip_addr), port)); in mqtt_client_connect() 1387 err = altcp_connect(client->conn, ip_addr, port, mqtt_tcp_connect_cb); in mqtt_client_connect()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | sta_info.c | 1258 char ip_addr[100]; in ap_sta_set_authorized() local 1261 ip_addr[0] = '\0'; in ap_sta_set_authorized() 1264 os_snprintf(ip_addr, sizeof(ip_addr), in ap_sta_set_authorized() 1278 buf, ip_addr, keyid_buf); in ap_sta_set_authorized() 1284 buf, ip_addr, keyid_buf); in ap_sta_set_authorized()
|