table of contents
other versions
__SKB_GSO_SEGMENT(9) | Network device support | __SKB_GSO_SEGMENT(9) |
NAME¶
__skb_gso_segment - Perform segmentation on skb.SYNOPSIS¶
struct sk_buff * __skb_gso_segment(struct sk_buff * skb, netdev_features_t features, bool tx_path);
ARGUMENTS¶
struct sk_buff * skbbuffer to segment
netdev_features_t features
features for the output path (see dev->features)
bool tx_path
whether it is called in TX path
DESCRIPTION¶
This function segments the given skb and returns a list of segments.It may return NULL if the skb requires no segmentation. This is only possible when GSO is used for verifying header integrity.
Segmentation preserves SKB_SGO_CB_OFFSET bytes of previous skb cb.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |