SIOCGIFNAME +sparc64?

Gerard Paul Java (gerardj@cebu.mozcom.com)
Tue, 8 Jun 1999 22:07:34 +0800 (PHT)


Hi,

I tried to do a SIOGIFNAME ioctl() call on a (PF_PACKET, SOCK_RAW) socket.
I need to retrieve the interface name from the interface index returned
in the sll_ifindex field after a recvfrom() on the socket. On my Intel
machine, it works perfectly. On the sparc64, it fails with an Invalid
argument error.

Is this a known condition? It's kernel 2.2.9 on a sparc64, stock Red Hat
6.0.

Hope someone can help. Thanks.

Gerard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/