Re: Q: Extract hardware address from received datagram?

From: Albrecht Dreß
Date: Sun Aug 14 2005 - 15:45:58 EST


Am 14.08.05 18:28 schrieb(en) Jeremy Jackson:
I would look at what the ISC DHCP server does

DHCP encodes the client hardware address in the request packet itself [1] and does not take/need the information from the header.

Actually, the application I need is something like a dhcp server: an embedded Linux system shall replace a really dumb 16-bit micro with an eth interface. The firmware on the micro provides access to the full header, so when the protocol was designed, noone took care to add the "vital" information to the packet, and as I have to keep compatibility... - you get the picture!

Thanks, Albrecht.


[1] RFC 2131: http://www.ietf.org/rfc/rfc2131.txt

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress@xxxxxxxx
GnuPG public key: http://home.arcor.de/dralbrecht.dress/pubkey.asc
_________________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html