/usr/include/atmarpd.h is in libatm1-dev 1:2.5.1-1.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | /* atmarpd.h - ATMARP demon command interface */
/* Written 1998,1999 by Werner Almesberger, EPFL ICA */
#ifndef _ATMARPD_H
#define _ATMARPD_H
#include <stdint.h>
#include <atm.h>
#define ATMARP_SOCKET_PATH "/dev/atmarp" /* it seems awfully silly to
put this socket into /dev,
but since that's what
syslogd and lpd are doing
too, ... */
#define ATMARP_DUMP_DIR "/var/run" /* ATMARP table file location */
#define ATMARP_DUMP_FILE "atmarpd.table" /* ATMARP table file name */
#define ATMARP_TMP_DUMP_FILE "~atmarpd.table"/* name during creation */
#define ATF_NULL 0x1000 /* use NULL encapsulation */
#define ATF_ARPSRV 0x2000 /* entry describes ARP server */
#define ATF_NOVC 0x4000 /* query only; do not create a VC */
enum atmarp_req_type {
art_invalid, /* catch uninitialized structures */
art_create, /* create an interface */
art_qos, /* set the default QoS */
art_set, /* create or change an entry */
art_delete, /* delete an entry */
art_table, /* update the ATMARP table file */
art_query /* request resolution without VC setup */
};
struct atmarp_req {
enum atmarp_req_type type; /* request type */
int itf; /* interface number; art_create only */
uint32_t ip; /* IP address */
struct sockaddr_atmsvc addr; /* PVC or SVC address */
int flags; /* ARP flags */
struct atm_qos qos; /* requested QOS */
int sndbuf; /* send buffer; 0 if default */
};
#endif
|