1SKB_APPEND_DATATO_FR(9) Linux Networking SKB_APPEND_DATATO_FR(9)
2
3
4
6 skb_append_datato_frags - append the user data to a skb
7
9 int skb_append_datato_frags(struct sock * sk, struct sk_buff * skb,
10 int (*getfrag) (void *from, char *to, int offset, int len, int odd, struct sk_buff *skb),
11 void * from, int length);
12
14 sk
15 sock structure
16
17 skb
18 skb structure to be appened with user data.
19
20 getfrag
21 call back function to be used for getting the user data
22
23 from
24 pointer to user message iov
25
26 length
27 length of the iov message
28
30 This procedure append the user data in the fragment part of the skb if
31 any page alloc fails user this procedure returns -ENOMEM
32
34Kernel Hackers Manual 2.6. June 2019 SKB_APPEND_DATATO_FR(9)