lkml.org 
[lkml]   [2010]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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.079 / U:0.200 seconds]
©2003-2014 Jasper Spaans. hosted at Digital Ocean