1 ===============================================================================
2 LIBNET 1.0 (c) 1998 - 2001 Mike D. Schiffman <mike@infonexus.com>
3 http://www.packetfactory.net/libnet
4 ===============================================================================
7 This directory contains useful utility code snippets. These are intended
8 to be either stand-alone programs, or do something useful other than just
9 proving the library works (the testcode takes care of that).
11 Get-mac/get_mac.c - contains a simple routine to get the MAC address of
12 a remote host given its IP address. This is
13 crucial to applications that need to write link
14 layer packets to hosts for which they don't
15 have the MAC. This technique can be used to hide
16 the link layer interface from the programmer and
17 abstract it further. At this point, however,
18 the code only works for hosts on the local network
19 and does not timeout and resend packets.