public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Guram Z. Savinov" <savinov.guram@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Get interface MAC address in sys_accept4() syscall
Date: Fri, 30 Jul 2010 03:42:14 +0400	[thread overview]
Message-ID: <4C5211D6.3000406@gmail.com> (raw)

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.

             reply	other threads:[~2010-07-29 23:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 23:42 Guram Z. Savinov [this message]
2010-07-29 23:51 ` Get interface MAC address in sys_accept4() syscall 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5211D6.3000406@gmail.com \
    --to=savinov.guram@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox