Name

skb_segment — Perform protocol segmentation on skb.

Synopsis

struct sk_buff * skb_segment (struct sk_buff *  skb,
 int  features);

Arguments

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).