lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ