| /netbsd-src/external/mpl/dhcp/dist/common/ |
| H A D | ctrace.c | 223 struct hardware *hto) in trace_packet_send() argument 229 if (hto) { in trace_packet_send() 230 tip.hto = *hto; in trace_packet_send() 233 memset (&tip.hto, 0, sizeof tip.hto); in trace_packet_send() 251 from, to, hto); in trace_packet_send()
|
| H A D | upf.c | 245 ssize_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 252 struct hardware *hto; 263 len, from, to, hto); 265 if (hto == NULL && interface->anycast_mac_addr.hlen) 266 hto = &interface->anycast_mac_addr; 269 assemble_hw_header (interface, (unsigned char *)hw, &hbufp, hto);
|
| H A D | nit.c | 282 ssize_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 289 struct hardware *hto; 302 len, from, to, hto); 304 if (hto == NULL && interface->anycast_mac_addr.hlen) 305 hto = &interface->anycast_mac_addr; 314 assemble_hw_header (interface, (unsigned char *)junk, &hbufp, hto);
|
| H A D | lpf.c | 338 ssize_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 345 struct hardware *hto; 356 len, from, to, hto); 358 if (hto == NULL && interface->anycast_mac_addr.hlen) 359 hto = &interface->anycast_mac_addr; 362 assemble_hw_header (interface, (unsigned char *)hh, &hbufp, hto);
|
| H A D | bpf.c | 403 ssize_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 410 struct hardware *hto; 420 len, from, to, hto); 422 if (hto == NULL && interface->anycast_mac_addr.hlen) 423 hto = &interface->anycast_mac_addr; 426 assemble_hw_header (interface, (unsigned char *)hw, &hbufp, hto);
|
| H A D | dlpi.c | 532 ssize_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 539 struct hardware *hto; 554 len, from, to, hto); 556 if (hto == NULL && interface->anycast_mac_addr.hlen) 557 hto = &interface->anycast_mac_addr; 563 assemble_hw_header (interface, (unsigned char *)hh, &dbuflen, hto); 607 if (hto && hto -> hlen == interface -> hw_address.hlen) 608 memcpy ( phys, (char *) &hto -> hbuf [1], phys_len);
|
| H A D | raw.c | 108 size_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 115 struct hardware *hto;
|
| H A D | socket.c | 720 ssize_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument 727 struct hardware *hto;
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | bootp.c | 51 struct hardware hto; local 386 hto.hbuf [0] = packet -> raw -> htype; 387 hto.hlen = packet -> raw -> hlen + 1; 388 memcpy (&hto.hbuf [1], packet -> raw -> chaddr, packet -> raw -> hlen); 426 &to, &hto); 454 outgoing.packet_length, from, &to, &hto);
|
| H A D | dhcp.c | 3898 struct hardware hto; local 4065 hto.hlen = lease -> hardware_addr.hlen; 4066 memcpy (hto.hbuf, lease -> hardware_addr.hbuf, hto.hlen); 4164 from, &to, unicastp ? &hto : NULL);
|
| /netbsd-src/external/mpl/dhcp/dist/includes/ |
| H A D | ctrace.h | 51 struct hardware hto; member
|
| /netbsd-src/external/mpl/dhcp/dist/relay/ |
| H A D | dhcrelay.c | 889 struct hardware hto, *htop; in do_relay4() local 937 htop = &hto; in do_relay4() 950 memcpy(&hto.hbuf[1], packet->chaddr, packet->hlen); in do_relay4() 951 hto.hbuf[0] = packet->htype; in do_relay4() 952 hto.hlen = packet->hlen + 1; in do_relay4()
|
| /netbsd-src/sys/sys/ |
| H A D | endian.h | 203 u = hto ## endian ## bits (u); \
|
| /netbsd-src/tools/compat/ |
| H A D | compat_defs.h | 1156 u = hto ## endian ## bits (u); \
|