inetpeer.c (0742fd53a3774781255bd1e471e7aa2e4a82d5f7) | inetpeer.c (20380731bc2897f2952ae055420972ded4cd786e) |
---|---|
1/* 2 * INETPEER - A storage for permanent information about peers 3 * 4 * This source is covered by the GNU GPL, the same as all kernel sources. 5 * 6 * Version: $Id: inetpeer.c,v 1.7 2001/09/20 21:22:50 davem Exp $ 7 * 8 * Authors: Andrey V. Savochkin <saw@msu.ru> --- 6 unchanged lines hidden (view full) --- 15#include <linux/spinlock.h> 16#include <linux/random.h> 17#include <linux/sched.h> 18#include <linux/timer.h> 19#include <linux/time.h> 20#include <linux/kernel.h> 21#include <linux/mm.h> 22#include <linux/net.h> | 1/* 2 * INETPEER - A storage for permanent information about peers 3 * 4 * This source is covered by the GNU GPL, the same as all kernel sources. 5 * 6 * Version: $Id: inetpeer.c,v 1.7 2001/09/20 21:22:50 davem Exp $ 7 * 8 * Authors: Andrey V. Savochkin <saw@msu.ru> --- 6 unchanged lines hidden (view full) --- 15#include <linux/spinlock.h> 16#include <linux/random.h> 17#include <linux/sched.h> 18#include <linux/timer.h> 19#include <linux/time.h> 20#include <linux/kernel.h> 21#include <linux/mm.h> 22#include <linux/net.h> |
23#include <net/ip.h> |
|
23#include <net/inetpeer.h> 24 25/* 26 * Theory of operations. 27 * We keep one entry for each peer IP address. The nodes contains long-living 28 * information about the peer which doesn't depend on routes. 29 * At this moment this information consists only of ID field for the next 30 * outgoing IP packet. This field is incremented with each packet as encoded --- 431 unchanged lines hidden --- | 24#include <net/inetpeer.h> 25 26/* 27 * Theory of operations. 28 * We keep one entry for each peer IP address. The nodes contains long-living 29 * information about the peer which doesn't depend on routes. 30 * At this moment this information consists only of ID field for the next 31 * outgoing IP packet. This field is incremented with each packet as encoded --- 431 unchanged lines hidden --- |