skb_append_datato_frags(9)

skb_append_datato_frags9

Append the user data to a skb

Usage

int skb_append_datato_frags(struct sock * sk, struct sk_buff * skb, int (*getfrag) (void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void * from, int length);

Arguments

sk

sock structure

skb

skb structure to be appended with user data.

getfrag

call back function to be used for getting the user data

from

pointer to user message iov

length

length of the iov message

Overview

This procedure append the user data in the fragment part of the skb if any page alloc fails user this procedure returns -ENOMEM

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.