Home
last modified time | relevance | path

Searched refs:primary_address (Results 1 – 10 of 10) sorted by relevance

/openbsd/usr.sbin/dhcpd/
H A Dudpsock.c160 iface.primary_address = in udpsock_handler()
165 memcpy(&addr.iabuf, &iface.primary_address, addr.len); in udpsock_handler()
H A Dbootp.c308 raw.siaddr = packet->interface->primary_address; in bootp()
324 from = packet->interface->primary_address; in bootp()
H A Ddhcp.c652 raw.siaddr = packet->interface->primary_address; in nak_lease()
674 from = packet->interface->primary_address; in nak_lease()
1077 (unsigned char *)&state->ip->primary_address; in ack_lease()
1079 sizeof state->ip->primary_address; in ack_lease()
1083 state->from.len = sizeof state->ip->primary_address; in ack_lease()
1084 memcpy(state->from.iabuf, &state->ip->primary_address, in ack_lease()
1365 raw.siaddr = state->ip->primary_address; in dhcp_reply()
H A Ddhcpd.h259 struct in_addr primary_address; /* Primary interface address. */ member
H A Ddispatch.c186 tmp->primary_address = foo.sin_addr; in discover_interfaces()
/openbsd/usr.sbin/dhcrelay/
H A Ddhcrelay.c227 interfaces->primary_address.s_addr == 0)) in main()
245 laddr.sin_addr.s_addr = interfaces->primary_address.s_addr; in main()
342 interfaces->primary_address.s_addr) in relay()
391 ss2sin(&pc->pc_src)->sin_addr = interfaces->primary_address; in relay()
418 packet->giaddr = ip->primary_address; in relay()
H A Ddhcpd.h96 struct in_addr primary_address; member
H A Ddispatch.c161 intf->primary_address.s_addr != INADDR_ANY) in setup_iflist()
164 intf->primary_address = sin->sin_addr; in setup_iflist()
/openbsd/usr.sbin/dhcrelay6/
H A Ddhcpd.h93 struct in_addr primary_address; member
H A Ddispatch.c185 intf->primary_address.s_addr != INADDR_ANY) in setup_iflist()
188 intf->primary_address = sin->sin_addr; in setup_iflist()