| /minix3/external/bsd/dhcp/dist/common/ |
| H A D | upf.c | 109 info -> hw_address.hlen = 7; 110 info -> hw_address.hbuf [0] = ARPHRD_ETHER; 111 memcpy (&info -> hw_address.hbuf [1], param.end_addr, 6); 131 print_hw_addr (info -> hw_address.hbuf [0], 132 info -> hw_address.hlen - 1, 133 &info -> hw_address.hbuf [1]), 149 print_hw_addr (info -> hw_address.hbuf [0], 150 info -> hw_address.hlen - 1, 151 &info -> hw_address.hbuf [1]), 215 print_hw_addr (info -> hw_address.hbuf [0], [all …]
|
| H A D | nit.c | 105 info -> hw_address.hlen = 7; 106 info -> hw_address.hbuf [0] = ARPHRD_ETHER; 107 memcpy (&info -> hw_address.hbuf [1], 146 print_hw_addr (info -> hw_address.hbuf [0], 147 info -> hw_address.hlen - 1, 148 &info -> hw_address.hbuf [1]), 165 print_hw_addr (info -> hw_address.hbuf [0], 166 info -> hw_address.hlen - 1, 167 &info -> hw_address.hbuf [1]), 249 print_hw_addr (info -> hw_address.hbuf [0], [all …]
|
| H A D | ctrace.c | 42 memcpy (&tipkt.hw_address, in trace_interface_register() 43 &ip -> hw_address, sizeof ip -> hw_address); in trace_interface_register() 84 memcpy (&ip -> hw_address, &tipkt -> hw_address, in trace_interface_input() 85 sizeof ip -> hw_address); in trace_interface_input() 116 print_hw_addr (ip -> hw_address.hbuf [0], in trace_interface_input() 117 ip -> hw_address.hlen - 1, in trace_interface_input() 118 &ip -> hw_address.hbuf [1]), in trace_interface_input() 125 print_hw_addr (ip -> hw_address.hbuf [0], in trace_interface_input() 126 ip -> hw_address.hlen - 1, in trace_interface_input() 127 &ip -> hw_address.hbuf [1]), in trace_interface_input()
|
| H A D | lpf.c | 116 get_hw_addr(info->name, &info->hw_address); 136 print_hw_addr (info -> hw_address.hbuf [0], 137 info -> hw_address.hlen - 1, 138 &info -> hw_address.hbuf [1]), 158 print_hw_addr (info -> hw_address.hbuf [0], 159 info -> hw_address.hlen - 1, 160 &info -> hw_address.hbuf [1]), 188 if (info -> hw_address.hbuf [0] == HTYPE_IEEE802) 197 print_hw_addr (info -> hw_address.hbuf [0], 198 info -> hw_address.hlen - 1, [all …]
|
| H A D | bpf.c | 125 get_hw_addr(info->name, &info->hw_address); 145 print_hw_addr (info -> hw_address.hbuf [0], 146 info -> hw_address.hlen - 1, 147 &info -> hw_address.hbuf [1]), 166 print_hw_addr (info -> hw_address.hbuf [0], 167 info -> hw_address.hlen - 1, 168 &info -> hw_address.hbuf [1]), 325 print_hw_addr (info -> hw_address.hbuf [0], 326 info -> hw_address.hlen - 1, 327 &info -> hw_address.hbuf [1]), [all …]
|
| H A D | dlpi.c | 225 info -> hw_address.hbuf [0] = HTYPE_ETHER; 229 info -> hw_address.hbuf [0] = HTYPE_IEEE802; 232 info -> hw_address.hbuf [0] = HTYPE_FDDI; 283 info -> hw_address.hlen = dlp -> physaddr_ack.dl_addr_length + 1; 284 memcpy (&info -> hw_address.hbuf [1], 367 print_hw_addr (info -> hw_address.hbuf [0], 368 info -> hw_address.hlen - 1, 369 &info -> hw_address.hbuf [1]), 397 print_hw_addr (info -> hw_address.hbuf [0], 398 info -> hw_address.hlen - 1, [all …]
|
| H A D | ethernet.c | 55 if (interface -> hw_address.hlen - 1 == sizeof (eh.ether_shost)) 56 memcpy (eh.ether_shost, &interface -> hw_address.hbuf [1],
|
| H A D | fddi.c | 59 &interface -> hw_address.hbuf [1], sizeof (fh.fddi_shost));
|
| H A D | packet.c | 113 switch (interface->hw_address.hbuf[0]) { 209 switch(interface->hw_address.hbuf[0]) {
|
| H A D | tr.c | 85 if (interface -> hw_address.hlen - 1 == sizeof (trh->saddr)) 86 memcpy (trh->saddr, &interface -> hw_address.hbuf [1],
|
| H A D | socket.c | 329 get_hw_addr(info->name, &info->hw_address); 392 get_hw_addr(info->name, &info->hw_address); 506 get_hw_addr(info->name, &info->hw_address); in if_register6() 562 get_hw_addr(info->name, &info->hw_address); in if_register_linklocal6()
|
| H A D | tree.c | 1351 result->data = client_state->interface->hw_address.hbuf; 1352 result->len = client_state->interface->hw_address.hlen;
|
| /minix3/external/bsd/dhcp/dist/client/ |
| H A D | dhclient.c | 604 &ip->hw_address.hbuf[ip->hw_address.hlen - in main() 1069 if (packet->interface->hw_address.hlen - 1 != packet->raw->hlen || in compare_hw_address() 1070 memcmp(&packet->interface->hw_address.hbuf[1], in compare_hw_address() 1076 c = &packet -> interface -> hw_address.hbuf [1]; in compare_hw_address() 1078 name, packet->interface->hw_address.hlen - 1, in compare_hw_address() 2445 if (client->interface->hw_address.hlen > 4) { in make_client_options() 2446 hw_idx = client->interface->hw_address.hlen - 4; in make_client_options() 2450 hw_len = client->interface->hw_address.hlen; in make_client_options() 2453 client->interface->hw_address.hbuf + hw_idx, in make_client_options() 2518 client -> packet.htype = client -> interface -> hw_address.hbuf [0]; [all …]
|
| H A D | dhc6.c | 1559 if (client->interface->hw_address.hlen > 4) { in do_init6() 1560 idx = client->interface->hw_address.hlen - 4; in do_init6() 1564 len = client->interface->hw_address.hlen; in do_init6() 1567 client->interface->hw_address.hbuf + idx, in do_init6() 1662 if (client->interface->hw_address.hlen > 4) { in do_init6() 1663 idx = client->interface->hw_address.hlen - 4; in do_init6() 1667 len = client->interface->hw_address.hlen; in do_init6() 1670 client->interface->hw_address.hbuf + idx, in do_init6() 1758 if (client->interface->hw_address.hlen > 4) { in do_init6() 1759 idx = client->interface->hw_address.hlen - 4; in do_init6() [all …]
|
| H A D | clparse.c | 563 parse_hardware_param (cfile, &ip -> hw_address);
|
| /minix3/external/bsd/dhcp/dist/includes/ |
| H A D | ctrace.h | 33 struct hardware hw_address; member
|
| H A D | dhcpd.h | 1242 struct hardware hw_address; /* Its physical address. */ member
|
| /minix3/external/bsd/dhcp/dist/server/ |
| H A D | dhcpv6.c | 311 if (p->hw_address.hlen > 0) { in generate_new_server_duid() 325 generated_duid.len = 8 + p->hw_address.hlen - 1; in generate_new_server_duid() 333 p->hw_address.hbuf[0]); in generate_new_server_duid() 336 p->hw_address.hbuf+1, p->hw_address.hlen-1); in generate_new_server_duid() 338 generated_duid.len = 4 + p->hw_address.hlen - 1; in generate_new_server_duid() 346 p->hw_address.hbuf[0]); in generate_new_server_duid() 348 p->hw_address.hbuf+1, p->hw_address.hlen-1); in generate_new_server_duid()
|
| H A D | dhcpd.c | 672 &ip -> hw_address.hbuf [ip -> hw_address.hlen - in main()
|