__skb_gso_segment(9)

__skb_gso_segment9

Perform segmentation on skb.

Usage

struct sk_buff * __skb_gso_segment(struct sk_buff * skb, netdev_features_t features, bool tx_path);

Arguments

skb

buffer to segment

features

features for the output path (see dev->features)

tx_path

whether it is called in TX path

Overview

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.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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