/third_party/uboot/u-boot-2020.01/include/ |
D | net.h | 49 struct in_addr { struct 62 struct in_addr sip, unsigned sport, argument 76 struct in_addr sip, unsigned sport, uchar *pkt, unsigned len); 289 int eth_mcast_join(struct in_addr mcast_addr, int join); 364 struct in_addr ip_src; /* Source IP address */ 365 struct in_addr ip_dst; /* Destination IP address */ 390 struct in_addr ip_src; /* Source IP address */ 391 struct in_addr ip_dst; /* Destination IP address */ 505 extern struct in_addr net_gateway; /* Our gateway IP address */ 506 extern struct in_addr net_netmask; /* Our subnet mask (0 = unknown) */ [all …]
|
/third_party/musl/porting/liteos_m/kernel/include/netinet/ |
D | in.h | 14 struct in_addr { in_addr_t s_addr; }; struct 19 struct in_addr sin_addr; 232 struct in_addr ip_dst; 250 struct in_addr imr_multiaddr; 251 struct in_addr imr_interface; 255 struct in_addr imr_multiaddr; 256 struct in_addr imr_address; 261 struct in_addr imr_multiaddr; 262 struct in_addr imr_interface; 263 struct in_addr imr_sourceaddr; [all …]
|
/third_party/musl/porting/liteos_a/kernel/include/netinet/ |
D | in.h | 14 struct in_addr { in_addr_t s_addr; }; struct 19 struct in_addr sin_addr; 232 struct in_addr ip_dst; 250 struct in_addr imr_multiaddr; 251 struct in_addr imr_interface; 255 struct in_addr imr_multiaddr; 256 struct in_addr imr_address; 261 struct in_addr imr_multiaddr; 262 struct in_addr imr_interface; 263 struct in_addr imr_sourceaddr; [all …]
|
/third_party/musl/include/netinet/ |
D | in.h | 14 struct in_addr { in_addr_t s_addr; }; argument 19 struct in_addr sin_addr; 232 struct in_addr ip_dst; 250 struct in_addr imr_multiaddr; 251 struct in_addr imr_interface; 255 struct in_addr imr_multiaddr; 256 struct in_addr imr_address; 261 struct in_addr imr_multiaddr; 262 struct in_addr imr_interface; 263 struct in_addr imr_sourceaddr; [all …]
|
/third_party/musl/porting/liteos_m/kernel/include/arpa/ |
D | inet.h | 18 char *inet_ntoa (struct in_addr); 22 int inet_aton (const char *, struct in_addr *); 23 struct in_addr inet_makeaddr(in_addr_t, in_addr_t); 24 in_addr_t inet_lnaof(struct in_addr); 25 in_addr_t inet_netof(struct in_addr);
|
/third_party/musl/include/arpa/ |
D | inet.h | 18 char *inet_ntoa (struct in_addr); 22 int inet_aton (const char *, struct in_addr *); 23 struct in_addr inet_makeaddr(in_addr_t, in_addr_t); 24 in_addr_t inet_lnaof(struct in_addr); 25 in_addr_t inet_netof(struct in_addr);
|
/third_party/musl/porting/liteos_a/kernel/include/arpa/ |
D | inet.h | 18 char *inet_ntoa (struct in_addr); 22 int inet_aton (const char *, struct in_addr *); 23 struct in_addr inet_makeaddr(in_addr_t, in_addr_t); 24 in_addr_t inet_lnaof(struct in_addr); 25 in_addr_t inet_netof(struct in_addr);
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat01.c | 31 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA)) argument 52 static void *expected_addr(void *in_addr, void *out_addr) in expected_addr() argument 54 if (!in_addr) in expected_addr() 57 return ALIGN_DOWN(in_addr); in expected_addr() 60 static void do_child(int *in_addr, int expect_crash) in do_child() argument 65 *in_addr = 10; in do_child()
|
/third_party/libnl/include/linux-private/linux/ |
D | in.h | 85 struct in_addr { struct 169 struct in_addr imr_multiaddr; /* IP multicast address of group */ 170 struct in_addr imr_interface; /* local IP address of interface */ 174 struct in_addr imr_multiaddr; /* IP multicast address of group */ 175 struct in_addr imr_address; /* local IP address of interface */ 224 struct in_addr ipi_spec_dst; 225 struct in_addr ipi_addr; 235 struct in_addr sin_addr; /* Internet address */ 239 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
/third_party/ltp/testcases/lib/ |
D | tst_net_vars.c | 90 static struct in_addr prefix2mask(unsigned int prefix) in prefix2mask() 92 struct in_addr mask; in prefix2mask() 108 static struct in_addr calc_network(const struct in_addr *ip, in calc_network() 109 struct in_addr *mask) in calc_network() 111 struct in_addr network; in calc_network() 119 static int is_in_subnet_ipv4(const struct in_addr *network, in is_in_subnet_ipv4() 120 const struct in_addr *mask, const struct in_addr *ip) in is_in_subnet_ipv4() 146 struct in_addr mask = prefix2mask(prefix); in get_ipv4_netmask() 188 static char *get_ipv4_broadcast(struct in_addr ip, unsigned int prefix) in get_ipv4_broadcast() 190 struct in_addr mask = prefix2mask(prefix); in get_ipv4_broadcast() [all …]
|
/third_party/musl/src/network/ |
D | inet_legacy.c | 10 struct in_addr inet_makeaddr(in_addr_t n, in_addr_t h) in inet_makeaddr() 15 return (struct in_addr){ h }; in inet_makeaddr() 18 in_addr_t inet_lnaof(struct in_addr in) in inet_lnaof() 26 in_addr_t inet_netof(struct in_addr in) in inet_netof()
|
/third_party/musl/porting/linux/user/src/network/ |
D | inet_legacy.c | 10 struct in_addr inet_makeaddr(in_addr_t n, in_addr_t h) in inet_makeaddr() 15 return (struct in_addr){ htonl(h) }; in inet_makeaddr() 18 in_addr_t inet_lnaof(struct in_addr in) in inet_lnaof() 26 in_addr_t inet_netof(struct in_addr in) in inet_netof()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | inet_legacy.c | 10 struct in_addr inet_makeaddr(in_addr_t n, in_addr_t h) in inet_makeaddr() 15 return (struct in_addr){ htonl(h) }; in inet_makeaddr() 18 in_addr_t inet_lnaof(struct in_addr in) in inet_lnaof() 26 in_addr_t inet_netof(struct in_addr in) in inet_netof()
|
/third_party/uboot/u-boot-2020.01/net/ |
D | bootp.h | 44 struct in_addr bp_ciaddr; /* Client IP address */ 45 struct in_addr bp_yiaddr; /* Your (client) IP address */ 46 struct in_addr bp_siaddr; /* Server IP address */ 47 struct in_addr bp_giaddr; /* Gateway IP address */
|
D | arp.h | 17 extern struct in_addr net_arp_wait_packet_ip; 27 void arp_raw_request(struct in_addr source_ip, const uchar *targetEther, 28 struct in_addr target_ip);
|
D | bootp.c | 69 static struct in_addr dhcp_server_ip; 73 static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip, 150 struct in_addr tmp_ip; in store_net_params() 209 net_copy_ip(&net_netmask, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 216 net_copy_ip(&net_gateway, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 225 (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 229 (struct in_addr *)(ext + 2 + 4)); in bootp_process_vendor_field() 290 net_copy_ip(&net_ntp_server, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 351 static void bootp_handler(uchar *pkt, unsigned dest, struct in_addr sip, in bootp_handler() 451 static int dhcp_extended(u8 *e, int message_type, struct in_addr server_ip, in dhcp_extended() [all …]
|
D | wol.c | 56 struct in_addr *ip = (struct in_addr *)(wol->wol_passwd); in wol_receive() 64 static void wol_udp_handler(uchar *pkt, unsigned int dest, struct in_addr sip, in wol_udp_handler()
|
D | arp.c | 30 struct in_addr net_arp_wait_packet_ip; 31 static struct in_addr net_arp_wait_reply_ip; 51 void arp_raw_request(struct in_addr source_ip, const uchar *target_ethaddr, in arp_raw_request() 52 struct in_addr target_ip) in arp_raw_request() 126 struct in_addr reply_ip_addr; in arp_receive()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_er.h | 37 struct in_addr addr; 95 struct in_addr filter_addr; 102 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, 104 void wps_er_ap_remove(struct wps_er *er, struct in_addr *addr); 105 int wps_er_ap_cache_settings(struct wps_er *er, struct in_addr *addr);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_er.h | 37 struct in_addr addr; 95 struct in_addr filter_addr; 102 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, 104 void wps_er_ap_remove(struct wps_er *er, struct in_addr *addr); 105 int wps_er_ap_cache_settings(struct wps_er *er, struct in_addr *addr);
|
/third_party/uboot/u-boot-2020.01/drivers/net/ |
D | netconsole.c | 24 static struct in_addr nc_ip; /* server ip */ 36 struct in_addr sip, unsigned src, in nc_wait_arp_handler() 42 static void nc_handler(uchar *pkt, unsigned dest, struct in_addr sip, in nc_handler() 54 static int is_broadcast(struct in_addr ip) in is_broadcast() 56 static struct in_addr netmask; in is_broadcast() 57 static struct in_addr our_ip; in is_broadcast() 135 int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port, in nc_input_packet() 182 struct in_addr ip; in nc_send_packet()
|
/third_party/pulseaudio/src/pulsecore/ |
D | arpa-inet.c | 35 struct in_addr *in = (struct in_addr*)src; in inet_ntop() 80 struct in_addr *in = (struct in_addr*)dst; in inet_pton()
|
/third_party/cares/ |
D | ares_parse_a_reply.c | 60 struct in_addr *addrs = NULL; in ares_parse_a_reply() 149 hostent->h_length = sizeof(struct in_addr); in ares_parse_a_reply() 153 addrs = ares_malloc(naddrs * sizeof(struct in_addr)); in ares_parse_a_reply() 168 sizeof(struct in_addr)); in ares_parse_a_reply() 178 sizeof(struct in_addr)); in ares_parse_a_reply()
|
D | ares_gethostbyname.c | 76 static int get_address_index(const struct in_addr *addr, 258 struct in_addr in; in fake_hostent() 295 hostent.h_length = (int)sizeof(struct in_addr); in fake_hostent() 440 struct in_addr a1, a2; in sort_addresses() 450 memcpy(&a1, host->h_addr_list[i1], sizeof(struct in_addr)); in sort_addresses() 454 memcpy(&a2, host->h_addr_list[i2], sizeof(struct in_addr)); in sort_addresses() 458 memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in_addr)); in sort_addresses() 460 memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in_addr)); in sort_addresses() 467 static int get_address_index(const struct in_addr *addr, in get_address_index()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_gethostbyname.c | 45 static int get_address_index(const struct in_addr *addr, 121 struct in_addr a1, a2; in sort_addresses() 131 memcpy(&a1, host->h_addr_list[i1], sizeof(struct in_addr)); in sort_addresses() 135 memcpy(&a2, host->h_addr_list[i2], sizeof(struct in_addr)); in sort_addresses() 139 memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in_addr)); in sort_addresses() 141 memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in_addr)); in sort_addresses() 148 static int get_address_index(const struct in_addr *addr, in get_address_index()
|