The previous article (here) discussed a few of the commonly used Socket Buff (SKB) APIs to modify the socket buffer allocated. The below APIs are also used to access different regions of the buffer or to act on the buffer in a desired manner and more widely seen. There are quite a few APIs that […]
Socket Buffer(SKB) Manipulation APIs
The SKB structure buffer for data is manipulated using various support APIs. Some of the APIs are described below with a pictorial representation of how the operation takes place. A few other SKB APIs
Linux Socket Buffer (SKB)
The socket buffer is the most commonly heard data structure in the Linux networking code. It forms the basis of how data packets are handled in the Linux network stack. The data structure can be viewed in the header file – skbuff.h. The structure – struct sk_buff contains numerous parameters. We look at some of […]