* Cantinho Satkeys

Refresh History
  • okapa:
    24 de Dezembro de 2025, 19:01
  • sacana10: A todos um feliz natal
    24 de Dezembro de 2025, 17:57
  • cereal killa: dgtgtr passei por ca para vos desejar feliz natal e familias  :smiles_natal:
    24 de Dezembro de 2025, 15:46
  • bruno mirandela: deso a todos um feliz natal
    24 de Dezembro de 2025, 14:31
  • FELISCUNHA: ghyt74   :34rbzg9:  e bom natal  :13arvoresnatalmagiagifs:
    24 de Dezembro de 2025, 10:15
  • tgh12: mikrotik
    24 de Dezembro de 2025, 07:49
  • tgh12: Spanish for Beginners: Spanish from 0 to Conversational
    24 de Dezembro de 2025, 04:57
  • JPratas: try65hytr Pessoal  4tj97u<z
    24 de Dezembro de 2025, 03:03
  • m1957: Para toda a equipa e membros deste fórum, desejo um Natal feliz e que o novo ano de 2026, seja muito próspero a todos os níveis.
    24 de Dezembro de 2025, 00:47
  • FELISCUNHA: Bom dia pessoal   :34rbzg9:
    22 de Dezembro de 2025, 10:35
  • j.s.: :13arvoresnatalmagiagifs:
    21 de Dezembro de 2025, 19:01
  • j.s.: try65hytr a todos  :smiles_natal: :smiles_natal:
    21 de Dezembro de 2025, 19:01
  • FELISCUNHA: ghyt74  49E09B4F  e bom fim de semana  4tj97u<z
    20 de Dezembro de 2025, 11:20
  • JPratas: try65hytr Pessoal  2dgh8i k7y8j0 classic dgf64y
    19 de Dezembro de 2025, 05:26
  • cereal killa: ghyt74 e boa semana de chuva e frio  RGG45wj erfb57j
    15 de Dezembro de 2025, 11:26
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    14 de Dezembro de 2025, 09:28
  • j.s.: tenham um excelente fim de semana com muitas comprinhas  :13arvoresnatalmagiagifs: sdfgsdg
    13 de Dezembro de 2025, 14:58
  • j.s.: dgtgtr a todos  :smiles_natal:
    13 de Dezembro de 2025, 14:57
  • FELISCUNHA: dgtgtr   49E09B4F  e bom fim de semana   :34rbzg9:
    13 de Dezembro de 2025, 12:29
  • JPratas: try65hytr Pessoal  4tj97u<z 2dgh8i classic bve567o+
    12 de Dezembro de 2025, 05:34

Autor Tópico: Linux Kernel Programming - IPC b/w Userspace and KernelSpace  (Lida 152 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 129146
  • Karma: +0/-0
Linux Kernel Programming - IPC b/w Userspace and KernelSpace
« em: 26 de Outubro de 2020, 11:22 »

Linux Kernel Programming - IPC b/w Userspace and KernelSpace
Video: .mp4 (1280x720, 30 fps(r)) | Audio: aac, 44100 Hz, 2ch | Size: 1.05 GB
Genre: eLearning Video | Duration: 33 lectures (2 hour, 47 mins) | Language: English
 System Programming - Learn Netlink Sockets, Operating Systems, Loadable Kernel Modules, C programming From Scratch

What you'll learn

    Linux Kernel Modules (LKM)
    Netlink Sockets
    Concept of TLVs (Type Length Value)
    User-space and Kernel Space Communication
    Linux Kernel Programming
    Multicast from Kernel Space to User Space
    Event based notification from Kernel Space to User-space

Requirements

    C programming is essential and must
    At-least High level Operating system Knowledge shall be good
    Linux Operating System running as VM

Description

** I am Still Adding Content to this Course** -  Last Updated: 11 Oct 2020

Welcome to the Linux Kernel Programming world! This is the course on Netlink Sockets in which I have covered Netlink Sockets in Detail which is a kernel facility provided to userspace applications to carry out bidirectional IPC with kernel space. In this course, We shall learn how Netlink Sockets can be used to exchange Netlink Messages between Kernel and Userspace.

This Course could also be your first step towards entering the kernel programming world !! This is a good starting point for those who will be writing kernel code for the first time. We shall be writing lots of lots of kernel and userspace code to understand Netlink Based communication. Need-less to say you should be good with C programming.

Table Of Contents :

******************

    Section 1 : Setting Up Development Environment

        Agenda, Pre-requiste, Assumption

        How to do Kernel Programming based Courses ?

        Setting up Development Environment

        Installing Linux Kernel Headers

    Section 2 : Writing Linux Kernel Modules

        What are LKMs ?

        Hellow-World LKM

    Section 3 : Understanding Netlink Sockets

        Communication Mediums in the System

        Sockets - As a unified interface

        Netlink Communication Use-Cases

        The Netlink Project for the Course

    Section 4 : Netlink Communication - Theory before Coding

        Netlink Msg formats

        Netlink Msg types

        Netlink Msg flags                                             

        Netlink Communication Model

        Netlink Sequence Number

        Netlink Port ID                                           

    Section 5 & 6 : Writing a First Netlink Program

        Greet Kernel from Userspace                                         

        Receive Reply from Kernel to Userspace                   

    Section 7 : The Netlink Attributes - The Concept of TLVs

        The Concept of TLVs

        Parsing of TLV Buffer                                 

    Section 6 : Getting Started with Netlink Project

        Problem Statement

        Sending CREATE Netlink Msg to Kernel

        Getting Feedback/Reply from Kernel to Userspace

        Sending UPDATE Netlink Msg to Kernel

        Netlink DELETE Netlink Msg to Kernel

        Netlink READ operation Reading Data from Kernel Space into USer space

    Section 7 : Netlink Group Subscription

        Sending Kernel Data to Multiple Userspace processes

        Multicast Group Subscription

        Multicast                                                                                                                                                                                                        Group unsubscription

    Section 8 : Selective Event-based Notification

        (Un)Subscribing for the event in Kernel Space

        Where to go from here?

Who this course is for:

    Computer Science Students
    Working Professional
    Freelancers
    Kernel Programming and System Programming Enthusiast

Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction