Home
last modified time | relevance | path

Searched refs:hw_address (Results 1 – 15 of 15) sorted by relevance

/openbsd/usr.sbin/dhcrelay/
H A Ddispatch.c150 intf->hw_address.htype = HTYPE_IPSEC_TUNNEL; in setup_iflist()
152 intf->hw_address.htype = HTYPE_ETHER; in setup_iflist()
155 intf->hw_address.hlen = sdl->sdl_alen; in setup_iflist()
156 memcpy(intf->hw_address.haddr, in setup_iflist()
203 intf->linklocal.s6_addr[8] = intf->hw_address.haddr[0]; in setup_iflist()
204 intf->linklocal.s6_addr[9] = intf->hw_address.haddr[1]; in setup_iflist()
205 intf->linklocal.s6_addr[10] = intf->hw_address.haddr[2]; in setup_iflist()
208 intf->linklocal.s6_addr[13] = intf->hw_address.haddr[3]; in setup_iflist()
209 intf->linklocal.s6_addr[14] = intf->hw_address.haddr[4]; in setup_iflist()
210 intf->linklocal.s6_addr[15] = intf->hw_address.haddr[5]; in setup_iflist()
H A Dbpf.c305 } else if (info->hw_address.htype == HTYPE_IPSEC_TUNNEL) { in if_register_receive()
343 if (interface->hw_address.htype == HTYPE_IPSEC_TUNNEL) { in send_packet()
352 interface->hw_address.htype)) == -1) in send_packet()
442 interface->hw_address.htype); in receive_packet()
H A Ddhcrelay.c179 if (sp->intf->hw_address.htype == HTYPE_IPSEC_TUNNEL) in main()
226 (interfaces->hw_address.htype != HTYPE_IPSEC_TUNNEL && in main()
238 if (interfaces->hw_address.htype == HTYPE_IPSEC_TUNNEL) in main()
274 if (interfaces->hw_address.htype == HTYPE_IPSEC_TUNNEL) { in main()
H A Ddhcpd.h95 struct hardware hw_address; member
/openbsd/usr.sbin/dhcrelay6/
H A Ddispatch.c179 intf->hw_address.hlen = sdl->sdl_alen; in setup_iflist()
180 memcpy(intf->hw_address.haddr, in setup_iflist()
227 intf->linklocal.s6_addr[8] = intf->hw_address.haddr[0]; in setup_iflist()
228 intf->linklocal.s6_addr[9] = intf->hw_address.haddr[1]; in setup_iflist()
229 intf->linklocal.s6_addr[10] = intf->hw_address.haddr[2]; in setup_iflist()
232 intf->linklocal.s6_addr[13] = intf->hw_address.haddr[3]; in setup_iflist()
233 intf->linklocal.s6_addr[14] = intf->hw_address.haddr[4]; in setup_iflist()
234 intf->linklocal.s6_addr[15] = intf->hw_address.haddr[5]; in setup_iflist()
H A Ddhcpd.h92 struct hardware hw_address; member
/openbsd/sbin/dhcpleased/
H A Dfrontend.c632 memcpy(ifinfo.hw_address.ether_addr_octet, LLADDR(sdl), in update_iface()
724 memcpy(ifinfo.hw_address.ether_addr_octet, in init_ifaces()
915 struct ether_addr *hw_address, struct in_addr *ciaddr, struct in_addr in build_packet() argument
960 memcpy(hdr->chaddr, hw_address, sizeof(*hw_address)); in build_packet()
997 memcpy(dhcp_client_id + 3, hw_address, sizeof(*hw_address)); in build_packet()
1017 memcpy(dhcp_client_id + 3, hw_address, sizeof(*hw_address)); in build_packet()
1072 &iface->ifinfo.hw_address, &iface->ciaddr, &iface->requested_ip, in send_packet()
1110 memcpy(eh.ether_shost, &iface->ifinfo.hw_address, in bpf_send_packet()
H A Dengine.c98 struct ether_addr hw_address; member
654 memcpy(&iface->hw_address, &imsg_ifinfo->hw_address, in engine_update_iface()
659 if (memcmp(&iface->hw_address, &imsg_ifinfo->hw_address, in engine_update_iface()
661 memcpy(&iface->hw_address, &imsg_ifinfo->hw_address, in engine_update_iface()
784 if (memcmp(&ether_dst, &iface->hw_address, sizeof(ether_dst)) != 0 && in parse_dhcp()
1115 if (dho_len != 1 + sizeof(iface->hw_address)) in parse_dhcp()
1122 if (memcmp(p + 1, &iface->hw_address, in parse_dhcp()
1123 sizeof(iface->hw_address)) != 0) { in parse_dhcp()
H A Ddhcpleased.h275 struct ether_addr hw_address; member
/openbsd/sbin/slaacd/
H A Dslaacd.h87 struct ether_addr hw_address; member
174 struct ether_addr hw_address; member
H A Dengine.c168 struct ether_addr hw_address; member
226 struct ether_addr hw_address; member
730 memcpy(&cei.hw_address, &iface->hw_address, sizeof(struct ether_addr)); in send_interface_info()
1306 memcpy(&iface->hw_address, &imsg_ifinfo->hw_address, in engine_update_iface()
1337 if (memcmp(&iface->hw_address, &imsg_ifinfo->hw_address, in engine_update_iface()
1339 memcpy(&iface->hw_address, &imsg_ifinfo->hw_address, in engine_update_iface()
1612 SHA512Update(&ctx, &iface->hw_address, in gen_addr()
1613 sizeof(iface->hw_address)); in gen_addr()
1956 if (memcmp(&addr_proposal->hw_address, in update_iface_ra_prefix()
1957 &iface->hw_address, in update_iface_ra_prefix()
[all …]
H A Dfrontend.c73 struct ether_addr hw_address; member
563 memcpy(iface->hw_address.ether_addr_octet, in update_iface()
565 memcpy(imsg_ifinfo.hw_address.ether_addr_octet, in update_iface()
1022 memcpy(&nd_opt_source_link_addr, &iface->hw_address, in send_solicitation()
/openbsd/usr.sbin/dhcpd/
H A Ddispatch.c159 tmp->hw_address.hlen = sdl->sdl_alen; in discover_interfaces()
160 tmp->hw_address.htype = HTYPE_ETHER; /* XXX */ in discover_interfaces()
161 memcpy(tmp->hw_address.haddr, in discover_interfaces()
H A Ddhcpd.h258 struct hardware hw_address; /* Its physical address. */ member
/openbsd/usr.sbin/slaacctl/
H A Dslaacctl.c203 printf("\tlladdr: %s\n", ether_ntoa(&cei->hw_address)); in show_interface_msg()