The Linux Channel

Videos :: Linux Kernel struct udphdr data-structure

Written by: Kiran Kankipati - Published: 05-Jul-2016

(API) Watch Video: Linux Kernel struct udphdr data-structure - part2 - Sample Example Code
Linux Kernel struct udphdr data-structure - part2 - Sample Example Code
* Click the image to watch this video on Youtube ↗

Refer:
Kernel Doc printk-formats.txt - http://elixir.free-electrons.com/linux/latest/ ...

Here is the screenshot of my Sample Example Code discussed in the video above:
Screenshot

(API) Watch Video: Linux Kernel struct udphdr data-structure - part1 - code walk, Example
Linux Kernel struct udphdr data-structure - part1 - code walk, Example
* Click the image to watch this video on Youtube ↗

Refer:
struct udphdr data-structure - http://elixir.free-electrons.com/linux/latest/ ...
sk_buff to udphdr APIs - http://elixir.free-electrons.com/linux/latest/ ...
Definitions for the UDP module - http://elixir.free-electrons.com/linux/latest/ ...

And here is the copy paste of struct udp data-structure (/include/uapi/linux/udp.h) from the Kernel-source version 4.13 for quick reference:

struct udphdr {
	__be16	source;
	__be16	dest;
	__be16	len;
	__sum16	check;
};



Suggested Topics:


Linux Kernel programming :: Video Episodes
 Linux Kernel sk_buff data-structure - Episode-1 to Episode-10 ↗
05-Jul-2016


 Linux Kernel Compilation ↗
05-Jul-2016


 Linux Kernel /proc Interface ↗
22-Feb-2017


 Linux Kernel Network Programming - struct net - struct netns_ipv4 - /proc/sys/net/ipv4 ↗
21-May-2018


 Linux Kernel Programming - Device Drivers ↗
30-Mar-2018


 Linux ioctl() API interface ↗
11-Oct-2017


 Linux Kernel struct ethhdr data-structure ↗
02-Nov-2016


 Linux Kernel dst_entry data-structure ↗
04-May-2017


 Linux Kernel struct tcphdr data-structure ↗
05-Jul-2016


 Linux Kernel Programming ↗
05-Jul-2016


 Linux Kernel Networking Sub-system ↗
05-Jul-2016


 Linux Kernel TCP Congestion Control Algorithms ↗
20-Nov-2017


 Linux Kernel struct udphdr data-structure ↗
05-Jul-2016


 Linux Kernel Architecture - Generic ↗
13-May-2017


 Linux Kernel sk_buff data-structure - Episode-11 to Episode-18 ↗
26-Mar-2017


 Linux Kernel FileSystems Subsystem ↗
16-Dec-2017


 Linux Kernel struct iphdr data-structure ↗
05-Jul-2016


 Linux Kernel struct socket and struct sock data-structure ↗
31-Oct-2017


 Linux Operating System - User-space Processes ↗
22-Jan-2018


 Linux Kernel - Containers and Namespaces ↗
11-Feb-2018


 Linux Kernel Network Programming ↗
05-Nov-2017


 Linux Kernel net_device data-structure ↗
05-Jul-2016


 

Join The Linux Channel :: Facebook Group


Join a course:

💎 Linux, Kernel, Networking and Device Drivers: PDF Brochure
💎 PhD or equivalent (or Post Doctoral) looking for assistance: Details
💎 ... or unlimited life-time mentorship: Details


💗 Help shape the future: Sponsor/Donate


Recommended Topics:
Western Digital WDS240G2G0A 240GB SATA III 6GB/s 2.5 7mm Internal SSD (Green)
Buy at Amazon Buy at Amazon

Featured Video:
(API) Watch Video: 0x16c Quagga Routing Suite - OSPF, RIP, RIPng BGP4 | GNU Zebra fork | ZebOS - Ep1 Intro, Codewalk
0x16c Quagga Routing Suite - OSPF, RIP, RIPng BGP4 | GNU Zebra fork | ZebOS - Ep1 Intro, Codewalk
* Click the image to watch this video on Youtube ↗


Trending Video:
(API) Watch Video: Online Course - Networking Protocols - Episode5 - Protocol Headers and Fields
Online Course - Networking Protocols - Episode5 - Protocol Headers and Fields
* Click the image to watch this video on Youtube ↗

TUTORIALS :: Research Socket overhead in Linux vs Message Queues and benchmarking:


Linux ioctl() API interface:


Research :: Content Delivery Networks (CDN):
CDN Networks


Recommended Video:
(API) Watch Video: 251 Linux ioctl( ) API interface - Introduction - Episode 1
251 Linux ioctl( )  API interface - Introduction -  Episode 1
* Click the image to watch this video on Youtube ↗