1DEV_REMOVE_PACK(9) Network device support DEV_REMOVE_PACK(9)
2
3
4
6 dev_remove_pack - remove packet handler
7
9 void dev_remove_pack(struct packet_type * pt);
10
12 pt
13 packet type declaration
14
16 Remove a protocol handler that was previously added to the kernel
17 protocol handlers by dev_add_pack. The passed packet_type is removed
18 from the kernel lists and can be freed or reused once this function
19 returns.
20
21 This call sleeps to guarantee that no CPU is looking at the packet type
22 after return.
23
25Kernel Hackers Manual 3.10 June 2019 DEV_REMOVE_PACK(9)