Home
last modified time | relevance | path

Searched refs:in_addr (Results 1 – 25 of 174) sorted by relevance

1234567

/external/dhcpcd/
Dnet.h83 struct in_addr dest;
84 struct in_addr net;
85 struct in_addr gate;
104 int inet_ntocidr(struct in_addr);
105 int inet_cidrtoaddr(int, struct in_addr *);
112 struct in_addr *, struct in_addr *, struct in_addr *, int);
114 const struct in_addr *, const struct in_addr *,
115 const struct in_addr *, int);
125 int if_route(const struct interface *, const struct in_addr *,
126 const struct in_addr *, const struct in_addr *, int, int);
[all …]
Ddhcpcd.h80 struct in_addr fail;
103 struct in_addr addr;
104 struct in_addr net;
105 struct in_addr dst;
129 struct in_addr *, struct in_addr *, struct in_addr *);
Ddhcp.h158 struct in_addr addr;
159 struct in_addr net;
160 struct in_addr brd;
164 struct in_addr server;
181 int get_option_addr(struct in_addr *, const struct dhcp_message *, uint8_t);
192 int dhcp_message_add_addr(struct dhcp_message *, uint8_t, struct in_addr);
/external/tcpdump/
Dospf.h149 struct in_addr lsa_id;
155 struct in_addr ls_router;
173 struct in_addr link_id;
174 struct in_addr link_data;
183 struct in_addr nla_mask;
184 struct in_addr nla_router[1]; /* may repeat */
189 struct in_addr sla_mask;
195 struct in_addr asla_mask;
198 struct in_addr asla_forward;
199 struct in_addr asla_tag;
[all …]
Dbootp.h31 struct in_addr bp_ciaddr; /* client IP address */
32 struct in_addr bp_yiaddr; /* 'your' IP address */
33 struct in_addr bp_siaddr; /* server IP address */
34 struct in_addr bp_giaddr; /* gateway IP address */
213 struct in_addr v_smask; /* Subnet mask */
214 struct in_addr v_dgate; /* Default gateway */
215 struct in_addr v_dns1, v_dns2; /* Domain name servers */
216 struct in_addr v_ins1, v_ins2; /* IEN-116 name servers */
217 struct in_addr v_ts1, v_ts2; /* Time servers */
Dprint-olsr.c191 while (hello_len >= sizeof(struct in_addr)) { in olsr_print_neighbor()
198 msg_data += sizeof(struct in_addr); in olsr_print_neighbor()
199 hello_len -= sizeof(struct in_addr); in olsr_print_neighbor()
340 if (!TTEST2(*msg_data, sizeof(struct in_addr))) in olsr_print()
343 while (msg_tlen >= sizeof(struct in_addr)) { in olsr_print()
345 msg_data += sizeof(struct in_addr); in olsr_print()
346 msg_tlen -= sizeof(struct in_addr); in olsr_print()
Dprint-cnfp.c66 struct in_addr src_ina;
67 struct in_addr dst_ina;
68 struct in_addr nhop_ina;
78 struct in_addr peer_nexthop; /* v6: IP address of the nexthop within the peer (FIB)*/
/external/dnsmasq/src/
Ddnsmasq.h202 struct in_addr addr4;
210 struct in_addr addr;
216 struct in_addr in, end, out, mask;
343 struct in_addr netmask; /* only valid for IPv4 */
419 struct in_addr addr, override, giaddr;
449 struct in_addr addr;
494 struct in_addr next_server;
502 struct in_addr server;
536 struct in_addr start, end;
542 struct in_addr netmask, broadcast;
[all …]
/external/qemu/slirp/
Dmain.h35 extern struct in_addr ctl_addr;
36 extern struct in_addr special_addr;
37 extern struct in_addr alias_addr;
38 extern struct in_addr our_addr;
39 extern struct in_addr loopback_addr;
40 extern struct in_addr dns_addr;
Dip.h93 struct in_addr ip_src,ip_dst; /* source and dest address */
152 struct in_addr ipt_addr;
204 struct in_addr ih_src; /* source internet address */
205 struct in_addr ih_dst; /* destination internet address */
221 struct in_addr ipq_src,ipq_dst;
249 struct in_addr ipopt_dst; /* first-hop dst if source routed */
Dsocket.h32 struct in_addr so_faddr; /* foreign host table entry */
33 struct in_addr so_laddr; /* local host table entry */
76 struct socket * solookup _P((struct socket *, struct in_addr, u_int, struct in_addr, u_int));
Dbootp.h105 struct in_addr bp_ciaddr;
106 struct in_addr bp_yiaddr;
107 struct in_addr bp_siaddr;
108 struct in_addr bp_giaddr;
Dip_input.c509 struct in_addr *sin, dst;
565 if (off > optlen - sizeof(struct in_addr)) {
591 (caddr_t)(cp + off), sizeof(struct in_addr));
592 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
608 if (off > optlen - sizeof(struct in_addr))
623 (caddr_t)(cp + off), sizeof(struct in_addr));
624 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
637 sin = (struct in_addr *)(cp + ipt->ipt_ptr - 1);
645 sizeof(struct in_addr) > ipt->ipt_len)
653 (caddr_t)sin, sizeof(struct in_addr));
[all …]
Dlibslirp.h22 struct in_addr *laddr, u_int lport,
23 struct in_addr *faddr, u_int fport),
27 struct in_addr guest_addr, int guest_port);
Dbootp.c52 static BOOTPClient *get_new_addr(struct in_addr *paddr, in get_new_addr()
71 static BOOTPClient *request_addr(const struct in_addr *paddr, in request_addr()
89 static BOOTPClient *find_addr(struct in_addr *paddr, const uint8_t *macaddr) in find_addr()
107 const struct in_addr **preq_addr) in dhcp_decode()
140 *preq_addr = (struct in_addr *)p; in dhcp_decode()
159 struct in_addr dns_addr; in bootp_reply()
160 const struct in_addr *preq_addr; in bootp_reply()
/external/kernel-headers/original/linux/
Din.h54 struct in_addr { struct
114 struct in_addr imr_multiaddr; /* IP multicast address of group */
115 struct in_addr imr_interface; /* local IP address of interface */
120 struct in_addr imr_multiaddr; /* IP multicast address of group */
121 struct in_addr imr_address; /* local IP address of interface */
172 struct in_addr ipi_spec_dst;
173 struct in_addr ipi_addr;
181 struct in_addr sin_addr; /* Internet address */
185 sizeof(unsigned short int) - sizeof(struct in_addr)];
/external/iptables/include/
Dxtables.h37 struct in_addr;
430 extern const char *xtables_ipaddr_to_numeric(const struct in_addr *);
431 extern const char *xtables_ipaddr_to_anyname(const struct in_addr *);
432 extern const char *xtables_ipmask_to_numeric(const struct in_addr *);
433 extern struct in_addr *xtables_numeric_to_ipaddr(const char *);
434 extern struct in_addr *xtables_numeric_to_ipmask(const char *);
435 extern void xtables_ipparse_any(const char *, struct in_addr **,
436 struct in_addr *, unsigned int *);
437 extern void xtables_ipparse_multiple(const char *, struct in_addr **,
438 struct in_addr **, unsigned int *);
/external/grub/netboot/
Detherboot.h251 in_addr; typedef
255 in_addr ipaddr;
286 in_addr src;
287 in_addr dest;
308 in_addr bp_ciaddr;
309 in_addr bp_yiaddr;
310 in_addr bp_siaddr;
311 in_addr bp_giaddr;
524 extern int inet_aton (char *p, in_addr *i);
Dmain.c75 static in_addr dhcp_server = {0L};
76 static in_addr dhcp_addr = {0L};
149 in_addr tmp; in ifconfig()
268 sizeof (in_addr)); in udp_transmit()
270 grub_memmove (arpreq.tipaddr, (char *) &destip, sizeof (in_addr)); in udp_transmit()
636 sizeof (in_addr)); in bootp()
638 sizeof (in_addr)); in bootp()
781 && ! grub_memcmp (arpreply->sipaddr, ptr, sizeof (in_addr)) in await_reply()
791 sizeof (in_addr)); in await_reply()
798 sizeof (in_addr)); in await_reply()
[all …]
/external/iproute2/include/
Diptables.h147 extern struct in_addr *dotted_to_addr(const char *dotted);
148 extern char *addr_to_dotted(const struct in_addr *addrp);
149 extern char *addr_to_anyname(const struct in_addr *addr);
150 extern char *mask_to_dotted(const struct in_addr *mask);
152 extern void parse_hostnetworkmask(const char *name, struct in_addr **addrpp,
153 struct in_addr *maskp, unsigned int *naddrs);
/external/wpa_supplicant_8/src/wps/
Dwps_er.h43 struct in_addr addr;
100 struct in_addr filter_addr;
107 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr,
109 void wps_er_ap_remove(struct wps_er *er, struct in_addr *addr);
110 int wps_er_ap_cache_settings(struct wps_er *er, struct in_addr *addr);
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c70 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/iptables/
Dxtables.c1081 const char *xtables_ipaddr_to_numeric(const struct in_addr *addrp) in xtables_ipaddr_to_numeric()
1090 static const char *ipaddr_to_host(const struct in_addr *addr) in ipaddr_to_host()
1094 host = gethostbyaddr(addr, sizeof(struct in_addr), AF_INET); in ipaddr_to_host()
1101 static const char *ipaddr_to_network(const struct in_addr *addr) in ipaddr_to_network()
1111 const char *xtables_ipaddr_to_anyname(const struct in_addr *addr) in xtables_ipaddr_to_anyname()
1122 const char *xtables_ipmask_to_numeric(const struct in_addr *mask) in xtables_ipmask_to_numeric()
1147 static struct in_addr *__numeric_to_ipaddr(const char *dotted, bool is_mask) in __numeric_to_ipaddr()
1149 static struct in_addr addr; in __numeric_to_ipaddr()
1193 struct in_addr *xtables_numeric_to_ipaddr(const char *dotted) in xtables_numeric_to_ipaddr()
1198 struct in_addr *xtables_numeric_to_ipmask(const char *dotted) in xtables_numeric_to_ipmask()
[all …]
/external/qemu/slirp-android/
Dip_input.c565 if (off > optlen - sizeof(struct in_addr)) {
591 (caddr_t)(cp + off), sizeof(struct in_addr));
592 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
608 if (off > optlen - sizeof(struct in_addr))
623 (caddr_t)(cp + off), sizeof(struct in_addr));
624 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
637 sin = (struct in_addr *)(cp + ipt->ipt_ptr - 1);
645 sizeof(struct in_addr) > ipt->ipt_len)
653 (caddr_t)sin, sizeof(struct in_addr));
654 ipt->ipt_ptr += sizeof(struct in_addr);
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_cfg.h157 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) */

1234567