Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

__pskb_pull_tail(9) [suse man page]

__PSKB_PULL_TAIL(9)						 Linux Networking					       __PSKB_PULL_TAIL(9)

NAME
__pskb_pull_tail - advance tail of skb header SYNOPSIS
unsigned char * __pskb_pull_tail(struct sk_buff * skb, int delta); ARGUMENTS
skb buffer to reallocate delta number of bytes to advance tail DESCRIPTION
The function makes a sense only on a fragmented sk_buff, it expands header moving its tail forward and copying necessary data from fragmented part. sk_buff MUST have reference count of 1. Returns NULL (and sk_buff does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function. COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 __PSKB_PULL_TAIL(9)

Check Out this Related Man Page

WIMAX_MSG_ALLOC(9)						 Linux Networking						WIMAX_MSG_ALLOC(9)

NAME
wimax_msg_alloc - Create a new skb for sending a message to userspace SYNOPSIS
struct sk_buff * wimax_msg_alloc(struct wimax_dev * wimax_dev, const char * pipe_name, const void * msg, size_t size, gfp_t gfp_flags); ARGUMENTS
wimax_dev WiMAX device descriptor pipe_name "named pipe" the message will be sent to msg pointer to the message data to send size size of the message to send (in bytes), including the header. gfp_flags flags for memory allocation. RETURNS
0 if ok, negative errno code on error DESCRIPTION
Allocates an skb that will contain the message to send to user space over the messaging pipe and initializes it, copying the payload. Once this call is done, you can deliver it with wimax_msg_send. IMPORTANT
Don't use skb_push/skb_pull/skb_reserve on the skb, as wimax_msg_send depends on skb->data being placed at the beginning of the user message. Unlike other WiMAX stack calls, this call can be used way early, even before wimax_dev_add is called, as long as the wimax_dev->net_dev pointer is set to point to a proper net_dev. This is so that drivers can use it early in case they need to send stuff around or communicate with user space. COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 WIMAX_MSG_ALLOC(9)
Man Page