---
name: "skb_segment"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_segment"
---

# skb\_segment(9)

Perform protocol segmentation on skb.

## NAME

skb\_segment - Perform protocol segmentation on skb.

## SYNOPSIS

**struct sk\_buff \* skb\_segment(struct sk\_buff \*** *head\_skb***, netdev\_features\_t** *features***);**

## ARGUMENTS

*head\_skb*

buffer to segment

*features*

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

## DESCRIPTION

This function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR\_PTR(err).

## COPYRIGHT
