|
|
|
|
24
|
static int legacy_transmit ( struct net_device *netdev, struct pk_buff *pkb ) {
|
24
|
static int legacy_transmit ( struct net_device *netdev, struct pk_buff *pkb ) {
|
25
|
struct nic *nic = netdev->priv;
|
25
|
struct nic *nic = netdev->priv;
|
26
|
struct ethhdr *ethhdr = pkb->data;
|
26
|
struct ethhdr *ethhdr = pkb->data;
|
27
|
- int pad_len;
|
|
|
28
|
|
27
|
|
29
|
DBG ( "Transmitting %d bytes\n", pkb_len ( pkb ) );
|
28
|
DBG ( "Transmitting %d bytes\n", pkb_len ( pkb ) );
|
30
|
pkb_pad ( pkb, ETH_ZLEN );
|
29
|
pkb_pad ( pkb, ETH_ZLEN );
|