public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Get interface MAC address in sys_accept4() syscall
@ 2010-07-29 23:42 Guram Z. Savinov
  2010-07-29 23:51 ` Guram Z. Savinov
  2010-07-30  7:17 ` Américo Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Guram Z. Savinov @ 2010-07-29 23:42 UTC (permalink / raw)
  To: linux-kernel

Hi all,

in net/socket.c is syscall sys_accept4(). In it syscall I need to get 
MAC address of interface, from connection is come.
For example it is two interfaces eth0 and eth1. I want to know, from 
what interface connection is come to sys_accept4().
Please help me, how I can do it.

Thank's for attention for my question.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-30 16:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 23:42 Get interface MAC address in sys_accept4() syscall Guram Z. Savinov
2010-07-29 23:51 ` Guram Z. Savinov
2010-07-30  7:17 ` Américo Wang
     [not found]   ` <AANLkTi=bSLALO0xP3kWgX9ipRBroDsqzXp6=kPuwMtW2@mail.gmail.com>
2010-07-30 10:03     ` Américo Wang
2010-07-30 10:22       ` Guram Z. Savinov
2010-07-30 16:15         ` Miquel van Smoorenburg

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