* Methods to communicate between kernel network stack and user space
@ 2012-03-15 14:49 Syed Muhammad Mohsin Kazmi
0 siblings, 0 replies; 3+ messages in thread
From: Syed Muhammad Mohsin Kazmi @ 2012-03-15 14:49 UTC (permalink / raw)
To: Stephen Hemminger, netdev
Hi,
Consider the figure below:
+-----------------------------------+
| |
| TRILL IS-IS<--|---------
| Quagga protocol suite | |
+-----------------------------------+ |
user space
|
----------------------------------------------------------|----------------------
kernel space |
|
+------------------------------------------+ |
| TCP / UDP / ICMP | |
|
| |
+------------------------------------------+ |
| IPv4 /IPv6
| |
|
| |
+------------------------------------------+ |
|
+-------------+ | |
| |
TRILL |<-|---
| Bridging +------------+ |
+------------------------------------------+
| Interface between Device |
|Driver and network stack(dev.c)|
+------------------------------------------+
| Device Driver |
|
|
+-----------------|
|------------------+
| |
NIC
As you may know, TRILL uses IS-IS protocol to
calculate pairwise optimal paths and other control plane parameters.
Now i want to communicate between TRILL forwarding in bridging with
TRILL IS-IS in quagga protocol suite to send and receive control plane
packets. I don't know what method should i use for this kind of
communication.
Netlink sockets are appropriate for this purpose?
Or please suggest something else.
Thanks in Advance...!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Methods to communicate between kernel network stack and user space
@ 2012-03-15 15:00 Syed Muhammad Mohsin Kazmi
2012-03-15 16:26 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: Syed Muhammad Mohsin Kazmi @ 2012-03-15 15:00 UTC (permalink / raw)
To: Stephen Hemminger, netdev
Hi,
Consider the figure below:
+-----------------------------------+
| |
| TRILL IS-IS<--|---------
| Quagga protocol suite | |
+-----------------------------------+ |
user space |
---------------------------------------------------------------------------|-----
kernel space |
|
+------------------------------------------+ |
| TCP / UDP / ICMP | |
|
| |
+------------------------------------------+ |
| IPv4 /IPv6
| |
|
| |
+------------------------------------------+ |
|
+-------------+ | |
| |TRILL
|<--|---
| Bridging +------------+ |
+------------------------------------------+
| Interface between Device |
|Driver and network stack(dev.c)|
+------------------------------------------+
| Device Driver |
|
|
+-----------------|
|------------------+
| |
NIC
As you may know, TRILL uses IS-IS protocol to
calculate pairwise optimal paths and other control plane parameters.
Now i want to communicate between TRILL forwarding in bridging with
TRILL IS-IS in quagga protocol suite to send and receive control plane
packets. I don't know what method should i use for this kind of
communication.
Netlink sockets are appropriate for this purpose?
Or please suggest something else.
Thanks in Advance...!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Methods to communicate between kernel network stack and user space
2012-03-15 15:00 Methods to communicate between kernel network stack and user space Syed Muhammad Mohsin Kazmi
@ 2012-03-15 16:26 ` Stephen Hemminger
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2012-03-15 16:26 UTC (permalink / raw)
To: Syed Muhammad Mohsin Kazmi; +Cc: netdev
Look at existing RSTP daemon, it uses bridge netlink and there is no
reason to think TRILL needs anything special.
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/rstp.git
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-15 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 15:00 Methods to communicate between kernel network stack and user space Syed Muhammad Mohsin Kazmi
2012-03-15 16:26 ` Stephen Hemminger
-- strict thread matches above, loose matches on Subject: below --
2012-03-15 14:49 Syed Muhammad Mohsin Kazmi
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).