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: <1260376900.31877.10.camel@jdl-desktop>
Date:	Wed, 09 Dec 2009 10:41:40 -0600
From:	Jon Loeliger <jdl@...footnetworks.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	netdev@...r.kernel.org
Subject: Re: Using netlink for intra-kernel requests?

On Wed, 2009-12-09 at 14:33 +0100, Andi Kleen wrote:
> Jon Loeliger <jdl@...footnetworks.com> writes:
> > I feel like I am missing or don't know where to find the
> > documentation for the intra-kernel netlink messaging.
> 
> I don't think the kernel uses intra kernel netlink normally,
> just tends to call functions directly. That's more efficient
> anyways.
> 
> -Andi

Hi Andi,

OK.  So, _which_ set of netlink functions should I use?
Is rtnl_notify() the correct one to use to send a netlink
request for the RTM_GETQDISC or RTM_GETTCCLASS data?

What's the mechanism used to send and then receive a reply?
Will it be async?  How do I specify the call-back to receive
the reply netlink message?  Or will it be synchronous and
I pass in some call-back-reply function?

Thanks for you suggestions!
jdl


--
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