1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* net/atm/atmarp.h - RFC1577 ATM ARP */ 3 4 /* Written 1995-2000 by Werner Almesberger, EP 5 6 7 #ifndef _ATMCLIP_H 8 #define _ATMCLIP_H 9 10 #include <linux/netdevice.h> 11 #include <linux/atm.h> 12 #include <linux/atmdev.h> 13 #include <linux/atmarp.h> 14 #include <linux/spinlock.h> 15 #include <net/neighbour.h> 16 17 18 #define CLIP_VCC(vcc) ((struct clip_vcc *) ((v 19 20 struct sk_buff; 21 22 struct clip_vcc { 23 struct atm_vcc *vcc; /* VCC 24 struct atmarp_entry *entry; /* ATM 25 isn 26 int xoff; /* 1 i 27 unsigned char encap; /* 0: 28 unsigned long last_use; /* las 29 unsigned long idle_timeout; /* kee 30 void (*old_push)(struct atm_vcc *vcc,s 31 /* kee 32 void (*old_pop)(struct atm_vcc *vcc,st 33 /* kee 34 struct clip_vcc *next; /* nex 35 }; 36 37 38 struct atmarp_entry { 39 struct clip_vcc *vccs; /* act 40 pen 41 unsigned long expires; /* ent 42 struct neighbour *neigh; /* nei 43 }; 44 45 #define PRIV(dev) ((struct clip_priv *) netdev 46 47 struct clip_priv { 48 int number; /* for 49 spinlock_t xoff_lock; /* ens 50 struct net_device *next; /* nex 51 }; 52 53 #endif 54
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.