Query: if_nametoindex
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
if_nametoindex(3) Library Functions Manual if_nametoindex(3)NAMEif_nametoindex - Maps an interface name to an interface indexLIBRARYStandard C Library (libc.so, libc.a)SYNOPSIS#include <net/if.h> unsigned int if_nametoindex ( const char *ifname) ;PARAMETERSPoints to a buffer that contains the interface name.DESCRIPTIONThe if_indextoname() function maps an interface name to its corresponding interface index number.RETURN VALUESUpon successful conversion, the if_nametoindex() function returns an interface index number. If the interface does not exist, it returns zero (0).RELATED INFORMATIONFunctions: if_freenameindex(3), if_indextoname(3), if_nameindex(3). delim off if_nametoindex(3)
Related Man Pages |
---|
if_nametoindex(3) - linux |
if_nametoindex(3) - redhat |
if_nametoindex(3) - ultrix |
if_nametoindex(3) - bsd |
if_indextoname(3) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
NTP synchronised problem in our Centos 7.6 node |