/* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */12/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */345#ifndef _LINUX_ATMARP_H6#define _LINUX_ATMARP_H78#include <linux/types.h>9#include <linux/atmapi.h>10#include <linux/atmioc.h>111213#define ATMARP_RETRY_DELAY 30 /* request next resolution or forget14NAK after 30 sec - should go into15atmclip.h */16#define ATMARP_MAX_UNRES_PACKETS 5 /* queue that many packets while17waiting for the resolver */181920#define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1) /* become atmarpd ctrl sock */21#define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2) /* attach socket to IP */22#define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3) /* fill or hide ARP entry */23#define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5) /* change encapsulation */242526enum atmarp_ctrl_type {27act_invalid, /* catch uninitialized structures */28act_need, /* need address resolution */29act_up, /* interface is coming up */30act_down, /* interface is going down */31act_change /* interface configuration has changed */32};3334struct atmarp_ctrl {35enum atmarp_ctrl_type type; /* message type */36int itf_num;/* interface number (if present) */37__be32 ip; /* IP address (act_need only) */38};3940#endif414243