/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | VLANConfiguration.c | 86 SCVLANInterfaceRef vlan; local 108 vlan = (SCVLANInterfaceRef)_SCVLANInterfaceCreatePrivate(NULL, vlan_if); 109 assert(vlan != NULL); 130 SCVLANInterfaceSetPhysicalInterfaceAndTag(vlan, vlan_physical, vlan_tag); 136 SCVLANInterfaceSetLocalizedDisplayName(vlan, vlan_name); 142 SCVLANInterfaceSetOptions(vlan, vlan_options); 146 interfacePrivate = (SCNetworkInterfacePrivateRef)vlan; 149 CFArrayAppendValue(myContext->vlans, vlan); 150 CFRelease(vlan); 161 SCVLANInterfaceRef vlan local 368 SCVLANInterfaceRef vlan; local 440 SCVLANInterfaceRef vlan; local 540 SCVLANInterfaceRemove(SCVLANInterfaceRef vlan) argument 572 SCVLANInterfaceGetPhysicalInterface(SCVLANInterfaceRef vlan) argument 586 SCVLANInterfaceGetTag(SCVLANInterfaceRef vlan) argument 600 SCVLANInterfaceGetOptions(SCVLANInterfaceRef vlan) argument 614 SCVLANInterfaceSetPhysicalInterfaceAndTag(SCVLANInterfaceRef vlan, SCNetworkInterfaceRef physical, CFNumberRef tag) argument 725 SCVLANInterfaceSetLocalizedDisplayName(SCVLANInterfaceRef vlan, CFStringRef newName) argument 789 SCVLANInterfaceSetOptions(SCVLANInterfaceRef vlan, CFDictionaryRef newOptions) argument [all...] |
H A D | SCNetworkConfiguration.h | 779 @param vlan The SCVLANInterface interface. 783 SCVLANInterfaceRemove (SCVLANInterfaceRef vlan) __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_4_0/*SPI*/); 788 @param vlan The SCVLANInterface interface. 792 SCVLANInterfaceGetPhysicalInterface (SCVLANInterfaceRef vlan) __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_4_0/*SPI*/); 797 @param vlan The SCVLANInterface interface. 801 SCVLANInterfaceGetTag (SCVLANInterfaceRef vlan) __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_4_0/*SPI*/); 806 @param vlan The SCVLANInterface interface. 811 SCVLANInterfaceGetOptions (SCVLANInterfaceRef vlan) __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_4_0/*SPI*/); 816 @param vlan The SCVLANInterface interface. 824 SCVLANInterfaceSetPhysicalInterfaceAndTag (SCVLANInterfaceRef vlan, [all...] |
H A D | SCNetworkInterface.c | 194 { NULL, NULL, NULL }, // vlan { interface, tag, options } 242 { NULL, NULL, NULL }, // vlan { interface, tag, options } 507 if (interfacePrivate->vlan.interface != NULL) { 510 SCNetworkInterfaceGetBSDName(interfacePrivate->vlan.interface)); 512 if (interfacePrivate->vlan.tag != NULL) { 513 CFStringAppendFormat(result, NULL, CFSTR(", tag = %@"), interfacePrivate->vlan.tag); 515 if (interfacePrivate->vlan.options != NULL) { 518 str = _SCCopyDescription(interfacePrivate->vlan.options, formatOptions); 626 if (interfacePrivate->vlan.interface != NULL) 627 CFRelease(interfacePrivate->vlan [all...] |
H A D | SCNetworkConfigurationInternal.h | 189 } vlan; member in struct:__anon7140
|
H A D | SCNetworkMigration.c | 1352 SCVLANInterfaceRef vlan = (SCVLANInterfaceRef)value; local 1354 physicalInterface = SCVLANInterfaceGetPhysicalInterface(vlan); 1372 SCLog(_sc_debug, LOG_NOTICE, CFSTR("validate_vlan: Removing invalid VLAN configuration: %@"), vlan); 1373 SCVLANInterfaceRemove(vlan); 2824 SCVLANInterfaceRef vlan; local 2838 vlan = CFArrayGetValueAtIndex(allSourceVLAN, idx); 2839 CFStringRef vlanBSDName = SCNetworkInterfaceGetBSDName(vlan); 2840 SCNetworkInterfaceRef physicalInterface = SCVLANInterfaceGetPhysicalInterface(vlan); 2850 CFStringRef vlanNewName = CFStringCreateWithFormat(NULL, NULL, CFSTR("vlan%ld"), count); 2852 CFArrayAppendValue(vlanList, vlan); [all...] |
/macosx-10.10/IONetworkingFamily-101/ |
H A D | IOEthernetInterface.cpp | 1214 // Temporarily stuff a vlan tag back into a packet so that tag shows up to bpf. 1215 // We do it by creating a temp header mbuf with the enet/vlan header in it and 1266 *(short *)(destptr) = htons(ETHERTYPE_VLAN); //vlan magic number 1285 //on the wire...but devices with hardware vlan stuffing/stripping 1287 //vlan, feed the tap, then unmunge it. 1291 u_int16_t vlan; local 1293 if( mbuf_get_vlan_tag(mt, &vlan) == 0) //does this packet have oob vlan tag? 1294 _fixupVlanPacket(mt, vlan, 1); 1301 u_int16_t vlan; local [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | kpi_mbuf.h | 1042 vlan support. If you are redirecting a packet to a new interface 1073 @discussion This function is used by interfaces that support vlan 1075 mbuf to indicate which vlan the packet was received for. 1077 @param vlan The protocol family of the aux data to add. 1080 extern errno_t mbuf_set_vlan_tag(mbuf_t mbuf, u_int16_t vlan); 1085 vlan tagging to determine which vlan this packet belongs to. To 1086 differentiate between the case where the vlan tag is zero and 1087 the case where there is no vlan tag, this function will return 1088 ENXIO when there is no vlan [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | if_bridge.c | 335 uint16_t brt_vlan; /* vlan id */ 560 /* The default bridge vlan is 1 (IEEE 802.1Q-2003 Table 9-2) */ 3709 uint16_t vlan; local 3724 vlan = VLANTAGOF(m); 3755 dst_if = bridge_rtlookup(sc, eh->ether_dhost, vlan); 3964 uint16_t vlan; local 3980 vlan = VLANTAGOF(m); 3992 error = bridge_rtupdate(sc, eh->ether_shost, vlan, 4016 dst_if = bridge_rtlookup(sc, dst, vlan); 4151 uint16_t vlan; local 4628 bridge_rtupdate(struct bridge_softc *sc, const uint8_t *dst, uint16_t vlan, struct bridge_iflist *bif, int setflags, uint8_t flags) argument 4723 bridge_rtlookup(struct bridge_softc *sc, const uint8_t *addr, uint16_t vlan) argument 4835 bridge_rtdaddr(struct bridge_softc *sc, const uint8_t *addr, uint16_t vlan) argument 5086 bridge_rtnode_lookup(struct bridge_softc *sc, const uint8_t *addr, uint16_t vlan) argument [all...] |
H A D | if_vlan.c | 110 #define VLANNAME "vlan" 116 ** vlan locks 182 ** vlan structures, types 373 SYSCTL_NODE(_net_link, IFT_L2VLAN, vlan, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "IEEE 802.1Q VLAN"); 511 ** vlan, etc. routines 672 /* prevent other vlan parent remove/add from taking place */ 917 /* the vlan parent has no more VLAN's */ 1267 * the encapsulation after we've found the vlan 1321 /* We found a vlan interface, inject on that interface. */ 1508 /* the vlan paren [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | kpi_mbuf.c | 647 u_int16_t vlan) 650 mbuf->m_pkthdr.vlan_tag = vlan; 658 u_int16_t *vlan) 661 return ENXIO; // No vlan tag set 663 *vlan = mbuf->m_pkthdr.vlan_tag; 645 mbuf_set_vlan_tag( mbuf_t mbuf, u_int16_t vlan) argument 656 mbuf_get_vlan_tag( mbuf_t mbuf, u_int16_t *vlan) argument
|
/macosx-10.10/libpcap-48/libpcap/ |
H A D | scanner.l | 283 vlan return VLAN;
|
/macosx-10.10/xnu-2782.1.97/bsd/conf/ |
H A D | files | 61 OPTIONS/vlan optional vlan 206 bsd/net/if_vlan.c optional vlan
|