table of contents
__DEV_REMOVE_PACK(9) | Network device support | __DEV_REMOVE_PACK(9) |
NAME¶
__dev_remove_pack - remove packet handler
SYNOPSIS¶
void __dev_remove_pack(struct packet_type * pt);
ARGUMENTS¶
pt
packet type declaration
DESCRIPTION¶
Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack. The passed packet_type is removed from the kernel lists and can be freed or reused once this function returns.
The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |