1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 7 8 #ifndef _LINUX_ATMARP_H 9 #define _LINUX_ATMARP_H 10 #include <linux/types.h> 11 #include <linux/atmapi.h> 12 #include <linux/atmioc.h> 13 #define ATMARP_RETRY_DELAY 30 14 #define ATMARP_MAX_UNRES_PACKETS 5 15 #define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1) 16 #define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2) 17 #define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3) 18 #define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5) 19 enum atmarp_ctrl_type { 20 act_invalid, 21 act_need, 22 act_up, 23 act_down, 24 act_change 25 }; 26 struct atmarp_ctrl { 27 enum atmarp_ctrl_type type; 28 int itf_num; 29 __be32 ip; 30 }; 31 #endif 32