ifignore(3N) ifignore(3N)
NAME
ifignore - Check for ignored network interface
SYNOPSIS
cc [options] file -lsocket -lnsl
#include <netdb.h>
int ifignore(char *if_name, char *serv_name);
DESCRIPTION
ifignore provides a filtering mechanism for network
applications which would otherwise indiscriminately send
packets over all network interfaces attached to the machine.
The function consults the file /etc/inet/if.ignore and returns
a value to indicate whether or not a particular network
interface should be ``ignored'' by the invoking server. This
indication should then be used by the server itself in
determining how to deal with the interface in question.
ifignore returns a non-zero value if if_name should be ignored
by serv_name; otherwise, zero is returned.
Files
/etc/inet/if.ignore
REFERENCES
if.ignore(4), routed(1M), rwhod(1M), timed(1M)
Copyright 1994 Novell, Inc. Page 1