All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@free.fr>
To: Linux Netdev List <netdev@vger.kernel.org>
Subject: interprocess communication with netlinks
Date: Thu, 07 May 2009 18:00:46 +0200	[thread overview]
Message-ID: <4A0305AE.4000203@free.fr> (raw)

Hi netdev gurus !

I am trying to make several processes to communicate via the netlink 
protocol.

I saw a discussion around the AF_IPN (inter process communication) 
protocol and it seems the same can be done with the AF_NETLINK protocol 
with minor modifications in the kernel. Were these modifications done ?

I am trying to use multicast between several processes, for notification.

What protocol should I use to create the socket ?

    fd = socket(PF_NETLINK, SOCK_RAW,  ???);

I was not able to find any suitable pointer to explain how to do that, 
so I blindly tried several combinations but I am afraid to interact with 
the other netlink protocols when using a multicast group, especially 
when there are other applications like avahi-daemon or "ip monitor all".

Does anyone have a pointer to a documentation (not the redhat one, pls), 
or some clues ?

Thanks in advance.
  -- Daniel

             reply	other threads:[~2009-05-07 16:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07 16:00 Daniel Lezcano [this message]
     [not found] ` <765b42e40905072305w39301b38ied44a83a581ad29d@mail.gmail.com>
2009-05-08  9:37   ` interprocess communication with netlinks Daniel Lezcano
2009-05-11 19:36     ` Randy Dunlap
2009-05-12 16:27       ` Neil Horman

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=4A0305AE.4000203@free.fr \
    --to=daniel.lezcano@free.fr \
    --cc=netdev@vger.kernel.org \
    /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.