xref: /openbsd-src/lib/libc/hidden/net/if.h (revision 864f048c25c0b067398902f7efb4f016b8120bd6)
1*864f048cSclaudio /*	$OpenBSD: if.h,v 1.2 2015/10/23 13:09:19 claudio Exp $	*/
2fbd37677Sguenther /*
3fbd37677Sguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
4fbd37677Sguenther  *
5fbd37677Sguenther  * Permission to use, copy, modify, and distribute this software for any
6fbd37677Sguenther  * purpose with or without fee is hereby granted, provided that the above
7fbd37677Sguenther  * copyright notice and this permission notice appear in all copies.
8fbd37677Sguenther  *
9fbd37677Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10fbd37677Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11fbd37677Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12fbd37677Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13fbd37677Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14fbd37677Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15fbd37677Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16fbd37677Sguenther  */
17fbd37677Sguenther 
18fbd37677Sguenther #ifndef _LIBC_NET_IF_H_
19fbd37677Sguenther #define _LIBC_NET_IF_H_
20fbd37677Sguenther 
21fbd37677Sguenther #include_next <net/if.h>
22fbd37677Sguenther 
23fbd37677Sguenther PROTO_NORMAL(if_indextoname);
24*864f048cSclaudio PROTO_NORMAL(if_freenameindex);
25*864f048cSclaudio PROTO_NORMAL(if_nameindex);
26fbd37677Sguenther PROTO_NORMAL(if_nametoindex);
27fbd37677Sguenther 
28fbd37677Sguenther #endif /* _LIBC_NET_IF_H_ */
29