neighbour.h (9b974499e44536fd524dfad23f4f8477e6e243ab) | neighbour.h (0c5c9fb55106333e773de8c9dd321fa8240caeb3) |
---|---|
1#ifndef _NET_NEIGHBOUR_H 2#define _NET_NEIGHBOUR_H 3 4#include <linux/neighbour.h> 5 6/* 7 * Generic neighbour manipulation 8 * --- 51 unchanged lines hidden (view full) --- 60 NEIGH_VAR_GC_INTERVAL, 61 NEIGH_VAR_GC_THRESH1, 62 NEIGH_VAR_GC_THRESH2, 63 NEIGH_VAR_GC_THRESH3, 64 NEIGH_VAR_MAX 65}; 66 67struct neigh_parms { | 1#ifndef _NET_NEIGHBOUR_H 2#define _NET_NEIGHBOUR_H 3 4#include <linux/neighbour.h> 5 6/* 7 * Generic neighbour manipulation 8 * --- 51 unchanged lines hidden (view full) --- 60 NEIGH_VAR_GC_INTERVAL, 61 NEIGH_VAR_GC_THRESH1, 62 NEIGH_VAR_GC_THRESH2, 63 NEIGH_VAR_GC_THRESH3, 64 NEIGH_VAR_MAX 65}; 66 67struct neigh_parms { |
68#ifdef CONFIG_NET_NS 69 struct net *net; 70#endif | 68 possible_net_t net; |
71 struct net_device *dev; 72 struct list_head list; 73 int (*neigh_setup)(struct neighbour *); 74 void (*neigh_cleanup)(struct neighbour *); 75 struct neigh_table *tbl; 76 77 void *sysctl_table; 78 --- 83 unchanged lines hidden (view full) --- 162 void (*solicit)(struct neighbour *, struct sk_buff *); 163 void (*error_report)(struct neighbour *, struct sk_buff *); 164 int (*output)(struct neighbour *, struct sk_buff *); 165 int (*connected_output)(struct neighbour *, struct sk_buff *); 166}; 167 168struct pneigh_entry { 169 struct pneigh_entry *next; | 69 struct net_device *dev; 70 struct list_head list; 71 int (*neigh_setup)(struct neighbour *); 72 void (*neigh_cleanup)(struct neighbour *); 73 struct neigh_table *tbl; 74 75 void *sysctl_table; 76 --- 83 unchanged lines hidden (view full) --- 160 void (*solicit)(struct neighbour *, struct sk_buff *); 161 void (*error_report)(struct neighbour *, struct sk_buff *); 162 int (*output)(struct neighbour *, struct sk_buff *); 163 int (*connected_output)(struct neighbour *, struct sk_buff *); 164}; 165 166struct pneigh_entry { 167 struct pneigh_entry *next; |
170#ifdef CONFIG_NET_NS 171 struct net *net; 172#endif | 168 possible_net_t net; |
173 struct net_device *dev; 174 u8 flags; 175 u8 key[0]; 176}; 177 178/* 179 * neighbour table manipulation 180 */ --- 338 unchanged lines hidden --- | 169 struct net_device *dev; 170 u8 flags; 171 u8 key[0]; 172}; 173 174/* 175 * neighbour table manipulation 176 */ --- 338 unchanged lines hidden --- |