User Tools

Site Tools


networking:netlink

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:netlink [2016/11/14 19:03]
p4bl0 [External References]
— (current)
Line 1: Line 1:
-======netlink====== 
  
-** Netlink ** is a flexible, robust, wire-format communications channel typically used for kernel to user communication although it can also be used for user to user and kernel to kernel communications. ​ Netlink communication channels are associated with families or "​busses",​ where each bus deals with a specific service; for example, different Netlink busses exist for routing, [[https://​www.linuxfoundation.org/​node/​add/​wiki?​gids[]=5066| Netlink ]], [[https://​www.linuxfoundation.org/​node/​add/​wiki?​gids[]=5066| Netlink ]] and several other kernel subsystems. ​ More information about Netlink can be found in [[http://​www.ietf.org/​rfc/​rfc3549.txt|RFC 3549]][1]. 
- 
-Over the years, Netlink has become very popular which has brought about a very real concern that the number of Netlink family numbers may be exhausted in the near future. ​ In response to this the Generic Netlink family was created which 
-acts as a Netlink multiplexer,​ allowing multiple services to use a single Netlink bus. 
-===== Example Usages of Netlink===== 
- 
-  *  [[:​networking:​generic_netlink_howto| Generic Netlink HOWTO ]] kernel API 
-  *  [[http://​people.suug.ch/​~tgr/​libnl|libnl]] - A user space library to netlink. 
-  *  [[http://​www.netfilter.org/​projects/​libmnl/​|libmnl]] - A minimalistic user space library to netlink. 
-  *  [[:​networking:​iproute2| Iproute2 ]] utilities use netlink internally to communcate with the kernel. 
-===== External References===== 
- 
-  -  [[ftp://​ftp.rfc-editor.org/​in-notes/​rfc3549.txt|RFC 3549]] Linux Netlink as an IP Services Protocol 
-  -  [[http://​people.netfilter.org/​pablo/​netlink/​netlink.pdf|Communicating between the kernel and user-space in Linux using Netlink sockets]] 
-  - [[http://​people.netfilter.org/​pablo/​netlink/​netlink-libmnl-manual.pdf|Communicating between the kernel and user-space in Linux using Netlink sockets: Source code reference]] 
networking/netlink.1479150211.txt.gz ยท Last modified: 2016/11/14 19:03 by p4bl0