[<prev] [next>] [day] [month] [year] [list]
Message-Id: <3B5FFAA5-F608-4F43-B510-BF70BC5DC225@gmail.com>
Date: Thu, 16 Jul 2009 11:32:10 +0200
From: Patrick Rittiner <rittiner@...il.com>
To: linux-kernel@...r.kernel.org
Subject: interface index
hello,
can someone tell me how I can get the interface index of a socket
connection in kernel space? I mean ow can I use this call in kernel
space:
ioctl(sock, SIOCGIFFLAGS, &ifInfo)
I need it to bind the socket to a ethernet interface.
thanks a lot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists