[haiku-gsoc] Re: Sending ARP probes from net_server
- From: "Salvatore Benedetto" <emitrax@xxxxxxxxx>
- To: haiku-gsoc@xxxxxxxxxxxxx
- Date: Tue, 17 Jun 2008 15:21:55 +0000
2008/6/12 Alex Roman <alex.roman@xxxxxxxxx>:
> Hello mentors and fellow GSoCers,
Hi there,
>
>
> I need to be able to send ARP probes from somewhere inside the net
> server, or do something similar (i.e. figure out if a certain IPv4
> address is in use).
>
> I noticed that there is a
> kernel/network/datalink_protocols/arp/arp.cpp in the add-ons
> directory, but I don't know how it can be used...
>
> Failing that I can probably construct the packets manually and send
> them using raw sockets...
>
> Any help would be appreciated!
Did you manage to figure out how to use it? Can't really help here, only thing
I could suggest is to have a look at src/bin/network/arp/arp.cpp which seems to
use the syscall provided by the addon you mentioned, although you are probably
more interested in how to do it in kernel space, right?
Regards,
--
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer Engineer
University of Pisa
www.haiku-os.it
- References:
- [haiku-gsoc] Sending ARP probes from net_server
- From: Alex Roman
Other related posts:
- » [haiku-gsoc] Sending ARP probes from net_server
- » [haiku-gsoc] Re: Sending ARP probes from net_server
- » [haiku-gsoc] Re: Sending ARP probes from net_server
- [haiku-gsoc] Sending ARP probes from net_server
- From: Alex Roman