/* net/atm/atmarp.h - RFC1577 ATM ARP */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #ifndef _ATMCLIP_H #define _ATMCLIP_H #include <linux/netdevice.h> #include <linux/atm.h> #include <linux/atmdev.h> #include <linux/atmarp.h> #include <linux/spinlock.h> #include <net/neighbour.h> #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back)) struct sk_buff; struct clip_vcc { struct atm_vcc *vcc; /* VCC descriptor */ struct atmarp_entry *entry; /* ATMARP table entry, NULL if IP addr. isn't known yet */ int xoff; /* 1 if send buffer is full */ unsigned char encap; /* 0: NULL, 1: LLC/SNAP */ unsigned long last_use; /* last send or receive operation */ unsigned long idle_timeout; /* keep open idle for so many jiffies*/ void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb); /* keep old push fn for chaining */ void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* keep old pop fn for chaining */ struct clip_vcc *next; /* next VCC */ }; struct atmarp_entry { struct clip_vcc *vccs; /* active VCCs; NULL if resolution is pending */ unsigned long expires; /* entry expiration time */ struct neighbour *neigh; /* neighbour back-pointer */ }; #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) struct clip_priv { int number; /* for convenience ... */ spinlock_t xoff_lock; /* ensures that pop is atomic (SMP) */ struct net_device *next; /* next CLIP interface */ }; #endif /td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/uapi/drm/virtgpu_drm.h?showmsg=1'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/drm/virtgpu_drm.h?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/drm/virtgpu_drm.h?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/drm/virtgpu_drm.h?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/uapi/drm/virtgpu_drm.h'> <input type='hidden' name='id' value='3f1a84e6962c7fd0703b9bb5db0355d1c28b201a'/><input type='hidden' name='showmsg' value='1'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a&showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a&showmsg=1'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a&showmsg=1'>uapi</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/drm?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a&showmsg=1'>drm</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/drm/virtgpu_drm.h?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a&showmsg=1'>virtgpu_drm.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/drm/virtgpu_drm.h?id=3f1a84e6962c7fd0703b9bb5db0355d1c28b201a'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>