2 * Proxy wrappers for if_nametoindex.
4 * Copyright (c) 2017-2018 The strace developers.
7 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifdef HAVE_IF_INDEXTONAME
19 static unsigned int index;
22 index = if_nametoindex("lo");
27 #else /* !HAVE_IF_INDEXTONAME */