Skip to contentSkip to conversation

NetLink for IPC between Xenomai Driver and User Space App

Xenomai John Syn 2 participants 2 messages Jan 28, 2014

lore
Share & tools
lore

John Syn

author
#0 lore raw

Is there any ways to implement NetLink in a Xenomai Driver?

I¹m thinking that a Netlink IPC interface would simplify the interface between a Xenomai device driver and a user space app (nodejs with asynchronous I/O) compared with IOCTL/syscalls.

Regards,

John

#1 lore raw
Quoted 5 lines · John Syn

Is there any ways to implement NetLink in a Xenomai Driver?

I¹m thinking that a Netlink IPC interface would simplify the interface between a Xenomai device driver and a user space app (nodejs with asynchronous I/O) compared with IOCTL/syscalls.

RTDM, the interface used to create drivers for xenomai, allows you to define drivers for arbitrary socket protocols (this is used for instance by rtnet to implement IP/UDP socket, or by the RTIPC driver to implement specialized IPCs), so, you can define the AF_NETLINK socket if you like.

Signature · 1 line
					    Gilles.