/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-pgm.c | 231 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print() 233 bp += sizeof(struct in_addr); in pgm_print() 274 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print() 276 bp += sizeof(struct in_addr); in pgm_print() 345 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print() 347 bp += sizeof(struct in_addr); in pgm_print() 367 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print() 369 bp += sizeof(struct in_addr); in pgm_print() 586 if (opt_len != PGM_OPT_REDIRECT_FIXED_LEN + sizeof(struct in_addr)) { in pgm_print() 591 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print() [all …]
|
D | print-cnfp.c | 68 struct in_addr src_ina; 69 struct in_addr dst_ina; 70 struct in_addr nhop_ina; 100 struct in_addr src_ina; 101 struct in_addr dst_ina; 102 struct in_addr nhop_ina; 120 struct in_addr peer_nexthop; /* v6: IP address of the nexthop within the peer (FIB)*/ 134 struct in_addr src_ina; 135 struct in_addr dst_ina; 136 struct in_addr nhop_ina; [all …]
|
/external/iptables/extensions/ |
D | libxt_mangle.c | 55 static struct in_addr *network_to_addr(const char *name) in network_to_addr() 58 static struct in_addr addr; in network_to_addr() 62 return (struct in_addr *) NULL; in network_to_addr() 67 return (struct in_addr *) NULL; in network_to_addr() 70 static void inaddrcpy(struct in_addr *dst, struct in_addr *src) in inaddrcpy() 75 static struct in_addr *host_to_addr(const char *name, unsigned int *naddr) in host_to_addr() 77 struct in_addr *addr; in host_to_addr() 95 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_addr() 99 sizeof(struct in_addr)); in host_to_addr() 104 return (struct in_addr *) NULL; in host_to_addr() [all …]
|
/external/u-boot/include/ |
D | net.h | 46 struct in_addr { struct 59 struct in_addr sip, unsigned sport, argument 73 struct in_addr sip, unsigned sport, uchar *pkt, unsigned len); 290 int eth_mcast_join(struct in_addr mcast_addr, int join); 368 struct in_addr ip_src; /* Source IP address */ 369 struct in_addr ip_dst; /* Destination IP address */ 392 struct in_addr ip_src; /* Source IP address */ 393 struct in_addr ip_dst; /* Destination IP address */ 507 extern struct in_addr net_gateway; /* Our gateway IP address */ 508 extern struct in_addr net_netmask; /* Our subnet mask (0 = unknown) */ [all …]
|
/external/dnsmasq/src/ |
D | dnsmasq.h | 197 struct in_addr addr4; 205 struct in_addr addr; 211 struct in_addr in, end, out, mask; 340 struct in_addr netmask; /* only valid for IPv4 */ 416 struct in_addr addr, override, giaddr; 446 struct in_addr addr; 490 struct in_addr next_server; 498 struct in_addr server; 532 struct in_addr start, end; 538 struct in_addr netmask, broadcast; [all …]
|
/external/iproute2/include/uapi/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)];
|
/external/kernel-headers/original/uapi/linux/ |
D | mroute.h | 60 struct in_addr vifc_lcl_addr; /* Local interface address */ 63 struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */ 74 struct in_addr mfcc_origin; /* Origin of mcast */ 75 struct in_addr mfcc_mcastgrp; /* Group in question */ 86 struct in_addr src; 87 struct in_addr grp; 111 struct in_addr im_src,im_dst;
|
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)];
|
/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat01.c | 44 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA)) argument 65 static void *expected_addr(void *in_addr, void *out_addr) in expected_addr() argument 67 if (!in_addr) in expected_addr() 70 return ALIGN_DOWN(in_addr); in expected_addr() 73 static void do_child(int *in_addr, int expect_crash) in do_child() argument 88 *in_addr = 10; in do_child()
|
/external/ltp/testcases/lib/ |
D | tst_net_vars.c | 101 static struct in_addr prefix2mask(unsigned int prefix) in prefix2mask() 103 struct in_addr mask; in prefix2mask() 119 static struct in_addr calc_network(const struct in_addr *ip, in calc_network() 120 struct in_addr *mask) in calc_network() 122 struct in_addr network; in calc_network() 130 static int is_in_subnet_ipv4(const struct in_addr *network, in is_in_subnet_ipv4() 131 const struct in_addr *mask, const struct in_addr *ip) in is_in_subnet_ipv4() 157 struct in_addr mask = prefix2mask(prefix); in get_ipv4_netmask() 199 static char *get_ipv4_broadcast(struct in_addr ip, unsigned int prefix) in get_ipv4_broadcast() 201 struct in_addr mask = prefix2mask(prefix); in get_ipv4_broadcast() [all …]
|
/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/iptables/ |
D | xtables-arp.c | 347 static struct in_addr * 350 static struct in_addr addr; in dotted_to_addr() 364 return (struct in_addr *) NULL; in dotted_to_addr() 368 return (struct in_addr *) NULL; in dotted_to_addr() 376 return (struct in_addr *) NULL; in dotted_to_addr() 383 static struct in_addr * 387 static struct in_addr addr; in network_to_addr() 391 return (struct in_addr *) NULL; in network_to_addr() 396 return (struct in_addr *) NULL; in network_to_addr() 400 inaddrcpy(struct in_addr *dst, struct in_addr *src) in inaddrcpy() [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/iptables/include/ |
D | xtables.h | 36 struct in_addr; 497 extern const char *xtables_ipaddr_to_numeric(const struct in_addr *); 498 extern const char *xtables_ipaddr_to_anyname(const struct in_addr *); 499 extern const char *xtables_ipmask_to_numeric(const struct in_addr *); 500 extern struct in_addr *xtables_numeric_to_ipaddr(const char *); 501 extern struct in_addr *xtables_numeric_to_ipmask(const char *); 502 extern int xtables_ipmask_to_cidr(const struct in_addr *); 503 extern void xtables_ipparse_any(const char *, struct in_addr **, 504 struct in_addr *, unsigned int *); 505 extern void xtables_ipparse_multiple(const char *, struct in_addr **, [all …]
|
/external/u-boot/drivers/net/ |
D | netconsole.c | 23 static struct in_addr nc_ip; /* server ip */ 35 struct in_addr sip, unsigned src, in nc_wait_arp_handler() 41 static void nc_handler(uchar *pkt, unsigned dest, struct in_addr sip, in nc_handler() 53 static int is_broadcast(struct in_addr ip) in is_broadcast() 55 static struct in_addr netmask; in is_broadcast() 56 static struct in_addr our_ip; in is_broadcast() 134 int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port, in nc_input_packet() 181 struct in_addr ip; in nc_send_packet()
|
/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/u-boot/net/ |
D | bootp.c | 68 static struct in_addr dhcp_server_ip; 72 static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip, 149 struct in_addr tmp_ip; in store_net_params() 208 net_copy_ip(&net_netmask, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 215 net_copy_ip(&net_gateway, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 224 (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 228 (struct in_addr *)(ext + 2 + 4)); in bootp_process_vendor_field() 289 net_copy_ip(&net_ntp_server, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 350 static void bootp_handler(uchar *pkt, unsigned dest, struct in_addr sip, in bootp_handler() 450 static int dhcp_extended(u8 *e, int message_type, struct in_addr server_ip, in dhcp_extended() [all …]
|
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; 26 void arp_raw_request(struct in_addr source_ip, const uchar *targetEther, 27 struct in_addr target_ip);
|
/external/iptables/libxtables/ |
D | xtables.c | 1202 const char *xtables_ipaddr_to_numeric(const struct in_addr *addrp) in xtables_ipaddr_to_numeric() 1211 static const char *ipaddr_to_host(const struct in_addr *addr) in ipaddr_to_host() 1229 static const char *ipaddr_to_network(const struct in_addr *addr) in ipaddr_to_network() 1239 const char *xtables_ipaddr_to_anyname(const struct in_addr *addr) in xtables_ipaddr_to_anyname() 1250 int xtables_ipmask_to_cidr(const struct in_addr *mask) in xtables_ipmask_to_cidr() 1271 const char *xtables_ipmask_to_numeric(const struct in_addr *mask) in xtables_ipmask_to_numeric() 1290 static struct in_addr *__numeric_to_ipaddr(const char *dotted, bool is_mask) in __numeric_to_ipaddr() 1292 static struct in_addr addr; in __numeric_to_ipaddr() 1336 struct in_addr *xtables_numeric_to_ipaddr(const char *dotted) in xtables_numeric_to_ipaddr() 1341 struct in_addr *xtables_numeric_to_ipmask(const char *dotted) in xtables_numeric_to_ipmask() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video_ppp.c | 33 uint64_t in_addr; in nvc0_decoder_setup_ppp() local 54 in_addr = nouveau_vp3_video_addr(dec, target) >> 8; in nvc0_decoder_setup_ppp() 61 PUSH_DATA (push, in_addr); // 708 in nvc0_decoder_setup_ppp() 62 PUSH_DATA (push, in_addr + y2); // 70c in nvc0_decoder_setup_ppp() 63 PUSH_DATA (push, in_addr + cbcr); // 710 in nvc0_decoder_setup_ppp() 64 PUSH_DATA (push, in_addr + cbcr2); // 714 in nvc0_decoder_setup_ppp()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv98_video_ppp.c | 33 uint64_t in_addr; in nv98_decoder_setup_ppp() local 54 in_addr = nouveau_vp3_video_addr(dec, target) >> 8; in nv98_decoder_setup_ppp() 61 PUSH_DATA (push, in_addr); // 708 in nv98_decoder_setup_ppp() 62 PUSH_DATA (push, in_addr + y2); // 70c in nv98_decoder_setup_ppp() 63 PUSH_DATA (push, in_addr + cbcr); // 710 in nv98_decoder_setup_ppp() 64 PUSH_DATA (push, in_addr + cbcr2); // 714 in nv98_decoder_setup_ppp()
|
/external/kernel-headers/original/uapi/linux/netfilter_arp/ |
D | arpt_mangle.h | 6 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr) 12 struct in_addr src_ip; 15 struct in_addr tgt_ip;
|
/external/iptables/include/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;
|