linux - Is anyone using netlink for IPC? -



linux - Is anyone using netlink for IPC? -

i planning utilize netlink communication between 2 userland processes. part of reason beingness picky netlink - of processing 1 of process go in kernel space , netlink based communication can used (hopefully).

the approach taking - define new generic netlink family (i have write kernel module back upwards family - appears @ moment). fine, looking @ illustration code, kernel routing messages between different processes , not doing work - actual population of messages handled processes.

my question - using netlink in similar manner in of projects? - above approach makes sense?

i read proposal netlink based dbus. haven't found implementation of that. comes closest requirements.

thanks.

what looking netlink_usersock if want communicate between userspace processes.

netlink documentation awfully scarce unfortunately. might help bit: who can give me latest netlink programming samples?

just create sure nl_pid non-zero , matches userspace peer bind'ed , you're sending unicast.

linux ipc netlink

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -