• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about VLANs in Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about VLANs in Mac OS X


  • Subject: Re: Question about VLANs in Mac OS X
  • From: Allan Nathanson <email@hidden>
  • Date: Mon, 17 Mar 2008 20:43:36 -0400


On Mar 17, 2008, at 8:28 PM, Terry Simons wrote:

I'm trying to learn about how Mac OS X handles VLANs. It looks like there are some vlan configuration options for ifconfig (according to the man page).

Are there public APIs for mapping the VLAN enumerations to a BSD interface name (I'm assuming whatever mechanism ifconfig uses is public? IOCTLs in the kernel?)?

Basically what I want to be able to do is figure out which VLANs are configured/enabled/disabled for "enX" or whatever.

I searched the archives but didn't find anything that looked relevant.

Is there any sort of documentation other than the ifconfig sources, or do I have to roll up my sleeves? ;)

Also, are there any calls that will let me determine if a given interface supports VLAN tagging without actually attempting to do a set on the interface?

You'll find a set of APIs in <SystemConfiguration/ SCNetworkConfiguration.h> that allow you to configure a VLAN interfaces.


- Allan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Question about VLANs in Mac OS X
      • From: Terry Simons <email@hidden>
    • Re: Question about VLANs in Mac OS X
      • From: Terry Simons <email@hidden>
References: 
 >Question about VLANs in Mac OS X (From: Terry Simons <email@hidden>)

  • Prev by Date: Question about VLANs in Mac OS X
  • Next by Date: how to write a virtual network device driver based on USBCDCECM (Or Quacomm MSM interface)
  • Previous by thread: Question about VLANs in Mac OS X
  • Next by thread: Re: Question about VLANs in Mac OS X
  • Index(es):
    • Date
    • Thread