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 [EMAIL PROTECTED]
Date: Tue, 17 Jun 2003 20:59:23 -0400 (EDT)
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
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/ .


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to