Ejemplo n.º 1
0
static int __init snap_init(void)
{
	snap_dl=register_8022_client(0xAA, snap_rcv);
	if(snap_dl==NULL)
		printk("SNAP - unable to register with 802.2\n");
	return 0;
}
Ejemplo n.º 2
0
__initfunc(void snap_proto_init(struct net_proto *pro))
{
	snap_dl=register_8022_client(0xAA, snap_rcv);
	if(snap_dl==NULL)
		printk("SNAP - unable to register with 802.2\n");
}