blob: a40d252ed2967e1d03c8f91d08adc33fc015f857 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _LINUX_ATMARP_H
8#define _LINUX_ATMARP_H
9#include <linux/types.h>
10#include <linux/atmapi.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070011#include <linux/atmioc.h>
12#define ATMARP_RETRY_DELAY 30
13#define ATMARP_MAX_UNRES_PACKETS 5
Tao Baod7db5942015-01-28 10:07:51 -080014#define ATMARPD_CTRL _IO('a', ATMIOC_CLIP + 1)
Tao Baod7db5942015-01-28 10:07:51 -080015#define ATMARP_MKIP _IO('a', ATMIOC_CLIP + 2)
16#define ATMARP_SETENTRY _IO('a', ATMIOC_CLIP + 3)
17#define ATMARP_ENCAP _IO('a', ATMIOC_CLIP + 5)
Ben Cheng655a7c02013-10-16 16:09:24 -070018enum atmarp_ctrl_type {
Tao Baod7db5942015-01-28 10:07:51 -080019 act_invalid,
20 act_need,
21 act_up,
22 act_down,
Tao Baod7db5942015-01-28 10:07:51 -080023 act_change
Ben Cheng655a7c02013-10-16 16:09:24 -070024};
25struct atmarp_ctrl {
Tao Baod7db5942015-01-28 10:07:51 -080026 enum atmarp_ctrl_type type;
Tao Baod7db5942015-01-28 10:07:51 -080027 int itf_num;
28 __be32 ip;
Ben Cheng655a7c02013-10-16 16:09:24 -070029};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080030#endif