Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7088297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:46:59+00:00 2026-05-28T07:46:59+00:00

There is a function called if_nametoindex() that converts an interface name into an interface

  • 0

There is a function called if_nametoindex() that converts an interface name into an interface index. This function appears to be available on Linux and Windows. On Linux, I imagine these interface names might look like “eth0” or “wlan0”.

My question is: what do Win32 interface names look like? And are there any calls that let me query what interface names are available?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:47:00+00:00Added an answer on May 28, 2026 at 7:47 am

    There’s also if_indextoname. I’ve added the output below. This style of name (e.g. loopback_0) is not the Win32 interface name. I guess these names only exist for compatibility with rfc2553. Win32 actually uses interface names like \DEVICE\TCPIP_{846EE342-7039-11DE-9D20-806E6F6E6963}.

    To enumerate all the interfaces you need to use GetIfTable and friends. if_nameindex is not supported.

    loopback_0
    tunnel_0
    tunnel_2
    tunnel_3
    ppp_0
    ethernet_0
    ethernet_1
    ethernet_4
    ppp_1
    wireless_0
    ethernet_9
    tunnel_4
    tunnel_1
    tunnel_7
    tunnel_8
    wireless_5
    tunnel_5
    tunnel_9
    tunnel_10
    tunnel_6
    wireless_1
    wireless_2
    ethernet_2
    ethernet_3
    ethernet_5
    ethernet_6
    ethernet_7
    wireless_3
    wireless_4
    wireless_6
    wireless_7
    wireless_8
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to specify that a function should be called when a
There is a function that calls itself recursively infinitely. This function has some arguments
In MATLAB there's a nice function called fileparts that takes a full file path
In AutoIt v3 there's a function called HotKeySet . It sets a hotkey that
I'm developing a Windows gadget. There is a function called addTextObject on the background
Is there a way to find what function called the current function? So for
In Python there is a really neat function called zip which can be used
In PHP 5.2 there was a nice security function added called input_filter, so instead
I have three classes that all have a static function called 'create'. I would
Is there a function in python to split a word into a list of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.