1DEV_ADD_PACK(9) Network device support DEV_ADD_PACK(9)
2
3
4
6 dev_add_pack - add packet handler
7
9 void dev_add_pack(struct packet_type * pt);
10
12 pt
13 packet type declaration
14
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 2.6. November 2011 DEV_ADD_PACK(9)