| /netbsd-src/external/mpl/dhcp/dist/common/ |
| H A D | upf.c | 110 info -> hw_address.hlen = 7; 111 info -> hw_address.hbuf [0] = ARPHRD_ETHER; 112 memcpy (&info -> hw_address.hbuf [1], param.end_addr, 6); 132 print_hw_addr (info -> hw_address.hbuf [0], 133 info -> hw_address.hlen - 1, 134 &info -> hw_address.hbuf [1]), 150 print_hw_addr (info -> hw_address.hbuf [0], 151 info -> hw_address.hlen - 1, 152 &info -> hw_address.hbuf [1]), 219 print_hw_addr (info -> hw_address.hbuf [0], [all …]
|
| H A D | nit.c | 106 info -> hw_address.hlen = 7; 107 info -> hw_address.hbuf [0] = ARPHRD_ETHER; 108 memcpy (&info -> hw_address.hbuf [1], 147 print_hw_addr (info -> hw_address.hbuf [0], 148 info -> hw_address.hlen - 1, 149 &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]), 254 print_hw_addr (info -> hw_address.hbuf [0], [all …]
|
| H A D | ctrace.c | 43 memcpy (&tipkt.hw_address, in trace_interface_register() 44 &ip -> hw_address, sizeof ip -> hw_address); in trace_interface_register() 85 memcpy (&ip -> hw_address, &tipkt -> hw_address, in trace_interface_input() 86 sizeof ip -> hw_address); in trace_interface_input() 124 print_hw_addr (ip -> hw_address.hbuf [0], in trace_interface_input() 125 ip -> hw_address.hlen - 1, in trace_interface_input() 126 &ip -> hw_address.hbuf [1]), in trace_interface_input() 133 print_hw_addr (ip -> hw_address.hbuf [0], in trace_interface_input() 134 ip -> hw_address.hlen - 1, in trace_interface_input() 135 &ip -> hw_address.hbuf [1]), in trace_interface_input()
|
| H A D | lpf.c | 128 get_hw_addr(info->name, &info->hw_address); 148 print_hw_addr (info -> hw_address.hbuf [0], 149 info -> hw_address.hlen - 1, 150 &info -> hw_address.hbuf [1]), 170 print_hw_addr (info -> hw_address.hbuf [0], 171 info -> hw_address.hlen - 1, 172 &info -> hw_address.hbuf [1]), 219 if (info -> hw_address.hbuf [0] == HTYPE_IEEE802) 228 print_hw_addr (info -> hw_address.hbuf [0], 229 info -> hw_address.hlen - 1, [all …]
|
| H A D | dlpi.c | 231 info -> hw_address.hbuf [0] = HTYPE_ETHER; 235 info -> hw_address.hbuf [0] = HTYPE_IEEE802; 238 info -> hw_address.hbuf [0] = HTYPE_FDDI; 289 info -> hw_address.hlen = dlp -> physaddr_ack.dl_addr_length + 1; 290 memcpy (&info -> hw_address.hbuf [1], 373 print_hw_addr (info -> hw_address.hbuf [0], 374 info -> hw_address.hlen - 1, 375 &info -> hw_address.hbuf [1]), 403 print_hw_addr (info -> hw_address.hbuf [0], 404 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]), 376 print_hw_addr (info -> hw_address.hbuf [0], 377 info -> hw_address.hlen - 1, 378 &info -> hw_address.hbuf [1]), [all …]
|
| H A D | ethernet.c | 56 if (interface -> hw_address.hlen - 1 == sizeof (eh.ether_shost)) 57 memcpy (eh.ether_shost, &interface -> hw_address.hbuf [1],
|
| H A D | packet.c | 113 switch (interface->hw_address.hbuf[0]) { 215 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 | fddi.c | 60 &interface -> hw_address.hbuf [1], sizeof (fh.fddi_shost));
|
| H A D | socket.c | 366 get_hw_addr(info->name, &info->hw_address); 429 get_hw_addr(info->name, &info->hw_address); 585 get_hw_addr(info->name, &info->hw_address); in if_register6() 641 get_hw_addr(info->name, &info->hw_address); in if_register_linklocal6()
|
| H A D | discover.c | 907 get_hw_addr(tmp->name, &tmp->hw_address); 920 get_hw_addr(tmp->name, &tmp->hw_address);
|
| H A D | tree.c | 1364 result->data = client_state->interface->hw_address.hbuf; 1365 result->len = client_state->interface->hw_address.hlen;
|
| /netbsd-src/sys/arch/atari/dev/ |
| H A D | grfabs_tt.c | 157 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff; in tt_display_view() 158 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff; in tt_display_view() 159 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff; in tt_display_view() 324 void *hw_address; in alloc_bitmap() local 342 if ((bm = (bmap_t*)alloc_stmem(total_size, &hw_address)) == NULL) in alloc_bitmap() 347 bm->hw_address = (u_char*)hw_address + sizeof(bmap_t); in alloc_bitmap() 348 bm->hw_address = (u_char*)m68k_round_page(bm->hw_address); in alloc_bitmap()
|
| H A D | grfabs_fal.c | 324 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff; in falcon_display_view() 325 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff; in falcon_display_view() 326 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff; in falcon_display_view() 552 void *hw_address; in alloc_bitmap() local 570 if ((bm = (bmap_t*)alloc_stmem(total_size, &hw_address)) == NULL) in alloc_bitmap() 575 bm->hw_address = (u_char*)hw_address + sizeof(bmap_t); in alloc_bitmap() 576 bm->hw_address = (u_char*)m68k_round_page(bm->hw_address); in alloc_bitmap()
|
| H A D | view.c | 383 bm->hw_address = NULL; in viewioctl() 412 bmd_start = bm->hw_address; in viewmmap()
|
| H A D | grfabs_reg.h | 93 u_char *hw_address; /* mappable linear bitplane pointer. */ member
|
| H A D | grf.c | 378 gi->gd_fbaddr = bm.hw_address; in grf_viewsync()
|
| H A D | grfabs_et.c | 327 bm->hw_address = (void *)(PCI_MEM_PHYS | et_priv.linbase); in et_alloc_view()
|
| /netbsd-src/external/mpl/dhcp/dist/client/ |
| H A D | dhclient.c | 917 &ip->hw_address.hbuf[ip->hw_address.hlen - in main() 1513 if (packet->interface->hw_address.hlen - 1 != packet->raw->hlen || in compare_hw_address() 1514 memcmp(&packet->interface->hw_address.hbuf[1], in compare_hw_address() 1520 c = &packet -> interface -> hw_address.hbuf [1]; in compare_hw_address() 1522 name, packet->interface->hw_address.hlen - 1, in compare_hw_address() 3458 if (client->interface->hw_address.hlen > 4) { in make_client_options() 3459 hw_idx = client->interface->hw_address.hlen - 4; in make_client_options() 3463 hw_len = client->interface->hw_address.hlen; in make_client_options() 3466 client->interface->hw_address.hbuf + hw_idx, in make_client_options() 3531 client -> packet.htype = client -> interface -> hw_address.hbuf [0]; [all …]
|
| H A D | dhc6.c | 1730 if (client->interface->hw_address.hlen > 4) { in dhc6_create_iaid() 1731 start_idx = client->interface->hw_address.hlen - 4; in dhc6_create_iaid() 1735 copy_len = client->interface->hw_address.hlen; in dhc6_create_iaid() 1738 client->interface->hw_address.hbuf + start_idx, in dhc6_create_iaid()
|
| H A D | clparse.c | 647 parse_hardware_param (cfile, &ip -> hw_address);
|
| /netbsd-src/external/mpl/dhcp/dist/includes/ |
| H A D | ctrace.h | 34 struct hardware hw_address; member
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | dhcpv6.c | 488 if (p->hw_address.hlen > 0) { in generate_new_server_duid() 502 generated_duid.len = 8 + p->hw_address.hlen - 1; in generate_new_server_duid() 510 p->hw_address.hbuf[0]); in generate_new_server_duid() 513 p->hw_address.hbuf+1, p->hw_address.hlen-1); in generate_new_server_duid() 515 generated_duid.len = 4 + p->hw_address.hlen - 1; in generate_new_server_duid() 523 p->hw_address.hbuf[0]); in generate_new_server_duid() 525 p->hw_address.hbuf+1, p->hw_address.hlen-1); in generate_new_server_duid()
|
| H A D | dhcpd.c | 988 &ip -> hw_address.hbuf [ip -> hw_address.hlen - in main()
|