Home
last modified time | relevance | path

Searched refs:yiaddr (Results 1 – 6 of 6) sorted by relevance

/dragonfly/contrib/dhcpcd/src/
H A Ddhcp.c1286 if (bootp->yiaddr || bootp->ciaddr) { in dhcp_env()
1289 addr.s_addr = bootp->yiaddr ? bootp->yiaddr : bootp->ciaddr; in dhcp_env()
1398 lease->addr.s_addr = bootp->yiaddr ? bootp->yiaddr : bootp->ciaddr; in get_lease()
2326 if (state->old->yiaddr == state->new->yiaddr && in dhcp_bind()
2400 state->old->yiaddr == state->new->yiaddr && in dhcp_bind()
2438 (*bootp)->yiaddr = addr->s_addr; in dhcp_message_new()
2911 } else if (ad && bootp->yiaddr != 0) { in log_dhcp()
2912 addr.s_addr = bootp->yiaddr; in log_dhcp()
3281 (bootp->yiaddr == INADDR_ANY || bootp->yiaddr == INADDR_BROADCAST)) in dhcp_handledhcp()
3304 lease->addr.s_addr = bootp->yiaddr; in dhcp_handledhcp()
[all …]
H A Ddhcp.h161 uint32_t yiaddr; /* 'your' client IP address */ member
/dragonfly/sbin/dhclient/
H A Ddhclient.c815 if (lease->address.len == sizeof(client->packet.yiaddr) && in dhcpoffer()
817 &client->packet.yiaddr, lease->address.len)) { in dhcpoffer()
907 lease->address.len = sizeof(client->packet.yiaddr); in packet_to_lease()
908 memcpy(lease->address.iabuf, &client->packet.yiaddr, in packet_to_lease()
1296 memset(&client->packet.yiaddr, 0, sizeof(client->packet.yiaddr)); in make_discover()
1375 memset(&client->packet.yiaddr, 0, sizeof(client->packet.yiaddr)); in make_request()
1432 memset(&client->packet.yiaddr, 0, sizeof(client->packet.yiaddr)); in make_decline()
H A Ddhcp.h64 struct in_addr yiaddr; /* Client IP address */ member
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_wired.c68 u_int32_t yiaddr; member
/dragonfly/sys/vfs/nfs/
H A Dbootp_subr.c99 struct in_addr yiaddr; member
1232 memcpy(vendp, &ifctx->reply.yiaddr, 4); in bootpc_compose_query()
1355 ifctx->myaddr.sin_addr = ifctx->reply.yiaddr; in bootpc_decode_reply()