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

被引:29
|
作者
Neira-Ayuso, Pablo [1 ]
Gasca, Rafael M.
Lefevre, Laurent [2 ]
机构
[1] Univ Seville, ETS Ingn Informat, Dept Comp Languages & Syst, QUIVIR Res Grp, E-41012 Seville, Spain
[2] Univ Lyon, INRIA, RESO LIP Team, Lyon, France
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2010年 / 40卷 / 09期
关键词
kernel interfaces; netlink; Linux;
D O I
10.1002/spe.981
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 Net link 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 Net link-based interfaces. Copyright (C) 2010 John Wiley & Sons, Ltd.
引用
收藏
页码:797 / 810
页数:14
相关论文
共 11 条
  • [1] Reducing TCB of Linux Kernel Using User-Space Device Driver
    Qiang, Weizhong
    Zhang, Kang
    Jin, Hai
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2016, 2016, 10048 : 572 - 585
  • [2] Minix over Linux: A User-space Multiserver Operating System
    Pessolani, Pablo
    Jara, Oscar
    2011 BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEM ENGINEERING (SBESC), 2011, : 158 - 163
  • [3] ghOSt: Fast & Flexible User-Space Delegation of Linux Scheduling
    Humphries, Jack Tigar
    Natu, Neel
    Chaugule, Ashwin
    Weisse, Ofir
    Rhoden, Barret
    Don, Josh
    Rizzo, Luigi
    Rombakh, Oleg
    Turner, Paul
    Kozyrakis, Christos
    PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 588 - 604
  • [4] High-performance memory-based Web servers: Kernel and user-space performance
    Joubert, P
    King, RB
    Neves, R
    Russinovich, M
    Tracey, JM
    USENIX ASSOCIATION PROCEEDINGS OF THE 2001 USENIX ANNUAL TECHNICAL CONFERENCE, 2001, : 175 - 187
  • [5] Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space Emulation
    Tay, Hui Jun
    Zeng, Kyle
    Vadayath, Jayakrishna Menon
    Raj, Arvind S.
    Dutcher, Audrey
    Reddy, Tejesh
    Gibbs, Wil
    Basque, Zion Leonahenahe
    Dong, Fangzhou
    Smith, Zack
    Doupe, Adam
    Bao, Tiffany
    Shoshitaishvili, Yan
    Wang, Ruoyu
    PROCEEDINGS OF THE 32ND USENIX SECURITY SYMPOSIUM, 2023, : 5791 - 5808
  • [6] Practicality of in-kernel/user-space packet processing empowered by lightweight neural network and decision tree
    Hara, Takanori
    Sasabe, Masahiro
    COMPUTER NETWORKS, 2024, 240
  • [7] Enhancing VNF's performance using DPDK driven OVS user-space forwarding
    Vladislavic, Dani
    Huljenic, Darko
    Ozegovic, Julije
    2017 25TH INTERNATIONAL CONFERENCE ON SOFTWARE, TELECOMMUNICATIONS AND COMPUTER NETWORKS (SOFTCOM), 2017, : 151 - 155
  • [8] Orchestra: Intrusion Detection Using Parallel Execution and Monitoring of Program Variants in User-Space
    Salamat, Babak
    Jackson, Todd
    Gal, Andreas
    Franz, Michael
    EUROSYS'09: PROCEEDINGS OF THE FOURTH EUROSYS CONFERENCE, 2009, : 33 - 46
  • [9] Efficient user-space protocol implementations with QoS guarantees using real-time upcalls
    Gopalakrishnan, R
    Parulkar, GM
    IEEE-ACM TRANSACTIONS ON NETWORKING, 1998, 6 (04) : 374 - 388
  • [10] SHARED MEMORY IN RTAI SIMULINK FOR KERNEL AND USER-SPACE COMMUNICATION AT THE EXAMPLE OF THE SDH-2 QRtaiLab For SDH-2 Matrix Visualization
    Haase, Thomas
    Woern, Heinz
    Nahrstaedt, Holger
    ICINCO 2010: PROCEEDINGS OF THE 7TH INTERNATIONAL CONFERENCE ON INFORMATICS IN CONTROL, AUTOMATION AND ROBOTICS, VOL 3, 2010, : 160 - 165