t6rhdb_flush(3N)t6rhdb_flush(3N)NAME
t6rhdb_flush, t6rhdb_flush6 - TSIX Remote Host DataBase flush
SYNOPSIS
#include <sys/t6rhdb.h>
int t6rhdb_flush(const struct in_addr *addr)
int t6rhdb_flush6(const struct in6_addr *addr)
DESCRIPTION
These routines will remove the entry pointed to by addr from the remote
host database.
t6rhdb_flush() is used for IP version 4 addresses. t6rhdb_flush6() is
used for IP version 6 addresses.
CAPABILITIES
A process calling this function must have CAP_NETWORK_MGT capability in
the effective vector of its capability set.
RETURN VALUE
Upon successful completion, these routines will return zero. Otherwise
the appropriate error will be returned.
ERROR
[EPERM] The current process does not have required privileges.
[EINVAL] The addr argument is NULL.
The entry does not exist.
[EFAULT] The addr argument contains an invalid pointer address.
SEE ALSOlibt6(3N), t6rhdb_put_host(3N), t6rhdb_put_host6(3N),
t6rhdb_get_host(3N), t6rhdb_get_host6(3N), t6rhdb_stat(3N),
SOURCE
Trusted Systems Interoperability Group
Page 1