Lines Matching refs:padlen
1044 int padlen; in genelink_tx_fixup() local
1052 padlen = ((skb->len + (4 + 4*1)) % 64) ? 0 : 1; in genelink_tx_fixup()
1055 && ((headroom + tailroom) >= (padlen + (4 + 4*1)))) { in genelink_tx_fixup()
1056 if ((headroom < (4 + 4*1)) || (tailroom < padlen)) { in genelink_tx_fixup()
1063 skb2 = skb_copy_expand (skb, (4 + 4*1) , padlen, flags); in genelink_tx_fixup()
1505 int padlen; in net1080_tx_fixup() local
1508 padlen = ((skb->len + sizeof (struct nc_header) in net1080_tx_fixup()
1514 if ((padlen + sizeof (struct nc_trailer)) <= tailroom in net1080_tx_fixup()
1518 if ((sizeof (struct nc_header) + padlen in net1080_tx_fixup()
1530 sizeof (struct nc_trailer) + padlen, in net1080_tx_fixup()
1667 int padlen; in zaurus_tx_fixup() local
1670 padlen = 2; in zaurus_tx_fixup()
1673 if ((padlen + 4) <= tailroom) in zaurus_tx_fixup()
1676 skb2 = skb_copy_expand (skb, 0, 4 + padlen, flags); in zaurus_tx_fixup()