skb_gso_validate_mac_len
Prev | Socket Buffer Functions | Next

## Name

skb_gso_validate_mac_len — Will a split GSO skb fit in a given length?

## Synopsis

`bool skb_gso_validate_mac_len (` | const struct sk_buff * skb,
| unsigned int len`)`;

## Arguments

`skb`

  GSO skb

`len`

  length to validate against

## Description

skb_gso_validate_mac_len validates if a given skb will fit a wanted length once split, including L2, L3 and L4 headers and the payload.

Prev | Up | Next
skb_gso_transport_seglen | Home | alloc_skb_with_frags