*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> if_nametoindex (3)              
Title
Content
Arch
Section
 

if_nametoindex(3)

Contents


NAME    [Toc]    [Back]

       if_nametoindex  -  Map  an  interface name to an interface
       index

SYNOPSIS    [Toc]    [Back]

       #include <net/if.h>

       unsigned int if_nametoindex(
               const char *ifname );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Points to a buffer that contains the interface name.

DESCRIPTION    [Toc]    [Back]

       The if_nametoindex() function maps an  interface  name  to
       its corresponding interface index number.

RETURN VALUES    [Toc]    [Back]

       Upon  successful conversion, the if_nametoindex() function
       returns an interface index number. If the  interface  does
       not exist, it returns zero (0).

SEE ALSO    [Toc]    [Back]

      
      
       Functions:     if_freenameindex(3),     if_indextoname(3),
       if_nameindex(3).



                                                if_nametoindex(3)
[ Back ]
 Similar pages
Name OS Title
if_indextoname Tru64 Map an interface index to an interface name
if_nametoindex OpenBSD convert interface index to name, and vice versa
if_nameindex OpenBSD convert interface index to name, and vice versa
if_indextoname OpenBSD convert interface index to name, and vice versa
if_freenameindex OpenBSD convert interface index to name, and vice versa
tirdwr IRIX Transport Interface read/write interface STREAMS module
diag2 HP-UX interface for diagnostic logging and interface to processors
ifup Linux bring a network interface up ifdown - take a network interface down
pci_set_powerstate FreeBSD PCI bus interface
pci_disable_busmaster FreeBSD PCI bus interface
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service