path: root/lib/libc/net/if_nameindex.c
Commit message (Collapse)AuthorAgeFilesLines
* SPDX: mostly fixes to previous changes.Pedro F. Giffuni2017-12-131-0/+2
| | | | | | | | Introduce the recently approved BSD-1-Clause and replace 0BSD which never did fit well our use cases. Notes: svn path=/head/; revision=326823
* Use the LLINDEX macro to access the link-level I/F index. This makesMarcel Moolenaar2012-05-191-1/+1
| | | | | | | | | | it possible to work with a different type for the sdl_index field -- it only requires a recompile. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=235640
* Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()Hajimu UMEMOTO2002-07-151-0/+147
and if_freenameindex(). Obtained from: KAME MFC after: 2 weeks Notes: svn path=/head/; revision=100138