Home
last modified time | relevance | path

Searched refs:hto (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/mpl/dhcp/dist/common/
H A Dctrace.c223 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 Dupf.c245 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 Dnit.c282 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 Dlpf.c338 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 Dbpf.c403 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 Ddlpi.c532 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 Draw.c108 size_t send_packet (interface, packet, raw, len, from, to, hto) in send_packet() argument
115 struct hardware *hto;
H A Dsocket.c720 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 Dbootp.c51 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 Ddhcp.c3898 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 Dctrace.h51 struct hardware hto; member
/netbsd-src/external/mpl/dhcp/dist/relay/
H A Ddhcrelay.c889 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 Dendian.h203 u = hto ## endian ## bits (u); \
/netbsd-src/tools/compat/
H A Dcompat_defs.h1156 u = hto ## endian ## bits (u); \