All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: sampath kumar <sampath.in@gmail.com>
Cc: netdev@vger.kernel.org, acme@redhat.com, nhorman@tuxdriver.com
Subject: Re: Question regarding linux networking
Date: Wed, 10 Jun 2009 11:09:01 +0000	[thread overview]
Message-ID: <20090610110901.GC2673@ff.dom.local> (raw)
In-Reply-To: <20090610063749.GA2673@ff.dom.local>

On Wed, Jun 10, 2009 at 06:37:49AM +0000, Jarek Poplawski wrote:
> On Tue, Jun 09, 2009 at 05:50:09PM +0530, sampath kumar wrote:
...
> > I'm trying to use/understand linux networking code. Say for example decnet,
> > phonet etc, in order to register a device we need to send an RTM_NEWADDR msg
> > to the kernel.
> > 
> > do I've to send it from kernel space or user space ? If I check the code of
> > decnet or phonet, each have registered using rtnl_register an addr_doit func
> > after reception of RTM_NEWADDR msg. how do i send this msg and from where ??

You can send it both from kernel and user space. For user space
usage have a look at iproute2 sources. And here is a general
description: http://people.redhat.com/nhorman/papers/netlink.pdf

Jarek P.

      reply	other threads:[~2009-06-10 11:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a05f5a000906090520y2b8b635epd1ef0f04c8d86fa7@mail.gmail.com>
2009-06-10  6:37 ` Question regarding linux networking Jarek Poplawski
2009-06-10 11:09   ` Jarek Poplawski [this message]

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=20090610110901.GC2673@ff.dom.local \
    --to=jarkao2@gmail.com \
    --cc=acme@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=nhorman@tuxdriver.com \
    --cc=sampath.in@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.