.. | .. |
---|
1260 | 1260 | /** |
---|
1261 | 1261 | * Start transmission of a packet. |
---|
1262 | 1262 | * Called from generic network device layer. |
---|
1263 | | - * |
---|
1264 | | - * @param skb Pointer to buffer containing the packet. |
---|
1265 | | - * @param dev Pointer to interface struct. |
---|
1266 | | - * |
---|
1267 | | - * @return 0 if packet consumed, !0 if packet rejected. |
---|
1268 | | - * Note: If we return !0, then the packet is free'd by |
---|
1269 | | - * the generic network layer. |
---|
1270 | 1263 | */ |
---|
1271 | | -static int netiucv_tx(struct sk_buff *skb, struct net_device *dev) |
---|
| 1264 | +static netdev_tx_t netiucv_tx(struct sk_buff *skb, struct net_device *dev) |
---|
1272 | 1265 | { |
---|
1273 | 1266 | struct netiucv_priv *privptr = netdev_priv(dev); |
---|
1274 | 1267 | int rc; |
---|