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=2E=20 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=2E I do NOT want to use libpcap or libnet as these will not be available on prodution servers=2E I could probably statically link and make a huge executable=2E=2E=2Ebut then I think there ought to be a simpler way=2E Any ideas? -ansh =20 Original Message: ----------------- From: Garrett Wollman wollman@lcs=2Emit=2Eedu Date: Tue, 17 Jun 2003 20:59:23 -0400 (EDT) To: akanwar@digitarchy=2Ecom, freebsd-net@freebsd=2Eorg Subject: replacement for SOCK_PACKET ansh said: > What is the BSD equivalent of this Linux call: > sock=3Dsocket(AF_INET,SOCK_PACKET,htons(ETH_P_RARP)); man libpcap -GAWollman -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?184670-22003631813445521>