Home
last modified time | relevance | path

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

12

/netbsd-src/external/mpl/dhcp/dist/common/
H A Dupf.c110 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 Dnit.c106 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 Dctrace.c43 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 Dlpf.c128 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 Ddlpi.c231 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 Dbpf.c125 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 Dethernet.c56 if (interface -> hw_address.hlen - 1 == sizeof (eh.ether_shost))
57 memcpy (eh.ether_shost, &interface -> hw_address.hbuf [1],
H A Dpacket.c113 switch (interface->hw_address.hbuf[0]) {
215 switch(interface->hw_address.hbuf[0]) {
H A Dtr.c85 if (interface -> hw_address.hlen - 1 == sizeof (trh->saddr))
86 memcpy (trh->saddr, &interface -> hw_address.hbuf [1],
H A Dfddi.c60 &interface -> hw_address.hbuf [1], sizeof (fh.fddi_shost));
H A Dsocket.c366 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 Ddiscover.c907 get_hw_addr(tmp->name, &tmp->hw_address);
920 get_hw_addr(tmp->name, &tmp->hw_address);
H A Dtree.c1364 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 Dgrfabs_tt.c157 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 Dgrfabs_fal.c324 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 Dview.c383 bm->hw_address = NULL; in viewioctl()
412 bmd_start = bm->hw_address; in viewmmap()
H A Dgrfabs_reg.h93 u_char *hw_address; /* mappable linear bitplane pointer. */ member
H A Dgrf.c378 gi->gd_fbaddr = bm.hw_address; in grf_viewsync()
H A Dgrfabs_et.c327 bm->hw_address = (void *)(PCI_MEM_PHYS | et_priv.linbase); in et_alloc_view()
/netbsd-src/external/mpl/dhcp/dist/client/
H A Ddhclient.c917 &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 Ddhc6.c1730 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 Dclparse.c647 parse_hardware_param (cfile, &ip -> hw_address);
/netbsd-src/external/mpl/dhcp/dist/includes/
H A Dctrace.h34 struct hardware hw_address; member
/netbsd-src/external/mpl/dhcp/dist/server/
H A Ddhcpv6.c488 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 Ddhcpd.c988 &ip -> hw_address.hbuf [ip -> hw_address.hlen - in main()

12