skb_gso_transport_seglen
Prev | Socket Buffer Functions | Next

## Name

skb_gso_transport_seglen — Return length of individual segments of a gso packet

## Synopsis

`unsigned int skb_gso_transport_seglen (` | const struct sk_buff * skb`)`;

## Arguments

`skb`

  GSO skb

## Description

skb_gso_transport_seglen is used to determine the real size of the individual segments, including Layer4 headers (TCP/UDP).

The MAC/L2 or network (IP, IPv6) headers are not accounted for.

Prev | Up | Next
skb_scrub_packet | Home | skb_gso_validate_mac_len