* Re: Question regarding linux networking [not found] <a05f5a000906090520y2b8b635epd1ef0f04c8d86fa7@mail.gmail.com> @ 2009-06-10 6:37 ` Jarek Poplawski 2009-06-10 11:09 ` Jarek Poplawski 0 siblings, 1 reply; 2+ messages in thread From: Jarek Poplawski @ 2009-06-10 6:37 UTC (permalink / raw) To: sampath kumar; +Cc: netdev, acme, nhorman On Tue, Jun 09, 2009 at 05:50:09PM +0530, sampath kumar wrote: > Hi All, Hi, I resend this message because it seems it wasn't accepted by netdev@. (Try to use text/plain message format when sending here.) Jarek P. > > 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 ?? > > Can you pls help. > > > B Sampath Kumar, > ST-Ericsson, > Bangalore - 38. ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question regarding linux networking 2009-06-10 6:37 ` Question regarding linux networking Jarek Poplawski @ 2009-06-10 11:09 ` Jarek Poplawski 0 siblings, 0 replies; 2+ messages in thread From: Jarek Poplawski @ 2009-06-10 11:09 UTC (permalink / raw) To: sampath kumar; +Cc: netdev, acme, nhorman 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. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-10 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).