[lkml]   [2010]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectGet interface MAC address in sys_accept4() syscall
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.

 \ /
  Last update: 2010-07-30 01:43    [W:0.041 / U:3.280 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site