Home

Welcome to The Linux Channel – a Linux and Tech Youtube Channel for advance Linux users, systems and network software programmers and tech enthusiasts.

Join a course ↗


Linux Kernel Network Programming – struct ip_options – Introduction, code walk, Example #education #linux #training #students #datastructures #coding #linuxkernel #networking
A typical IPv4 header is fixed in length. However there is a provision to add extra dynamically sized IP Options header used for Network testing and debugging. Although it is not preferred or encouraged to add IP options header as it increases the size of the overall IPv4 header thus increasing the overhead by reducing …
Network_data_flow_through_kernel API Map
Network_data_flow_through_kernel – here is a detailed IPv4 Network API and data-structure API Map originally published in Linux Foundation Wiki
Linux Kernel Network Programming – dst_entry data-structure – Introduction and code-walk
dst_entry() is one of the important Linux Kernel Networking subsystem data-structure which is used while navigating the packet flow within the IPv4 stack. It contains function pointers one for input and one for output.
Linux Kernel Programming – Kernel Interfaces #kernel #linux #coding #kirankankipati #training
As I discussed in various episodes and articles in the past there are various ways via which you can communicate from Kernel space to User space and vice-versa. Some of the most popular ways are /procfs, /sysfs, ioctl(), netlink sockets, character driver and so on. Each have their own distinctive advantages and limitations.
Linux Kernel Driver Device Trees #programming #linux #kernel
The Linux kernel is the backbone of the Linux operating system. A device tree is a hierarchical tree structure that describes the various devices that are present in a system, including their properties and relationships to one another. The device tree is used by the Linux kernel to identify and initialize the different devices on …
Linux Kernel Network stack and architecture
Detailed scheme of the forwarding operations in 2.6 kernel NAPI – www.researchgate.net/profile/Roberto_Bruschi/publication:Figure 4. Detailed scheme of the forwarding operations in 2.6 kernel NAPI. Image courtesy/source HERE The linux networking architecture – Hugo lu, software engineer at Terawins slideshow:Linux Kernel Network subsystem architecture Image courtesy/source HERE The linux networking architecture – Hugo lu, software engineer at …
Research Socket overhead in Linux vs Message Queues and benchmarking #ipc #benchmarks
The objective of this research is to assess the system performance overheads of user-space sockets (in this case UDP sockets) vs Message queues. So that this can be used as a basis to access a server/device potential as a Linux based network appliance (can be a Firewall device, VPN, WAN Optimization, and so on). Kindly …
Code with Kiran – Live Coding – Linux Kernel Programming – Kernel Libraries #coding #demo #kernel
In the case of user-space programs, we use third-party libraries (explicit or implicit), but that cannot happen when you code in kernel space. The libraries share the same address space and they are part of Linux Kernel mainline source. Hence it is important to understand the significance of using such library as demonstrated in my …
Compiling a C Compiler with a C Compilter – Compile gcc with gcc
The fundamental aspect of a programming language compiler is to translate code written from language to other. But most commonly compilers will compile code written in high-level human friendly language such as C, C++, Java, etc. to native CPU architecture specific (machine understandable) binary code which is nothing but sequence of CPU instructions. Hence if …
Circular Ring Buffers Live Visual Demo – Linux Kernel – Device Drivers – Network Stack
In the past I discussed in depth about Architecture and big-picture of Circular Ring buffers and its significance which you can go through over HERE. Here I did a live graphical visual demonstration of the operation of circular ring buffers. So here is my multi-part YouTube video episodes where you can see live visual demonstration …