1DEV_ADD_PACK(9)             Network device support             DEV_ADD_PACK(9)
2
3
4

NAME

6       dev_add_pack - add packet handler
7

SYNOPSIS

9       void dev_add_pack(struct packet_type * pt);
10

ARGUMENTS

12       pt
13           packet type declaration
14

DESCRIPTION

16       Add a protocol handler to the networking stack. The passed packet_type
17       is linked into kernel lists and may not be freed until it has been
18       removed from the kernel lists.
19
20       This call does not sleep therefore it can not guarantee all CPU's that
21       are in middle of receiving packets will see the new packet type (until
22       the next received packet).
23
25Kernel Hackers Manual 3.10         June 2019                   DEV_ADD_PACK(9)
Impressum