Hi,
I have been working on a mobile ip experiment and I need to get the clients
mac in order to send a "gratuituous ARP" packet.  I am currently using the
following:

snipet...
len = recvfrom(udpsocket, inpacket_buf, MAX_PACKET_SIZE, 0 , (struct
sockaddr *) &mndAddr, &addrLength);

This is getting the clients port and IP but I want to be able to get the mac
also.  Is it possible to get it from the recvfrom fuction if not does anyone
have any good Ideas how to get it.  I have seen the /sbin/ifconfig system
call used but I don't really want to implement a system call if I don't have
too.  Any help would be apprecitated.

Thanks
Joe Wronkowski
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to