---
name: "skb_gso_network_seglen"
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_gso_network_seglen"
---

# skb\_gso\_network\_seglen(9)

Return length of individual segments of a gso packet

## NAME

skb\_gso\_network\_seglen - Return length of individual segments of a gso packet

## SYNOPSIS

**unsigned int skb\_gso\_network\_seglen(const struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

GSO skb

## DESCRIPTION

skb\_gso\_network\_seglen is used to determine the real size of the individual segments, including Layer3 (IP, IPv6) and L4 headers (TCP/UDP).

The MAC/L2 header is not accounted for.

## COPYRIGHT
