aarp.c (ebf8889bd1fe3615991ff4494635d237280652a2) aarp.c (b24b8a247ff65c01b252025926fe564209fae4fc)
1/*
2 * AARP: An implementation of the AppleTalk AARP protocol for
3 * Ethernet 'ELAP'.
4 *
5 * Alan Cox <Alan.Cox@linux.org>
6 *
7 * This doesn't fit cleanly with the IP arp. Potentially we can use
8 * the generic neighbour discovery code to clean this up.

--- 860 unchanged lines hidden (view full) ---

869
870static unsigned char aarp_snap_id[] = { 0x00, 0x00, 0x00, 0x80, 0xF3 };
871
872void __init aarp_proto_init(void)
873{
874 aarp_dl = register_snap_client(aarp_snap_id, aarp_rcv);
875 if (!aarp_dl)
876 printk(KERN_CRIT "Unable to register AARP with SNAP.\n");
1/*
2 * AARP: An implementation of the AppleTalk AARP protocol for
3 * Ethernet 'ELAP'.
4 *
5 * Alan Cox <Alan.Cox@linux.org>
6 *
7 * This doesn't fit cleanly with the IP arp. Potentially we can use
8 * the generic neighbour discovery code to clean this up.

--- 860 unchanged lines hidden (view full) ---

869
870static unsigned char aarp_snap_id[] = { 0x00, 0x00, 0x00, 0x80, 0xF3 };
871
872void __init aarp_proto_init(void)
873{
874 aarp_dl = register_snap_client(aarp_snap_id, aarp_rcv);
875 if (!aarp_dl)
876 printk(KERN_CRIT "Unable to register AARP with SNAP.\n");
877 init_timer(&aarp_timer);
878 aarp_timer.function = aarp_expire_timeout;
879 aarp_timer.data = 0;
877 setup_timer(&aarp_timer, aarp_expire_timeout, 0);
880 aarp_timer.expires = jiffies + sysctl_aarp_expiry_time;
881 add_timer(&aarp_timer);
882 register_netdevice_notifier(&aarp_notifier);
883}
884
885/* Remove the AARP entries associated with a device. */
886void aarp_device_down(struct net_device *dev)
887{

--- 186 unchanged lines hidden ---
878 aarp_timer.expires = jiffies + sysctl_aarp_expiry_time;
879 add_timer(&aarp_timer);
880 register_netdevice_notifier(&aarp_notifier);
881}
882
883/* Remove the AARP entries associated with a device. */
884void aarp_device_down(struct net_device *dev)
885{

--- 186 unchanged lines hidden ---