mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
59 lines
765 B
C
59 lines
765 B
C
/*
|
|
* route-none.c
|
|
*
|
|
* Copyright (c) 2000 Dug Song <dugsong@monkey.org>
|
|
*
|
|
* $Id: route-none.c,v 1.5 2002/02/04 03:59:45 dugsong Exp $
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "dnet.h"
|
|
|
|
route_t *
|
|
route_open(void)
|
|
{
|
|
errno = ENOSYS;
|
|
return (NULL);
|
|
}
|
|
|
|
int
|
|
route_add(route_t *r, const struct route_entry *entry)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
int
|
|
route_delete(route_t *r, const struct route_entry *entry)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
int
|
|
route_get(route_t *r, struct route_entry *entry)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
int
|
|
route_loop(route_t *r, route_handler callback, void *arg)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
route_t *
|
|
route_close(route_t *r)
|
|
{
|
|
return (NULL);
|
|
}
|