DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ifignore(3N)


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(4tcp), rwhod(1Mtcp), timed(1Mtcp)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004