Linux Kernel Network Programming – struct udphdr data-structure – Sample Example Code
Refer:Kernel Doc printk-formats.txt ↗ Here is the screenshot of my Sample Example Code discussed in the video above:
a Linux and Tech Youtube Channel for advance Linux users, systems and network software programmers and tech enthusiasts
Refer:Kernel Doc printk-formats.txt ↗ Here is the screenshot of my Sample Example Code discussed in the video above:
Refer:Linux Kernel struct udphdr data-structure ↗sk_buff to udphdr APIs ↗Definitions for the UDP module ↗ And here is the copy paste of struct udp data-structure (/include/uapi/linux/udp.h) from the Kernel-source version…
https://youtu.be/3holOpVOcN4
Refer:Linux Kernel main TCP congestion control support implementation /net/ipv4/tcp_cong.c ↗ APIs:tcp_register_congestion_control(), tcp_unregister_congestion_control() ↗tcp_ca_find() ↗tcp_set_congestion_control() ↗tcp_init_congestion_control(), tcp_reinit_congestion_control() ↗tcp_get_allowed_congestion_control(), tcp_set_allowed_congestion_control() ↗tcp_set_default_congestion_control() ↗tcp_get_available_congestion_control() ↗ Data-structures:struct tcp_congestion_ops data-structure ↗static LIST_HEAD(tcp_cong_list); – Linked List ↗…
Refer:Wiki:CUBIC TCP ↗BIC TCP ↗LFN: long fat networks ↗Bandwidth-delay product ↗ Linux Kernel Source:TCP CUBIC: Binary Increase Congestion control for TCP v2.3 ↗static struct tcp_congestion_ops cubictcp ↗static int __init cubictcp_register(void)…
Refer:TCP congestion control – Wiki ↗Linux Kernel – IPv4 Stack /net/ipv4 ↗TCP CUBIC: Binary Increase Congestion control for TCP – /net/ipv4/tcp_cubic.c ↗TCP-HYBLA Congestion control algorithm – /net/ipv4/tcp_hybla.c ↗TCP Illinois congestion…
Refer:Linux Kernel Source:struct task_struct data-structure ↗struct mm_struct data-structure ↗Task state bitmask flags – tsk->state ↗ Here is the struct mm_struct data-structure data-structure (/include/linux/mm_types.h) from the Kernel-source version 4.14 for quick…
Refer:Linux Kernel Source:struct task_struct data-structure ↗Task state bitmask flags – tsk->state ↗struct task_struct instance example1: TASK_RUNNING, TASK_INTERRUPTIBLE, TASK_UNINTERRUPTIBLE, TASK_STOPPED ↗struct task_struct instance example2: struct task_struct *p – p->state == TASK_RUNNING…
net-tools is a popular Linux Open-Source package includes the important user-space tools for controlling the network subsystem of the Linux kernel. Which includes arp, rarp, ifconfig, ipmaddr, mii-tool, netstat, rarp,…
Refer my Google Drive export diagram of the net-tools :: ifconfig command implementation architecture: