Name

dev_add_offload — register offload handlers

Synopsis

void dev_add_offload (struct packet_offload * po);
 

Arguments

po

protocol offload declaration

Description

Add protocol offload handlers to the networking stack. The passed proto_offload is linked into kernel lists and may not be freed until it has been removed from the kernel lists.

This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new offload handlers (until the next received packet).