![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 /* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */ 0003 0004 /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ 0005 0006 0007 #ifndef _LINUX_ATMARP_H 0008 #define _LINUX_ATMARP_H 0009 0010 #include <linux/types.h> 0011 #include <linux/atmapi.h> 0012 #include <linux/atmioc.h> 0013 0014 0015 #define ATMARP_RETRY_DELAY 30 /* request next resolution or forget 0016 NAK after 30 sec - should go into 0017 atmclip.h */ 0018 #define ATMARP_MAX_UNRES_PACKETS 5 /* queue that many packets while 0019 waiting for the resolver */ 0020 0021 0022 #define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1) /* become atmarpd ctrl sock */ 0023 #define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2) /* attach socket to IP */ 0024 #define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3) /* fill or hide ARP entry */ 0025 #define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5) /* change encapsulation */ 0026 0027 0028 enum atmarp_ctrl_type { 0029 act_invalid, /* catch uninitialized structures */ 0030 act_need, /* need address resolution */ 0031 act_up, /* interface is coming up */ 0032 act_down, /* interface is going down */ 0033 act_change /* interface configuration has changed */ 0034 }; 0035 0036 struct atmarp_ctrl { 0037 enum atmarp_ctrl_type type; /* message type */ 0038 int itf_num;/* interface number (if present) */ 0039 __be32 ip; /* IP address (act_need only) */ 0040 }; 0041 0042 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |