---
name: "skb_gso_mac_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_mac_seglen"
---

# skb\_gso\_mac\_seglen(9)

Return length of individual segments of a gso packet

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

*skb*

GSO skb

## DESCRIPTION

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

## COPYRIGHT
