Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/rump_dhcpclient/
H A Ddhcp.h147 uint32_t yiaddr; /* 'your' client IP address */ member
186 !IN_LINKLOCAL(htonl((m)->yiaddr)) && \
H A Dmain.c207 ifp->state->lease.addr.s_addr = dhcp->yiaddr; in get_offer()
H A Ddhcp.c752 if (dhcp->yiaddr) in get_lease()
753 lease->addr.s_addr = dhcp->yiaddr; in get_lease()
H A Dconfigure.c191 addr = dhcp->yiaddr; in get_subnet_route()
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Ddhcp.c622 (gateway.s_addr == bootp->yiaddr || in get_option_routes()
1286 if (bootp->yiaddr || bootp->ciaddr) { in dhcp_env()
1289 addr.s_addr = bootp->yiaddr ? bootp->yiaddr : bootp->ciaddr; in dhcp_env()
1311 addr.s_addr = bootp->yiaddr & net.s_addr; in dhcp_env()
1398 lease->addr.s_addr = bootp->yiaddr ? bootp->yiaddr : bootp->ciaddr; in get_lease()
2019 if (state->offer == NULL || state->offer->yiaddr != ia->s_addr) in dhcp_finish_dad()
2062 if ((state->offer == NULL || state->offer->yiaddr != ia->s_addr) && in dhcp_addr_duplicated()
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()
[all …]
H A Ddhcp.h161 uint32_t yiaddr; /* 'your' client IP address */ member
/netbsd-src/external/mpl/dhcp/dist/includes/
H A Ddhcp.h58 struct in_addr yiaddr; /* 16: Client IP address */ member
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dbootp.c283 memcpy (&raw.yiaddr, lease->ip_addr.iabuf, 4);
443 to.sin_addr = raw.yiaddr;
H A Ddhcp.c3983 memcpy (&raw.yiaddr, lease -> ip_addr.iabuf, 4);
4150 to.sin_addr = raw.yiaddr;
/netbsd-src/external/mpl/dhcp/dist/client/
H A Ddhclient.c1564 inet_ntoa(packet->raw->yiaddr),
2243 inet_ntoa(packet->raw->yiaddr),
2288 if (lease -> address.len == sizeof packet -> raw -> yiaddr &&
2290 &packet -> raw -> yiaddr, lease -> address.len)) {
2376 lease->address.len = sizeof(packet->raw->yiaddr);
2377 memcpy(lease->address.iabuf, &packet->raw->yiaddr,
3545 memset (&(client -> packet.yiaddr),
3546 0, sizeof client -> packet.yiaddr);
3629 memset (&client -> packet.yiaddr, 0,
3630 sizeof client -> packet.yiaddr);
[all …]
/netbsd-src/sys/fs/nfs/common/
H A Dbootp_subr.c129 struct in_addr yiaddr; member
1313 memcpy(vendp, &ifctx->reply.yiaddr, 4); in bootpc_compose_query()
1433 ifctx->myaddr.sin_addr = ifctx->reply.yiaddr; in bootpc_decode_reply()
/netbsd-src/external/mpl/dhcp/dist/common/
H A Dprint.c267 log_debug ("yiaddr = %s", inet_ntoa (tdp -> yiaddr));
/netbsd-src/sys/arch/shark/ofw/
H A Dofw.c455 bdp->ip_address = bdp->dhcp_packet.yiaddr; in get_fw_dhcp_data()
/netbsd-src/external/mpl/dhcp/dist/relay/
H A Ddhcrelay.c933 to.sin_addr = packet->yiaddr; in do_relay4()