pskb_trim_rcsum

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

pskb_trim_rcsum - trim received skb and update checksum

SYNOPSIS

int pskb_trim_rcsum(struct sk_buff * skb, unsigned int len);

ARGUMENTS

skb

buffer to trim

len

new length

DESCRIPTION

This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation.