Home | History | Annotate | Download | only in linux
      1 /* ila.h - ILA Interface */
      2 
      3 #ifndef _LINUX_ILA_H
      4 #define _LINUX_ILA_H
      5 
      6 /* NETLINK_GENERIC related info */
      7 #define ILA_GENL_NAME		"ila"
      8 #define ILA_GENL_VERSION	0x1
      9 
     10 enum {
     11 	ILA_ATTR_UNSPEC,
     12 	ILA_ATTR_LOCATOR,			/* u64 */
     13 	ILA_ATTR_IDENTIFIER,			/* u64 */
     14 	ILA_ATTR_LOCATOR_MATCH,			/* u64 */
     15 	ILA_ATTR_IFINDEX,			/* s32 */
     16 	ILA_ATTR_DIR,				/* u32 */
     17 
     18 	__ILA_ATTR_MAX,
     19 };
     20 
     21 #define ILA_ATTR_MAX		(__ILA_ATTR_MAX - 1)
     22 
     23 enum {
     24 	ILA_CMD_UNSPEC,
     25 	ILA_CMD_ADD,
     26 	ILA_CMD_DEL,
     27 	ILA_CMD_GET,
     28 
     29 	__ILA_CMD_MAX,
     30 };
     31 
     32 #define ILA_CMD_MAX	(__ILA_CMD_MAX - 1)
     33 
     34 #define ILA_DIR_IN	(1 << 0)
     35 #define ILA_DIR_OUT	(1 << 1)
     36 
     37 #endif /* _LINUX_ILA_H */
     38