The TOFFEE Project
The TOFFEE Project

Videos :: Linux Kernel sk_buff data-structure - Episode-11 to Episode-18

Written by: Kiran Kankipati - Published: 26-Mar-2017

 

Watch Linux Kernel sk_buff data-structure - Episode-1 to Episode-10 Videos HERE.


Download/watch this video - 201 Demo :: Fragmented skbuff - Linux Kernel skbuff data-structure - part18
[+] via HTTP - CDN - SAMP
[+] via Google Drive
[+] watch in dailymotion

You can check fragmented packets as suggested in the video by tapping RX path in net/core/dev.c :: __netif_receive_skb_core() API as shown below:

static int __netif_receive_skb_core(struct sk_buff *skb, bool pfmemalloc)
{

...

//thelinuxchannel - start
	if(skb_shinfo(skb)->nr_frags) {  printk("skb - is fragmented !\n"); }
//thelinuxchannel - end

...

}

For more details refer Linux Source:
http://lxr.free-electrons.com/source/include/linux/netfilter.h#L276
http://lxr.free-electrons.com/source/net/netfilter/core.c#L339
http://lxr.free-electrons.com/source/net/core/dev.c#L4053


Download/watch this video - 181 skbuff kfree_skb API and skb packet drop API return code - Linux Kernel skbuff data-structure - part17
[+] via HTTP - CDN - SAMP
[+] via Google Drive
[+] watch in dailymotion

Download/watch this video - 176 skbuff skb->next, skb->prev linked-list experiments - Linux Kernel skbuff data-structure - part16
[+] via HTTP - CDN - SAMP
[+] via Google Drive
[+] watch in dailymotion
Using skbuff APIs - Linux Kernel skbuff data-structure - part15
skb_clone(), skb_copy() - Linux Kernel skbuff data-structure - part14
Linux Kernel skbuff data-structure - part13 - Parsing skb ip-packet
Linux Kernel skbuff data-structure - part12 - skb_headroom() skb_tailroom()
Linux Kernel skbuff data-structure - part11 - skb_put()


Suggested Topics:

Linux Kernel programming
Linux Kernel /proc Interface
22-Feb-2017
Linux Kernel Programming
05-Jul-2016
Linux Kernel sk_buff data-structure - Episode-11 to Episode-18
26-Mar-2017
Linux Kernel sk_buff data-structure - Episode-1 to Episode-10
05-Jul-2016
Linux Kernel net_device data-structure
05-Jul-2016
Linux Kernel dst_entry data-structure
04-May-2017
Linux Kernel struct iphdr data-structure
05-Jul-2016
Linux Kernel struct tcphdr data-structure
05-Jul-2016
Linux Kernel struct udphdr data-structure
05-Jul-2016
Linux Kernel Networking Sub-system
05-Jul-2016
Linux Kernel Compilation
05-Jul-2016
Linux Kernel Architecture - Generic
13-May-2017



The TOFFEE Project - v5.28 :: Updated: 06-Sep-2017 :: © 2017 :: Author: Kiran Kankipati