dnl There is NO WARRANTY, to the extent permitted by law.
AC_PREREQ([2.68])
-AC_INIT([rarpd], [1], [nbowler@draconx.ca], [rarpd-dx])
+AC_INIT([rarpd], [1a], [nbowler@draconx.ca], [rarpd-dx])
AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects])
AM_SILENT_RULES([yes])
/*
- * rarpd.c RARP daemon.
+ * rarpd.c RARP daemon.
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 2 of the License, or (at your option)
+ * any later version.
*
- * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
+ * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*
* Extricated from iputils by Nick Bowler (2023-07).
*/
struct iflink
{
- struct iflink *next;
- int index;
- int hatype;
- unsigned char lladdr[16];
- char name[IFNAMSIZ];
- struct ifaddr *ifa_list;
+ struct iflink *next;
+ int index;
+ int hatype;
+ unsigned char lladdr[16];
+ char name[IFNAMSIZ];
+ struct ifaddr *ifa_list;
} *ifl_list;
struct ifaddr
{
- struct ifaddr *next;
- uint32_t prefix;
- uint32_t mask;
- uint32_t local;
+ struct ifaddr *next;
+ uint32_t prefix;
+ uint32_t mask;
+ uint32_t local;
};
struct rarp_map
{
struct rarp_map *next;
- int ifindex;
- int arp_type;
- int lladdr_len;
- unsigned char lladdr[16];
- uint32_t ipaddr;
+ int ifindex;
+ int arp_type;
+ int lladdr_len;
+ unsigned char lladdr[16];
+ uint32_t ipaddr;
} *rarp_db;
static void print_usage(FILE *f)