lkml.org 
[lkml]   [1999]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSIOCGIFNAME +sparc64?

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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.033 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site