Linux Kernel Network Programming – struct iphdr data-structure – ip_send_check() API Example and Sample Demo
Here is my sample source-code discussed in the video: Its makefile:
a Linux and Tech Youtube Channel for advance Linux users, systems and network software programmers and tech enthusiasts
Here is my sample source-code discussed in the video: Its makefile:
Refer: Kernel Doc printk-formats.txt ↗ Here is the screenshot of my Sample Example Code discussed in the video above:
Refer:struct iphdr data-structure ↗sk_buff to iphdr APIs ↗Definitions for the IP module ↗ And here is the copy paste of struct iphdr data-structure (/include/uapi/linux/ip.h) from the Kernel-source version 4.13 for…
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…