Communicating between the kernel and user-space in Linux using Netlink sockets

  • Authors:
  • Pablo Neira-Ayuso;Rafael M. Gasca;Laurent Lefevre

  • Affiliations:
  • QUIVIR Research Group, Departament of Computer Languages and Systems, University of Seville, Spain;QUIVIR Research Group, Departament of Computer Languages and Systems, University of Seville, Spain;RESO-LIP Team, INRIA, University of Lyon, France

  • Venue:
  • Software—Practice & Experience
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

When developing Linux kernel features, it is a good practice to expose the necessary details to user-space to enable extensibility. This allows the development of new features and sophisticated configurations from user-space. Generally, software developers have to face the task of looking for a good way to communicate between the kernel and user-space in Linux. This tutorial introduces you to Netlink sockets, a flexible and extensible messaging system that provides communication between kernel and user-space. We provide the fundamental guidelines for practitioners who wish to develop Netlink-based interfaces. Copyright © 2010 John Wiley & Sons, Ltd.