Searched refs:last_unit (Results 1 – 1 of 1) sorted by relevance
143 unsigned int padded_size, last_unit = skb->len; in calculate_skb_padding() local146 return ALIGN(last_unit, MESSAGE_PADDING_MULTIPLE) - last_unit; in calculate_skb_padding()154 if (unlikely(last_unit > PACKET_CB(skb)->mtu)) in calculate_skb_padding()155 last_unit %= PACKET_CB(skb)->mtu; in calculate_skb_padding()158 ALIGN(last_unit, MESSAGE_PADDING_MULTIPLE)); in calculate_skb_padding()159 return padded_size - last_unit; in calculate_skb_padding()