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

12

/netbsd-current/external/mpl/dhcp/dist/common/
H A Dctrace.c43 memcpy (&tipkt.hw_address,
44 &ip -> hw_address, sizeof ip -> hw_address);
85 memcpy (&ip -> hw_address, &tipkt -> hw_address,
86 sizeof ip -> hw_address);
124 print_hw_addr (ip -> hw_address.hbuf [0],
125 ip -> hw_address.hlen - 1,
126 &ip -> hw_address.hbuf [1]),
133 print_hw_addr (ip -> hw_address
[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
[all...]
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
[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 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
[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
[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
[all...]
H A Dfddi.c60 &interface -> hw_address.hbuf [1], sizeof (fh.fddi_shost));
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 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);
641 get_hw_addr(info->name, &info->hw_address);
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-current/sys/arch/atari/dev/
H A Dgrfabs_tt.c157 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff;
158 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff;
159 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff;
324 void *hw_address; local
342 if ((bm = (bmap_t*)alloc_stmem(total_size, &hw_address)) == NULL)
347 bm->hw_address = (u_char*)hw_address + sizeof(bmap_t);
348 bm->hw_address = (u_char*)m68k_round_page(bm->hw_address);
H A Dgrfabs_fal.c324 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff;
325 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff;
326 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff;
552 void *hw_address; local
570 if ((bm = (bmap_t*)alloc_stmem(total_size, &hw_address)) == NULL)
575 bm->hw_address = (u_char*)hw_address + sizeof(bmap_t);
576 bm->hw_address = (u_char*)m68k_round_page(bm->hw_address);
H A Dgrfabs_reg.h93 u_char *hw_address; /* mappable linear bitplane pointer. */ member in struct:bitmap
H A Dview.c383 bm->hw_address = NULL;
412 bmd_start = bm->hw_address;
H A Dgrf.c378 gi->gd_fbaddr = bm.hw_address;
H A Dgrfabs_et.c327 bm->hw_address = (void *)(PCI_MEM_PHYS | et_priv.linbase);
/netbsd-current/external/mpl/dhcp/dist/includes/
H A Dctrace.h34 struct hardware hw_address; member in struct:__anon7
/netbsd-current/external/mpl/dhcp/dist/client/
H A Ddhclient.c917 &ip->hw_address.hbuf[ip->hw_address.hlen -
1513 if (packet->interface->hw_address.hlen - 1 != packet->raw->hlen ||
1514 memcmp(&packet->interface->hw_address.hbuf[1],
1520 c = &packet -> interface -> hw_address.hbuf [1];
1522 name, packet->interface->hw_address.hlen - 1,
3458 if (client->interface->hw_address.hlen > 4) {
3459 hw_idx = client->interface->hw_address.hlen - 4;
3463 hw_len = client->interface->hw_address.hlen;
3466 client->interface->hw_address
[all...]
H A Ddhc6.c1730 if (client->interface->hw_address.hlen > 4) {
1731 start_idx = client->interface->hw_address.hlen - 4;
1735 copy_len = client->interface->hw_address.hlen;
1738 client->interface->hw_address.hbuf + start_idx,
H A Dclparse.c647 parse_hardware_param (cfile, &ip -> hw_address);
/netbsd-current/external/mpl/dhcp/dist/server/
H A Ddhcpd.c988 &ip -> hw_address.hbuf [ip -> hw_address.hlen -
H A Ddhcpv6.c488 if (p->hw_address.hlen > 0) {
502 generated_duid.len = 8 + p->hw_address.hlen - 1;
510 p->hw_address.hbuf[0]);
513 p->hw_address.hbuf+1, p->hw_address.hlen-1);
515 generated_duid.len = 4 + p->hw_address.hlen - 1;
523 p->hw_address.hbuf[0]);
525 p->hw_address.hbuf+1, p->hw_address.hlen-1);

Completed in 191 milliseconds

12