Searched refs:ciaddr (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/external/mpl/dhcp/dist/includes/
H A Ddhcp.h57 struct in_addr ciaddr; /* 12: Client IP address (if already in use) */ member in struct:dhcp_packet
H A Ddhcpd.h676 struct in_addr ciaddr; member in struct:lease_state
/netbsd-current/usr.bin/rump_dhcpclient/
H A Ddhcp.c559 dhcp->ciaddr = iface->addr.s_addr;
562 dhcp->ciaddr = lease->addr.s_addr;
576 dhcp->ciaddr == 0 &&
751 /* BOOTP does not set yiaddr for replies when ciaddr is set. */
755 lease->addr.s_addr = dhcp->ciaddr;
H A Ddhcp.h146 uint32_t ciaddr; /* (previously allocated) client IP */ member in struct:dhcp_message
H A Dconfigure.c193 addr = dhcp->ciaddr;
/netbsd-current/external/mpl/dhcp/dist/server/
H A Ddhcp.c176 packet->raw->ciaddr.s_addr && !packet->raw->giaddr.s_addr &&
182 cip.len = sizeof packet -> raw -> ciaddr;
183 memcpy (cip.iabuf, &packet -> raw -> ciaddr,
184 sizeof packet -> raw -> ciaddr);
492 memcpy (cip.iabuf, &packet -> raw -> ciaddr.s_addr, 4);
684 If ciaddr was specified and Requested Address was not, then
721 (packet -> raw -> ciaddr.s_addr &&
723 (have_requested_addr && !packet -> raw -> ciaddr.s_addr)) {
820 if (!memcmp (&packet -> raw -> ciaddr,
836 IP address in ciaddr i
[all...]
H A Ddhcpleasequery.c189 log_info("%s: missing giaddr, ciaddr is %s, no reply sent",
190 msgbuf, inet_ntoa(packet->raw->ciaddr));
257 cip.len = sizeof(packet->raw->ciaddr);
258 memcpy(cip.iabuf, &packet->raw->ciaddr, sizeof(packet->raw->ciaddr));
346 memcpy(&packet->raw->ciaddr,
348 sizeof(packet->raw->ciaddr));
H A Dbootp.c280 raw.ciaddr = packet -> raw -> ciaddr;
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Ddhcp.h160 uint32_t ciaddr; /* (previously allocated) client IP */ member in struct:bootp
H A Ddhcp.c623 gateway.s_addr == bootp->ciaddr))
767 bootp->ciaddr = state->addr->addr.s_addr;
777 bootp->ciaddr == 0 &&
1286 if (bootp->yiaddr || bootp->ciaddr) {
1289 addr.s_addr = bootp->yiaddr ? bootp->yiaddr : bootp->ciaddr;
1397 /* BOOTP does not set yiaddr for replies when ciaddr is set. */
1398 lease->addr.s_addr = bootp->yiaddr ? bootp->yiaddr : bootp->ciaddr;
2468 state->offer->ciaddr : state->offer->yiaddr;
3279 (bootp->ciaddr == INADDR_ANY || bootp->ciaddr
[all...]
/netbsd-current/external/bsd/wpa/dist/src/drivers/
H A Ddriver_wired.c65 u_int32_t ciaddr; member in struct:dhcp_message
/netbsd-current/external/mpl/dhcp/dist/client/
H A Ddhclient.c3029 rip_str = inet_ntoa(client->packet.ciaddr);
3543 memset (&(client -> packet.ciaddr),
3544 0, sizeof client -> packet.ciaddr);
3612 /* If we own the address we're requesting, put it in ciaddr;
3613 otherwise set ciaddr to zero. */
3617 memcpy (&client -> packet.ciaddr,
3621 memset (&client -> packet.ciaddr, 0,
3622 sizeof client -> packet.ciaddr);
3691 /* ciaddr must always be zero. */
3692 memset (&client -> packet.ciaddr,
[all...]
/netbsd-current/external/mpl/dhcp/dist/common/
H A Dprint.c266 log_debug ("ciaddr = %s", inet_ntoa (tdp -> ciaddr));
/netbsd-current/sys/fs/nfs/common/
H A Dbootp_subr.c128 struct in_addr ciaddr; member in struct:bootp_packet

Completed in 198 milliseconds