1SKB_SET_DEV(9) Network device support SKB_SET_DEV(9)
23
4
NAME
6skb_set_dev - - assign a new device to a buffer
7
SYNOPSIS
9void skb_set_dev(struct sk_buff * skb, struct net_device * dev);
10
ARGUMENTS
12skb
13buffer for the new device
1415
dev
16network device
17
DESCRIPTION
19If an skb is owned by a device already, we have to reset all data
20private to the namespace a device belongs to before assigning it a new
21device.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. November 2011 SKB_SET_DEV(9)