SKB_SET_DEV
Section: Network device support (9)
Updated: February 2011
Index
Return to Main Contents
NAME
skb_set_dev - - assign a new device to a buffer
SYNOPSIS
-
void skb_set_dev(struct sk_buff * skb, struct net_device * dev);
ARGUMENTS
skb
-
- buffer for the new device
dev
-
network device
DESCRIPTION
If an skb is owned by a device already, we have to reset all data private to the namespace a device belongs to before assigning it a new device.
COPYRIGHT