Linux Kernel Network Programming – struct tcphdr 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:struct tcphdr data-structure ↗sk_buff to tcphdr APIs ↗Definitions for the TCP module ↗ And here is the copy paste of struct tcp data-structure (/include/uapi/linux/tcp.h) from the Kernel-source version 4.13 for…
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)…