Date: Tue, 17 Jun 2003 21:34:45 -0400 From: "akanwar@digitarchy.com" <akanwar@digitarchy.com> To: wollman@lcs.mit.edu, freebsd-net@freebsd.org Subject: RE: replacement for SOCK_PACKET Message-ID: <184670-22003631813445521@M2W098.mail2web.com>
next in thread | raw e-mail | index | archive | help
Thanks Garrett. I am trying to write a small program to send out gratituous arps (because the em driver does not work) for a redundancy (via IP address take over) scheme. I do NOT want to use libpcap or libnet as these will not be available on prodution servers. I could probably statically link and make a huge executable...but then I think there ought to be a simpler way. Any ideas? -ansh Original Message: ----------------- From: Garrett Wollman wollman@lcs.mit.edu Date: Tue, 17 Jun 2003 20:59:23 -0400 (EDT) To: akanwar@digitarchy.com, freebsd-net@freebsd.org Subject: replacement for SOCK_PACKET ansh said: > What is the BSD equivalent of this Linux call: > sock=socket(AF_INET,SOCK_PACKET,htons(ETH_P_RARP)); man libpcap -GAWollman -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?184670-22003631813445521>
