login
Header Space

 
 

__pskb_pull_tail(9)

July 19, 2007 - 1:23am
Submitted by Jeremy on July 19, 2007 - 1:23am.

INDEX

    NAME, SYNOPSIS, ARGUMENTS, DESCRIPTION, COPYRIGHT

    "__PSKB_PULL_TAIL" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Linux Networking"

    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 NULLfR
    (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

speck-geostationary