[lkml]   [1999]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Userlevel ARP request
    Could someone send me this man page or some code samples?  I cannot get this
    to work and I dont have that man page...

    Any help appreciated!

    On Tue, Aug 31, 1999 at 06:03:23PM +0200, Matthew Wilcox wrote:
    > On Tue, Aug 31, 1999 at 04:42:58PM +0100, wrote:
    > > yes this can be done with a PF_PACKET socket. You have a choice of
    > > SOCK_RAW (with datalink headers) or SOCK_DGRAM (a slightly more cooked
    > > mode of operation). Probably you would do something like:
    > >
    > > s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ARP));
    > >
    > > You can restrict this to a single device with bind() too if you want to.
    > > man 4 packet has more information,
    > that's `man 7 packet'. Some distributions distributed an older version
    > of netman, against the wishes of the authors (that version was explicitly
    > lableed DO NOT DISTRIBUTE). In the released version which was merged
    > with manpages-1.23, the protocol pages were moved to section 7.
    > --
    > Matthew Wilcox <>
    > "Windows and MacOS are products, contrived by engineers in the service of
    > specific companies. Unix, by contrast, is not so much a product as it is a
    > painstakingly compiled oral history of the hacker subculture." - N Stephenson


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:53    [W:0.024 / U:1.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site