mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* interface index
@ 2009-07-16  9:32 Patrick Rittiner
  0 siblings, 0 replies; only message in thread
From: Patrick Rittiner @ 2009-07-16  9:32 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-16  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-16  9:32 interface index Patrick Rittiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®