Blame include/uapi/linux/atmarp.h
|
Packit Service |
3880ab |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
Packit Service |
3880ab |
/* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#ifndef _LINUX_ATMARP_H
|
|
Packit Service |
3880ab |
#define _LINUX_ATMARP_H
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#include <linux/types.h>
|
|
Packit Service |
3880ab |
#include <linux/atmapi.h>
|
|
Packit Service |
3880ab |
#include <linux/atmioc.h>
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#define ATMARP_RETRY_DELAY 30 /* request next resolution or forget
|
|
Packit Service |
3880ab |
NAK after 30 sec - should go into
|
|
Packit Service |
3880ab |
atmclip.h */
|
|
Packit Service |
3880ab |
#define ATMARP_MAX_UNRES_PACKETS 5 /* queue that many packets while
|
|
Packit Service |
3880ab |
waiting for the resolver */
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1) /* become atmarpd ctrl sock */
|
|
Packit Service |
3880ab |
#define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2) /* attach socket to IP */
|
|
Packit Service |
3880ab |
#define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3) /* fill or hide ARP entry */
|
|
Packit Service |
3880ab |
#define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5) /* change encapsulation */
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
enum atmarp_ctrl_type {
|
|
Packit Service |
3880ab |
act_invalid, /* catch uninitialized structures */
|
|
Packit Service |
3880ab |
act_need, /* need address resolution */
|
|
Packit Service |
3880ab |
act_up, /* interface is coming up */
|
|
Packit Service |
3880ab |
act_down, /* interface is going down */
|
|
Packit Service |
3880ab |
act_change /* interface configuration has changed */
|
|
Packit Service |
3880ab |
};
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
struct atmarp_ctrl {
|
|
Packit Service |
3880ab |
enum atmarp_ctrl_type type; /* message type */
|
|
Packit Service |
3880ab |
int itf_num;/* interface number (if present) */
|
|
Packit Service |
3880ab |
__be32 ip; /* IP address (act_need only) */
|
|
Packit Service |
3880ab |
};
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#endif
|