/external/dhcpcd-6.8.2/ |
D | ipv4.h | 40 struct in_addr dest; 41 struct in_addr net; 42 struct in_addr gate; 47 struct in_addr src; 54 struct in_addr addr; 55 struct in_addr net; 56 struct in_addr dst; 75 uint8_t inet_ntocidr(struct in_addr); 76 int inet_cidrtoaddr(int, struct in_addr *); 78 int ipv4_addrexists(struct dhcpcd_ctx *, const struct in_addr *); [all …]
|
D | dhcp.h | 189 struct in_addr addr; 190 struct in_addr net; 191 struct in_addr brd; 195 struct in_addr server; 238 struct in_addr addr; 239 struct in_addr net; 240 struct in_addr dst; 257 struct in_addr failed; 280 int get_option_addr(struct dhcpcd_ctx *,struct in_addr *, 291 struct dhcp_message *dhcp_message_new(const struct in_addr *addr, [all …]
|
D | arp.h | 48 struct in_addr sip; 50 struct in_addr tip; 61 struct in_addr src_addr; 62 struct in_addr addr; 65 struct in_addr failed; 75 struct arp_state *arp_new(struct interface *, const struct in_addr *); 81 void arp_handleifa(int, struct interface *, const struct in_addr *, int);
|
D | if.h | 137 const struct in_addr *, const struct in_addr *, 138 const struct in_addr *, int); 144 int if_addrflags(const struct in_addr *, const struct interface *);
|
D | if-sun.c | 108 if_address(const struct interface *iface, const struct in_addr *address, in if_address() 109 const struct in_addr *netmask, const struct in_addr *broadcast, in if_address()
|
/external/tcpdump/ |
D | ospf.h | 171 struct in_addr lsa_id; 177 struct in_addr ls_router; 195 struct in_addr link_id; 196 struct in_addr link_data; 203 struct in_addr nla_mask; 204 struct in_addr nla_router[1]; /* may repeat */ 209 struct in_addr sla_mask; 215 struct in_addr asla_mask; 218 struct in_addr asla_forward; 219 struct in_addr asla_tag; [all …]
|
D | print-cnfp.c | 67 struct in_addr src_ina; 68 struct in_addr dst_ina; 69 struct in_addr nhop_ina; 99 struct in_addr src_ina; 100 struct in_addr dst_ina; 101 struct in_addr nhop_ina; 119 struct in_addr peer_nexthop; /* v6: IP address of the nexthop within the peer (FIB)*/ 133 struct in_addr src_ina; 134 struct in_addr dst_ina; 135 struct in_addr nhop_ina; [all …]
|
/external/dnsmasq/src/ |
D | dnsmasq.h | 202 struct in_addr addr4; 210 struct in_addr addr; 216 struct in_addr in, end, out, mask; 345 struct in_addr netmask; /* only valid for IPv4 */ 421 struct in_addr addr, override, giaddr; 451 struct in_addr addr; 496 struct in_addr next_server; 504 struct in_addr server; 538 struct in_addr start, end; 544 struct in_addr netmask, broadcast; [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | mroute.h | 64 struct in_addr vifc_lcl_addr; /* Local interface address */ 67 struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */ 81 struct in_addr mfcc_origin; /* Origin of mcast */ 82 struct in_addr mfcc_mcastgrp; /* Group in question */ 96 struct in_addr src; 97 struct in_addr grp; 126 struct in_addr im_src,im_dst;
|
D | in.h | 84 struct in_addr { struct 167 struct in_addr imr_multiaddr; /* IP multicast address of group */ 168 struct in_addr imr_interface; /* local IP address of interface */ 172 struct in_addr imr_multiaddr; /* IP multicast address of group */ 173 struct in_addr imr_address; /* local IP address of interface */ 222 struct in_addr ipi_spec_dst; 223 struct in_addr ipi_addr; 233 struct in_addr sin_addr; /* Internet address */ 237 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
/external/iproute2/include/linux/ |
D | in.h | 84 struct in_addr { struct 167 struct in_addr imr_multiaddr; /* IP multicast address of group */ 168 struct in_addr imr_interface; /* local IP address of interface */ 172 struct in_addr imr_multiaddr; /* IP multicast address of group */ 173 struct in_addr imr_address; /* local IP address of interface */ 222 struct in_addr ipi_spec_dst; 223 struct in_addr ipi_addr; 233 struct in_addr sin_addr; /* Internet address */ 237 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
/external/iputils/ninfod/ |
D | ninfod_addrs.c | 316 int filter_ipv4addr(const struct in_addr *ifaddr, unsigned int flags) in filter_ipv4addr() 328 if (subject && subjlen != sizeof(struct in_addr)) { in pr_nodeinfo_ipv4addr() 346 if ((((struct in_addr *)subject)->s_addr != htonl(INADDR_LOOPBACK)) && in pr_nodeinfo_ipv4addr() 347 memcmp((struct in_addr *)ifa->ifa_addr, in pr_nodeinfo_ipv4addr() 348 (struct in_addr *)subject, in pr_nodeinfo_ipv4addr() 349 sizeof(struct in_addr)) == 0) { in pr_nodeinfo_ipv4addr() 396 if (filter_ipv4addr((struct in_addr *)ifa->ifa_addr, flags)) in pr_nodeinfo_ipv4addr() 399 …((MAX_REPLY_SIZE - sizeof(struct icmp6_nodeinfo)) / (sizeof(uint32_t) + sizeof(struct in_addr)))) { in pr_nodeinfo_ipv4addr() 416 p->replydatalen = (sizeof(uint32_t)+sizeof(struct in_addr)) * addrs0; in pr_nodeinfo_ipv4addr() 439 if (filter_ipv4addr((struct in_addr *)ifa->ifa_addr, flags)) in pr_nodeinfo_ipv4addr() [all …]
|
/external/iptables/include/ |
D | xtables.h | 36 struct in_addr; 461 extern const char *xtables_ipaddr_to_numeric(const struct in_addr *); 462 extern const char *xtables_ipaddr_to_anyname(const struct in_addr *); 463 extern const char *xtables_ipmask_to_numeric(const struct in_addr *); 464 extern struct in_addr *xtables_numeric_to_ipaddr(const char *); 465 extern struct in_addr *xtables_numeric_to_ipmask(const char *); 466 extern int xtables_ipmask_to_cidr(const struct in_addr *); 467 extern void xtables_ipparse_any(const char *, struct in_addr **, 468 struct in_addr *, unsigned int *); 469 extern void xtables_ipparse_multiple(const char *, struct in_addr **, [all …]
|
/external/iproute2/include/ |
D | xtables.h | 36 struct in_addr; 464 extern const char *xtables_ipaddr_to_numeric(const struct in_addr *); 465 extern const char *xtables_ipaddr_to_anyname(const struct in_addr *); 466 extern const char *xtables_ipmask_to_numeric(const struct in_addr *); 467 extern struct in_addr *xtables_numeric_to_ipaddr(const char *); 468 extern struct in_addr *xtables_numeric_to_ipmask(const char *); 469 extern int xtables_ipmask_to_cidr(const struct in_addr *); 470 extern void xtables_ipparse_any(const char *, struct in_addr **, 471 struct in_addr *, unsigned int *); 472 extern void xtables_ipparse_multiple(const char *, struct in_addr **, [all …]
|
/external/c-ares/ |
D | ares_parse_a_reply.c | 65 struct in_addr *addrs; in ares_parse_a_reply() 102 addrs = malloc(ancount * sizeof(struct in_addr)); in ares_parse_a_reply() 146 && rr_len == sizeof(struct in_addr) in ares_parse_a_reply() 151 if (aptr + sizeof(struct in_addr) > abuf + alen) in ares_parse_a_reply() 157 memcpy(&addrs[naddrs], aptr, sizeof(struct in_addr)); in ares_parse_a_reply() 162 if (aptr + sizeof(struct in_addr) > abuf + alen) in ares_parse_a_reply() 168 memcpy(&at->ipaddr, aptr, sizeof(struct in_addr)); in ares_parse_a_reply() 240 hostent->h_length = sizeof(struct in_addr); in ares_parse_a_reply()
|
D | ares_gethostbyname.c | 82 static int get_address_index(const struct in_addr *addr, 247 struct in_addr in; in fake_hostent() 284 hostent.h_length = (int)sizeof(struct in_addr); in fake_hostent() 424 struct in_addr a1, a2; in sort_addresses() 434 memcpy(&a1, host->h_addr_list[i1], sizeof(struct in_addr)); in sort_addresses() 438 memcpy(&a2, host->h_addr_list[i2], sizeof(struct in_addr)); in sort_addresses() 442 memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in_addr)); in sort_addresses() 444 memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in_addr)); in sort_addresses() 451 static int get_address_index(const struct in_addr *addr, in get_address_index()
|
D | acountry.c | 97 static void find_country_from_cname(const char *cname, struct in_addr addr); 158 struct in_addr addr; in main() 245 find_country_from_cname(cname, *(struct in_addr*)host->h_addr); in callback() 253 struct in_addr *addr = (struct in_addr*) arg; in callback2() 554 static void find_country_from_cname(const char *cname, struct in_addr addr) in find_country_from_cname()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 70 struct in_addr ciaddr, yiaddr, siaddr, giaddr; 176 static int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask) in is_same_net() 181 static struct in_addr find_interface(struct in_addr client, int fd, int index) in find_interface() 230 struct in_addr netmask, addr; in find_interface() 237 addr = *((struct in_addr *)(rta+1)); in find_interface() 250 struct in_addr server, lease; in main()
|
/external/iptables/libxtables/ |
D | xtables.c | 1178 const char *xtables_ipaddr_to_numeric(const struct in_addr *addrp) in xtables_ipaddr_to_numeric() 1187 static const char *ipaddr_to_host(const struct in_addr *addr) in ipaddr_to_host() 1191 host = gethostbyaddr(addr, sizeof(struct in_addr), AF_INET); in ipaddr_to_host() 1198 static const char *ipaddr_to_network(const struct in_addr *addr) in ipaddr_to_network() 1208 const char *xtables_ipaddr_to_anyname(const struct in_addr *addr) in xtables_ipaddr_to_anyname() 1219 int xtables_ipmask_to_cidr(const struct in_addr *mask) in xtables_ipmask_to_cidr() 1240 const char *xtables_ipmask_to_numeric(const struct in_addr *mask) in xtables_ipmask_to_numeric() 1259 static struct in_addr *__numeric_to_ipaddr(const char *dotted, bool is_mask) in __numeric_to_ipaddr() 1261 static struct in_addr addr; in __numeric_to_ipaddr() 1305 struct in_addr *xtables_numeric_to_ipaddr(const char *dotted) in xtables_numeric_to_ipaddr() [all …]
|
/external/wpa_supplicant_8/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);
|
/external/kernel-headers/original/uapi/linux/netfilter_arp/ |
D | arpt_mangle.h | 5 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr) 11 struct in_addr src_ip; 14 struct in_addr tgt_ip;
|
/external/netperf/src/missing/ |
D | getaddrinfo.c | 338 struct in_addr **addr_list; 339 struct in_addr *addr_list_buf[2]; 340 struct in_addr addr_buf; 341 struct in_addr **ap; 415 sizeof(struct in_addr), AF_INET); 442 addr_list = (struct in_addr **)hostent->h_addr_list; 488 memcpy(&sa_in->sin_addr, *ap, sizeof(struct in_addr)); 575 sizeof(struct in_addr), AF_INET);
|
/external/iputils/ |
D | rdisc.c | 68 struct in_addr address; /* Used to identify the interface */ 69 struct in_addr localaddr; /* Actual address if the interface */ 72 struct in_addr bcastaddr; 73 struct in_addr remoteaddr; 74 struct in_addr netmask; 92 static char *pr_name(struct in_addr addr); 95 static void record_router(struct in_addr router, int preference, int ttl); 96 static void add_route(struct in_addr addr); 97 static void del_route(struct in_addr addr); 98 static void rtioctl(struct in_addr addr, int op); [all …]
|
/external/selinux/libsepol/src/ |
D | node_record.c | 52 struct in_addr in_addr; in node_parse_addr() local 54 if (inet_pton(AF_INET, addr_str, &in_addr) <= 0) { in node_parse_addr() 60 memcpy(addr_bytes, &in_addr.s_addr, 4); in node_parse_addr() 65 struct in6_addr in_addr; in node_parse_addr() local 67 if (inet_pton(AF_INET6, addr_str, &in_addr) <= 0) { in node_parse_addr() 74 memcpy(addr_bytes, in_addr.s6_addr, 16); in node_parse_addr() 76 memcpy(addr_bytes, in_addr.s6_addr32, 16); in node_parse_addr() 146 struct in_addr addr; in node_expand_addr() 147 memset(&addr, 0, sizeof(struct in_addr)); in node_expand_addr()
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_cfg.h | 157 struct in_addr addr4; /* IPv4 address */ 158 struct in_addr mask4; /* IPv4 netmask */ 159 struct in_addr dns4[MAXNS]; /* IPv4 DNS (when client only) */ 161 struct in_addr wins4[MAXWINS]; /* IPv4 WINS (when client only) */
|