* Johannes Berg <[EMAIL PROTECTED]> 2007-05-27 15:24
> On Sat, 2007-05-26 at 00:18 +0200, Thomas Graf wrote:
>
> > This area is still work in progress but the basic idea is that
> > like in kernel context, the application defines its set of
> > commands and assigns message parsers for each command
On Sun, May 27, 2007 at 07:47:59PM +0200, Rodolfo Giometti wrote:
> On Sun, May 27, 2007 at 03:54:30PM +0200, Johannes Berg wrote:
>
> > It's written in python without using libnl:
> > http://git.sipsolutions.net/pynl80211.git
>
> If I well understand I should do something like this:
>
> s
On Mon, May 28, 2007 at 04:42:47AM +0300, Samuel Ortiz wrote:
> >
> > Is that right?
> At first glance, this could work yes.
Great! Now I have only to write the userland tool. :)
> However, it seems you're trying to encapsulate your pps_netlink_msg into
> a generic netlink message which itself i
Hi Rodolfo,
On Sun, May 27, 2007 at 07:39:59PM +0200, Rodolfo Giometti wrote:
> On Thu, May 24, 2007 at 09:43:30AM -, Samuel Ortiz wrote:
>
> > You could look at Johannes Berg 802.11 generic netlink implementation for
> > a good example (net/wireless/nl80211.c in John Linville's tree):
> > ht
On Sun, May 27, 2007 at 03:54:30PM +0200, Johannes Berg wrote:
> It's written in python without using libnl:
> http://git.sipsolutions.net/pynl80211.git
If I well understand I should do something like this:
s = socket(PF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
memset(&src_addr, 0,
On Thu, May 24, 2007 at 09:43:30AM -, Samuel Ortiz wrote:
> You could look at Johannes Berg 802.11 generic netlink implementation for
> a good example (net/wireless/nl80211.c in John Linville's tree):
> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-dev.git;a=blob;f=net/wireless/n
On Sun, 2007-05-27 at 15:50 +0200, Rodolfo Giometti wrote:
> Is that written by using the libnl or not? Can you please send to me
> it, or just a portion of it, in order to better understand how I can
> send messages to the kernel?
It's written in python without using libnl:
http://git.sipsolutio
On Sun, May 27, 2007 at 03:24:56PM +0200, Johannes Berg wrote:
>
> My current userland tool just send a message and expects back a
> response. Obviously that's broken once we have events too, is that when
Is that written by using the libnl or not? Can you please send to me
it, or just a portion o
On Sat, 2007-05-26 at 00:18 +0200, Thomas Graf wrote:
> This area is still work in progress but the basic idea is that
> like in kernel context, the application defines its set of
> commands and assigns message parsers for each command.
Ok, but why? For when we get asynchronous events from the k
* Johannes Berg <[EMAIL PROTECTED]> 2007-05-24 18:34
> On Thu, 2007-05-24 at 09:43 +, Samuel Ortiz wrote:
>
> > You probably want to use the libnl library. The latest SVN code has
> > support for generic netlink:
> > http://people.suug.ch/~tgr/libnl/
>
> Huh. I just looked at it and I don't u
On Thu, 2007-05-24 at 09:43 +, Samuel Ortiz wrote:
> You probably want to use the libnl library. The latest SVN code has
> support for generic netlink:
> http://people.suug.ch/~tgr/libnl/
Huh. I just looked at it and I don't understand anything. What's the
point with genl_register/genl_unregi
On Thu, 2007-24-05 at 13:21 +0200, Rodolfo Giometti wrote:
> On Thu, May 24, 2007 at 10:04:08AM -, Samuel Ortiz wrote:
> >
> > Yes it's possible, even though it could be more tedious and painful.
>
> I know that. Have you some links to suggest to me in order to have
> some programming example
On Thursday, May 24 2007 7:21:44 am Rodolfo Giometti wrote:
> On Thu, May 24, 2007 at 10:04:08AM -, Samuel Ortiz wrote:
> > Yes it's possible, even though it could be more tedious and painful.
>
> I know that. Have you some links to suggest to me in order to have
> some programming examples?
T
On Thu, May 24, 2007 at 10:04:08AM -, Samuel Ortiz wrote:
>
> Yes it's possible, even though it could be more tedious and painful.
I know that. Have you some links to suggest to me in order to have
some programming examples?
Thanks,
Rodolfo
--
GNU/Linux Solutions e-mail:
On 5/24/2007, "Rodolfo Giometti" <[EMAIL PROTECTED]> wrote:
>> You probably want to use the libnl library. The latest SVN code has
>> support for generic netlink:
>> http://people.suug.ch/~tgr/libnl/
>
>Regarding this issue I'd like to know if could be possible to avoid
>using this library... my
On Thu, May 24, 2007 at 09:43:30AM -, Samuel Ortiz wrote:
> You could look at Johannes Berg 802.11 generic netlink implementation for
> a good example (net/wireless/nl80211.c in John Linville's tree):
> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-dev.git;a=blob;f=net/wireless/n
Hi Rodolfo,
On 5/24/2007, "Rodolfo Giometti" <[EMAIL PROTECTED]> wrote:
>Hello,
>
>I'm trying to use this new API for my LinuxPPS support but I have some
>difficulties in understanding the code!
>
>Looking at http://linux-net.osdl.org/index.php/Generic_Netlink_HOWTO
>is not clear... for example
17 matches
Mail list logo