mirror of
https://github.com/ecki/net-tools.git
synced 2024-11-13 14:09:25 +00:00
57 lines
1.2 KiB
C
57 lines
1.2 KiB
C
/*
|
|
* netrom_sr.c This files contains NETROM related route manipulation methods.
|
|
*
|
|
* Part of net-tools, the Linux base networking tools
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#if HAVE_AFNETROM
|
|
#include <sys/param.h>
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <arpa/nameser.h>
|
|
/* #include <net/route.h> realy broken */
|
|
#include <sys/ioctl.h>
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
#include <netdb.h>
|
|
#include <resolv.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include "version.h"
|
|
#include "net-support.h"
|
|
#include "pathnames.h"
|
|
#include "intl.h"
|
|
#include "net-features.h"
|
|
|
|
extern struct aftype netrom_aftype;
|
|
|
|
/* static int skfd = -1; */
|
|
|
|
#if 0
|
|
static int usage(const int rc)
|
|
{
|
|
fprintf(stderr, _("netrom usage\n"));
|
|
|
|
return (rc);
|
|
}
|
|
#endif
|
|
|
|
|
|
int NETROM_rinput(int action, int ext, char **args)
|
|
{
|
|
|
|
fprintf(stderr, _("NET/ROM: this needs to be written\n"));
|
|
return (E_NOSUPP);
|
|
}
|
|
#endif /* HAVE_AFNETROM */
|