iaddr
(bp->bp_yiaddr).s_addr = hp->iaddr.s_addr;
dummyhost.iaddr.s_addr = bp->bp_ciaddr.s_addr;
report(LOG_INFO, "found %s (%s)", inet_ntoa(hp->iaddr),
iaddr :1,
iaddr,
if (hp->flags.iaddr) {
fprintf(fp, "\\\n\t:ip=%s:", inet_ntoa(hp->iaddr));
if (((host1->iaddr.s_addr) & (host1->subnet_mask.s_addr)) !=
((host2->iaddr.s_addr) & (host2->subnet_mask.s_addr)))
return (host1->iaddr.s_addr == host2->iaddr.s_addr);
if (hp->flags.iaddr == 0) {
hp->iaddr.s_addr = value;
hp->flags.iaddr = TRUE;
if (lookup_netmask(hp->iaddr.s_addr, &value)) {
if (hp->flags.iaddr) {
if (hp->flags.iaddr) {
hashcode = hash_HashFunction((u_char *) & (hp->iaddr.s_addr), 4);
PARSE_IA1(iaddr);
struct iaddr ip_addr;
struct iaddr addr;
struct iaddr defaddr = { .len = 4 }; /* NULL is for silence warnings */
struct iaddr netmask, subnet, broadcast;
struct iaddr a;
dhcpack(struct iaddr client_addr, struct option_data *options)
dhcpoffer(struct iaddr client_addr, struct option_data *options)
struct iaddr iaddr_broadcast = { 4, { 255, 255, 255, 255 } };
dhcpnak(struct iaddr client_addr, struct option_data *options)
struct iaddr address;
struct iaddr destination;
struct iaddr requested_address;
void do_packet(int, unsigned int, struct iaddr, struct hardware *);
int parse_ip_addr(FILE *, struct iaddr *);
struct iaddr subnet_number(struct iaddr, struct iaddr);
struct iaddr broadcast_addr(struct iaddr, struct iaddr);
int addr_eq(struct iaddr, struct iaddr);
char *piaddr(struct iaddr);
void dhcpoffer(struct iaddr, struct option_data *);
void dhcpack(struct iaddr, struct option_data *);
void dhcpnak(struct iaddr, struct option_data *);
struct iaddr addr;
struct iaddr ifrom;
piaddr(struct iaddr addr)
struct iaddr
subnet_number(struct iaddr addr, struct iaddr mask)
struct iaddr rv;
struct iaddr
broadcast_addr(struct iaddr subnet, struct iaddr mask)
struct iaddr rv;
addr_eq(struct iaddr addr1, struct iaddr addr2)
do_packet(int len, unsigned int from_port, struct iaddr from,
void (*handler)(struct iaddr, struct option_data *);
parse_ip_addr(FILE *cfile, struct iaddr *addr)