From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Colin Burnett <cburnett@fractal.candysporks.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: pure raw eth sockets
Date: Fri, 08 Nov 2002 01:43:46 -0500 [thread overview]
Message-ID: <3DCB5D22.3070701@nortelnetworks.com> (raw)
In-Reply-To: <1036735964.3dcb55dc6f784@www.candysporks.org>
Colin Burnett wrote:
> socket(PF_INET, SOCK_PACKET, ETH_P_RARP)
I believe you want something more like:
socket(PF_PACKET, SOCK_RAW, htons(ETH_P_RARP));
Try doing a man on "packet".
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
next prev parent reply other threads:[~2002-11-08 6:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 6:12 Colin Burnett
2002-11-08 6:43 ` Chris Friesen [this message]
2002-11-08 8:14 ` Willy Tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DCB5D22.3070701@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=cburnett@fractal.candysporks.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®