1__SKB_GSO_SEGMENT(9) Network device support __SKB_GSO_SEGMENT(9)
2
3
4
6 __skb_gso_segment - Perform segmentation on skb.
7
9 struct sk_buff * __skb_gso_segment(struct sk_buff * skb,
10 netdev_features_t features,
11 bool tx_path);
12
14 skb
15 buffer to segment
16
17 features
18 features for the output path (see dev->features)
19
20 tx_path
21 whether it is called in TX path
22
24 This function segments the given skb and returns a list of segments.
25
26 It may return NULL if the skb requires no segmentation. This is only
27 possible when GSO is used for verifying header integrity.
28
29 Segmentation preserves SKB_SGO_CB_OFFSET bytes of previous skb cb.
30
32Kernel Hackers Manual 3.10 June 2019 __SKB_GSO_SEGMENT(9)