Home
last modified time | relevance | path

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

12345678910>>...13

/external/dhcpcd-6.8.2/
Dipv4.h40 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 …]
Ddhcp.h189 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 …]
Darp.h48 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);
/external/tcpdump/
Dospf.h171 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 …]
Dprint-cnfp.c67 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/iptables/extensions/
Dlibxt_mangle.c55 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/syslinux/gpxe/src/include/gpxe/
Dip.h48 struct in_addr src;
49 struct in_addr dest;
54 struct in_addr src;
55 struct in_addr dest;
70 struct in_addr address;
72 struct in_addr netmask;
74 struct in_addr gateway;
82 struct in_addr src;
84 struct in_addr dest;
Din.h33 struct in_addr { struct
37 typedef struct in_addr in_addr; argument
65 struct in_addr sin_addr;
74 - sizeof ( struct in_addr ) ];
93 extern int inet_aton ( const char *cp, struct in_addr *inp );
94 extern char * inet_ntoa ( struct in_addr in );
Ddhcp.h116 struct in_addr ip[0];
530 struct in_addr ciaddr;
535 struct in_addr yiaddr;
541 struct in_addr siaddr;
546 struct in_addr giaddr;
623 unsigned int msgtype, struct in_addr ciaddr,
/external/dnsmasq/src/
Ddnsmasq.h202 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/
Dmroute.h58 struct in_addr vifc_lcl_addr; /* Local interface address */
61 struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */
72 struct in_addr mfcc_origin; /* Origin of mcast */
73 struct in_addr mfcc_mcastgrp; /* Group in question */
84 struct in_addr src;
85 struct in_addr grp;
109 struct in_addr im_src,im_dst;
Din.h84 struct in_addr { struct
168 struct in_addr imr_multiaddr; /* IP multicast address of group */
169 struct in_addr imr_interface; /* local IP address of interface */
173 struct in_addr imr_multiaddr; /* IP multicast address of group */
174 struct in_addr imr_address; /* local IP address of interface */
223 struct in_addr ipi_spec_dst;
224 struct in_addr ipi_addr;
234 struct in_addr sin_addr; /* Internet address */
238 sizeof(unsigned short int) - sizeof(struct in_addr)];
/external/iproute2/include/linux/
Din.h84 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/
Dninfod_addrs.c316 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/
Dxtables-arp.c347 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/
Dxtables.h36 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/
Dares_parse_a_reply.c65 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()
/external/iptables/include/
Dxtables.h36 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/syslinux/gpxe/src/net/
Dipv4.c47 add_ipv4_miniroute ( struct net_device *netdev, struct in_addr address, in add_ipv4_miniroute()
48 struct in_addr netmask, struct in_addr gateway ) { in add_ipv4_miniroute()
110 static struct ipv4_miniroute * ipv4_route ( struct in_addr *dest ) { in ipv4_route()
270 static int ipv4_ll_addr ( struct in_addr dest, struct in_addr src, in ipv4_ll_addr()
311 struct in_addr next_hop; in ipv4_tx()
488 const struct in_addr *address = net_addr; in ipv4_arp_check()
507 char * inet_ntoa ( struct in_addr in ) { in inet_ntoa()
523 return inet_ntoa ( * ( ( struct in_addr * ) net_addr ) ); in ipv4_ntoa()
530 .net_addr_len = sizeof ( struct in_addr ),
589 struct in_addr address = { 0 }; in ipv4_create_routes()
[all …]
/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/wpa_supplicant_8/src/wps/
Dwps_er.h37 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/iptables/libxtables/
Dxtables.c1202 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/iptables/include/linux/netfilter_arp/
Darpt_mangle.h5 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr)
11 struct in_addr src_ip;
14 struct in_addr tgt_ip;
/external/kernel-headers/original/uapi/linux/netfilter_arp/
Darpt_mangle.h5 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr)
11 struct in_addr src_ip;
14 struct in_addr tgt_ip;
/external/syslinux/gpxe/src/include/
Dbootp.h202 in_addr bp_ciaddr;
203 in_addr bp_yiaddr;
204 in_addr bp_siaddr;
205 in_addr bp_giaddr;

12345678910>>...13