(if_nametoindex): Return 0 if using stub code.
authordrepper <drepper>
Wed, 20 Aug 1997 03:52:39 +0000 (03:52 +0000)
committerdrepper <drepper>
Wed, 20 Aug 1997 03:52:39 +0000 (03:52 +0000)
commitc9ed108e49ea862142be9a4a9ab59b4c958ce7be
tree89ce31f848e26c1ef177a503f3d5c4a65b1bd6bc
parentab15729bfce1f095378c9c85f6aac06efc2f9532
(if_nametoindex): Return 0 if using stub code.
(if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
(if_nameindex): Use alloca() rather than malloc(); use
SIOCGIFCOUNT ioctl if the kernel supports it.
sysdeps/unix/sysv/linux/if_index.c