atmarp.h
01:
02:
03:
04:
05:
06: #ifndef _LINUX_ATMARP_H
07: #define _LINUX_ATMARP_H
08:
09: #include <linux/types.h>
10: #include <linux/atmapi.h>
11: #include <linux/atmioc.h>
12:
13:
14: #define ATMARP_RETRY_DELAY 30
15:
16:
17: #define ATMARP_MAX_UNRES_PACKETS 5
18:
19:
20:
21: #define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1)
22: #define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2)
23: #define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3)
24: #define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5)
25:
26:
27: enum atmarp_ctrl_type {
28: act_invalid,
29: act_need,
30: act_up,
31: act_down,
32: act_change
33: };
34:
35: struct atmarp_ctrl {
36: enum atmarp_ctrl_type type;
37: int itf_num;
38: __be32 ip;
39: };
40:
41: #endif
42:
© Andrew Scott 2006 -
2025,
All Rights Reserved