table of contents
other versions
SKB_APPEND_DATATO_FR(9) | Linux Networking | SKB_APPEND_DATATO_FR(9) |
NAME¶
skb_append_datato_frags - append the user data to a skbSYNOPSIS¶
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¶
struct sock * sksock structure
struct sk_buff * skb
skb structure to be appended with user data.
int (*)(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) getfrag
call back function to be used for getting the user
data
void * from
pointer to user message iov
int length
length of the iov message
DESCRIPTION¶
This procedure append the user data in the fragment part of the skb if any page alloc fails user this procedure returns -ENOMEMCOPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |