lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090610110901.GC2673@ff.dom.local>
Date:	Wed, 10 Jun 2009 11:09:01 +0000
From:	Jarek Poplawski <jarkao2@...il.com>
To:	sampath kumar <sampath.in@...il.com>
Cc:	netdev@...r.kernel.org, acme@...hat.com, nhorman@...driver.com
Subject: Re: Question regarding linux networking

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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ