mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 15:04:59 +00:00
16 lines
304 B
C
16 lines
304 B
C
/*
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <Kernel/API/POSIX/net/if.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
unsigned int if_nametoindex(char const* ifname);
|
|
char* if_indextoname(unsigned int ifindex, char* ifname);
|
|
|
|
__END_DECLS
|