Linux Kernel Network Programming – struct sk_buff data-structure – skb_put() API
Refer:skb_put() – add data to a buffer ↗ Here is the copy paste of skb_put() API (/net/core/skbuff.c) from the Kernel-source version 6.5.8 for quick reference:
a Linux and Tech Youtube Channel for advance Linux users, systems and network software programmers and tech enthusiasts
Refer:skb_put() – add data to a buffer ↗ Here is the copy paste of skb_put() API (/net/core/skbuff.c) from the Kernel-source version 6.5.8 for quick reference:
Refer:skb_pull() – remove data from the start of a buffer ↗ Here is the copy paste of skb_pull() API (/net/core/skbuff.c) from the Kernel-source version 6.5.8 for quick reference: Which points…
Refer:skb_trim() – remove end from a buffer ↗ And here is the copy paste of skb_trim() API (/net/core/skbuff.c) from the Kernel-source version 6.5.8 for quick reference: Which points to __skb_trim()…
Refer:skb_push() – add data to the start of a buffer ↗ And here is the copy paste of skb_push() API (/net/core/skbuff.c) from the Kernel-source version 6.5.8 for quick reference:
https://youtu.be/JnSLd2B1d9E
https://youtu.be/zNg9PQ0xhAU
https://youtu.be/ZHeznKfE8CE
https://youtu.be/-4gWnSQ6Ybo
https://youtu.be/sWsKh1FeA0k
Refer:struct sk_buff data-structure ↗struct sk_buff APIs ↗Linux Kernel Networking subsystem ↗ And here is the copy paste of struct sk_buff data-structure (/include/linux/skbuff.h) from the Kernel-source version 4.13 for quick reference: