├── author.txt ├── MacFinderDemo ├── Build │ ├── Products │ │ └── Debug-iphoneos │ │ │ └── MacFinder.app │ │ │ ├── PkgInfo │ │ │ ├── Info.plist │ │ │ ├── MacFinder │ │ │ ├── embedded.mobileprovision │ │ │ ├── Base.lproj │ │ │ ├── Main.storyboardc │ │ │ │ ├── Info.plist │ │ │ │ ├── BYZ-38-t0r-view-8bC-Xf-vdC.nib │ │ │ │ └── UIViewController-BYZ-38-t0r.nib │ │ │ └── LaunchScreen.storyboardc │ │ │ │ ├── Info.plist │ │ │ │ ├── 01J-lp-oVM-view-Ze5-6b-2t3.nib │ │ │ │ └── UIViewController-01J-lp-oVM.nib │ │ │ └── _CodeSignature │ │ │ └── CodeResources │ └── Intermediates │ │ └── MacFinder.build │ │ ├── Debug-iphoneos │ │ └── MacFinder.build │ │ │ ├── dgph │ │ │ ├── MacFinder-generated-files.hmap │ │ │ ├── MacFinder.hmap │ │ │ ├── Objects-normal │ │ │ ├── arm64 │ │ │ │ ├── main.o │ │ │ │ ├── main.dia │ │ │ │ ├── MacFinder.o │ │ │ │ ├── AppDelegate.o │ │ │ │ ├── MacFinder.dia │ │ │ │ ├── AppDelegate.dia │ │ │ │ ├── ViewController.o │ │ │ │ ├── ViewController.dia │ │ │ │ ├── main.d │ │ │ │ ├── AppDelegate.d │ │ │ │ ├── MacFinder.d │ │ │ │ ├── ViewController.d │ │ │ │ ├── MacFinder.LinkFileList │ │ │ │ └── MacFinder_dependency_info.dat │ │ │ └── armv7 │ │ │ │ └── MacFinder.LinkFileList │ │ │ ├── MacFinder-project-headers.hmap │ │ │ ├── MacFinder-all-target-headers.hmap │ │ │ ├── MacFinder-own-target-headers.hmap │ │ │ ├── Base.lproj │ │ │ ├── Main.storyboardc │ │ │ │ ├── Info.plist │ │ │ │ ├── BYZ-38-t0r-view-8bC-Xf-vdC.nib │ │ │ │ └── UIViewController-BYZ-38-t0r.nib │ │ │ └── LaunchScreen.storyboardc │ │ │ │ ├── Info.plist │ │ │ │ ├── 01J-lp-oVM-view-Ze5-6b-2t3.nib │ │ │ │ └── UIViewController-01J-lp-oVM.nib │ │ │ ├── MacFinder-all-non-framework-target-headers.hmap │ │ │ ├── Main-SBPartialInfo.plist │ │ │ ├── LaunchScreen-SBPartialInfo.plist │ │ │ ├── assetcatalog_generated_info.plist │ │ │ ├── assetcatalog_dependencies │ │ │ └── MacFinder.app.xcent │ │ └── Debug-iphonesimulator │ │ └── MacFinder.build │ │ ├── dgph │ │ ├── MacFinder-generated-files.hmap │ │ ├── MacFinder.hmap │ │ ├── MacFinder-project-headers.hmap │ │ ├── MacFinder-all-target-headers.hmap │ │ ├── MacFinder-own-target-headers.hmap │ │ ├── MacFinder-all-non-framework-target-headers.hmap │ │ └── Objects-normal │ │ └── x86_64 │ │ └── MacFinder.LinkFileList ├── MacFinder.xcodeproj │ ├── xcuserdata │ │ ├── Mike.xcuserdatad │ │ │ ├── xcdebugger │ │ │ │ └── Breakpoints_v2.xcbkptlist │ │ │ └── xcschemes │ │ │ │ ├── xcschememanagement.plist │ │ │ │ └── MacFinder.xcscheme │ │ └── mmavris.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ └── MacFinder.xcscheme │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ ├── Mike.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── mmavris.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── project.pbxproj └── MacFinder │ ├── ViewController.h │ ├── AppDelegate.h │ ├── main.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── ViewController.m │ ├── Info.plist │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ └── AppDelegate.m ├── MacFinder ├── MacFinder.h ├── MacFinder.m └── Network Headers │ ├── if_ether.h │ ├── if_arp.h │ └── route.h ├── MacFinder.podspec ├── LICENSE.txt ├── README.md └── .gitignore /author.txt: -------------------------------------------------------------------------------- 1 | Author: Michael Mavris 2 | Date: 2016-06-8 -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Info.plist -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/MacFinder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/MacFinder -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/xcuserdata/Mike.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/embedded.mobileprovision: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/embedded.mobileprovision -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/dgph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/dgph -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-generated-files.hmap: -------------------------------------------------------------------------------- 1 | pamhx -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/dgph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/dgph -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-generated-files.hmap: -------------------------------------------------------------------------------- 1 | pamhx -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/Main.storyboardc/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/Main.storyboardc/Info.plist -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/LaunchScreen.storyboardc/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/LaunchScreen.storyboardc/Info.plist -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.o -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.dia -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-project-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-project-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.o -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/project.xcworkspace/xcuserdata/Mike.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/MacFinder.xcodeproj/project.xcworkspace/xcuserdata/Mike.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-all-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-all-target-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-own-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-own-target-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.o -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.dia -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/project.xcworkspace/xcuserdata/mmavris.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/MacFinder.xcodeproj/project.xcworkspace/xcuserdata/mmavris.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.dia -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.o -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-project-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-project-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/Main.storyboardc/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/Main.storyboardc/Info.plist -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.dia -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-all-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-all-target-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-own-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-own-target-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/LaunchScreen.storyboardc/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/LaunchScreen.storyboardc/Info.plist -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-all-non-framework-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder-all-non-framework-target-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Main-SBPartialInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.d: -------------------------------------------------------------------------------- 1 | dependencies: \ 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/main.m \ 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/AppDelegate.h 4 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/LaunchScreen-SBPartialInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/assetcatalog_generated_info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.d: -------------------------------------------------------------------------------- 1 | dependencies: \ 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/AppDelegate.m \ 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/AppDelegate.h 4 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-all-non-framework-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/MacFinder-all-non-framework-target-headers.hmap -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MacFinder 4 | // 5 | // Created by Michael Mavris on 08/06/16. 6 | // Copyright © 2016 Miksoft. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavris/MacFinder/HEAD/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/assetcatalog_dependencies: -------------------------------------------------------------------------------- 1 | actool-11762/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/Assets.xcassets@/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/assetcatalog_generated_info.plist -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MacFinder 4 | // 5 | // Created by Michael Mavris on 08/06/16. 6 | // Copyright © 2016 Miksoft. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MacFinder 4 | // 5 | // Created by Michael Mavris on 08/06/16. 6 | // Copyright © 2016 Miksoft. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /MacFinder/MacFinder.h: -------------------------------------------------------------------------------- 1 | // 2 | // MacFinder.h 3 | // MacFinder 4 | // 5 | // Created by Michael Mavris on 08/06/16. 6 | // Copyright © 2016 Miksoft. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #if TARGET_IPHONE_SIMULATOR 12 | #include 13 | #else 14 | #include "route.h" 15 | #endif 16 | 17 | #include "if_ether.h" 18 | #include 19 | 20 | @interface MacFinder : NSObject; 21 | +(NSString*)ip2mac: (NSString*)strIP; 22 | @end 23 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.d: -------------------------------------------------------------------------------- 1 | dependencies: \ 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/MacFinder.m \ 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/MacFinder.h \ 4 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/route.h \ 5 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/if_ether.h \ 6 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/if_arp.h 7 | -------------------------------------------------------------------------------- /MacFinder.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'MacFinder' 3 | s.version = '1.2.0' 4 | s.summary = 'MacFinder is a class that helps you find the MAC Address of a specific IP' 5 | 6 | s.homepage = 'https://github.com/mavris/MacFinder' 7 | s.license = { :type => 'MIT', :file => 'LICENSE.txt' } 8 | s.author = { 'mavris' => 'info@miksoft.net' } 9 | s.source = { :git => 'https://github.com/mavris/MacFinder.git', :tag => s.version.to_s } 10 | s.ios.deployment_target = '8.0' 11 | s.source_files = 'MacFinder/**/*.{h,m}' 12 | end 13 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.d: -------------------------------------------------------------------------------- 1 | dependencies: \ 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/ViewController.m \ 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/MacFinder/ViewController.h \ 4 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/MacFinder.h \ 5 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/route.h \ 6 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/if_ether.h \ 7 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/if_arp.h 8 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/MacFinder.app.xcent: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | application-identifier 6 | 39U6ZU8C8E.net.miksoft.MacFinder 7 | com.apple.developer.team-identifier 8 | JSY962FCU8 9 | get-task-allow 10 | 11 | keychain-access-groups 12 | 13 | 39U6ZU8C8E.net.miksoft.MacFinder 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/xcuserdata/Mike.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MacFinder.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 828413401D0851EF00206E4C 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/xcuserdata/mmavris.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MacFinder.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 828413401D0851EF00206E4C 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.o 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.o 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.o 4 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.o 5 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/armv7/MacFinder.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/armv7/ViewController.o 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/armv7/AppDelegate.o 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/armv7/main.o 4 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/armv7/MacFinder.o 5 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/Objects-normal/x86_64/MacFinder.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/Objects-normal/x86_64/ViewController.o 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/Objects-normal/x86_64/AppDelegate.o 3 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/Objects-normal/x86_64/main.o 4 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphonesimulator/MacFinder.build/Objects-normal/x86_64/MacFinder.o 5 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // MacFinder 4 | // 5 | // Created by Michael Mavris on 08/06/16. 6 | // Copyright © 2016 Miksoft. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "MacFinder.h" 11 | 12 | @interface ViewController () 13 | @property (weak, nonatomic) IBOutlet UITextField *ipTextfield; 14 | @property (weak, nonatomic) IBOutlet UILabel *macLabel; 15 | 16 | @end 17 | 18 | @implementation ViewController 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | // Do any additional setup after loading the view, typically from a nib. 23 | } 24 | 25 | - (void)didReceiveMemoryWarning { 26 | [super didReceiveMemoryWarning]; 27 | // Dispose of any resources that can be recreated. 28 | } 29 | 30 | - (IBAction)findMACAction:(id)sender { 31 | 32 | [self.macLabel setText:[NSString stringWithFormat:@"MAC %@",[MacFinder ip2mac:self.ipTextfield.text]]]; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017, Michael Mavris 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | MacFinder 3 | ====== 4 | 5 | MacFinder is a class that helps you find the MAC Address of a specific IP 6 | 7 | ### Note 8 | Issue for MAC Addresses on iOS 10.2 has been resolved thanks to [@mochasoft] (https://github.com/mochasoft) 9 | 10 | ###Manual Installation 11 | 12 | + Add files in your Xcode project from: File-Add Files to YourProjectName-> Select MacFinder.m, MacFinder.h, route.h, if_arp.h and if_ether.h-> Click on "copy items if needed" -> OK (Or copy them from /MacFinder/Network Headers/ folder) 13 | 14 | ###CocoaPods Installation 15 | To install using CocoaPods, simply add the following line to your Podfile: 16 | 17 | ```ruby 18 | pod 'MacFinder' 19 | ``` 20 | ###How to use it 21 | 22 | Import the class in your class: 23 | 24 | ``` 25 | #import "MacFinder.h" 26 | ``` 27 | 28 | 29 | ``` 30 | NSString *mac = [MacFinder ip2mac:@”192.168.10.24"]; 31 | 32 | NSLog(@”Mac:%@”,mac); 33 | ``` 34 | 35 | That's it! 36 | 37 | ### More Details 38 | Visit my [article] (https://medium.com/rocknnull/ios-from-ip-to-mac-address-1e3726ff6d2b#.kgbe3wipa) for MacFinder for more details 39 | 40 | ###Authors 41 | 42 | * Michael Mavris 43 | 44 | ###License 45 | 46 | Copyright Miksoft 2017 47 | 48 | Licensed under the MIT License 49 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | # CocoaPods 32 | # 33 | # We recommend against adding the Pods directory to your .gitignore. However 34 | # you should judge for yourself, the pros and cons are mentioned at: 35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 36 | # 37 | # Pods/ 38 | 39 | # Carthage 40 | # 41 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 42 | # Carthage/Checkouts 43 | 44 | Carthage/Build 45 | 46 | # fastlane 47 | # 48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 49 | # screenshots whenever they are needed. 50 | # For more information about the recommended setup visit: 51 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 52 | 53 | fastlane/report.xml 54 | fastlane/Preview.html 55 | fastlane/screenshots 56 | fastlane/test_output 57 | 58 | # Code Injection 59 | # 60 | # After new code Injection tools there's a generated folder /iOSInjectionProject 61 | # https://github.com/johnno1962/injectionforxcode 62 | 63 | iOSInjectionProject/ -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // MacFinder 4 | // 5 | // Created by Michael Mavris on 08/06/16. 6 | // Copyright © 2016 Miksoft. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /MacFinder/MacFinder.m: -------------------------------------------------------------------------------- 1 | // MacFinder.m 2 | // MacFinder 3 | // 4 | // Created by Michael Mavris on 08/06/16. 5 | // Copyright © 2016 Miksoft. All rights reserved. 6 | // 7 | 8 | #import "MacFinder.h" 9 | #define BUFLEN (sizeof(struct rt_msghdr) + 512) 10 | #define SEQ 9999 11 | #define RTM_VERSION 5 // important, version 2 does not return a mac address! 12 | #define RTM_GET 0x4 // Report Metrics 13 | #define RTF_LLINFO 0x400 // generated by link layer (e.g. ARP) 14 | #define RTF_IFSCOPE 0x1000000 // has valid interface scope 15 | #define RTA_DST 0x1 // destination sockaddr present 16 | 17 | @implementation MacFinder 18 | 19 | +(NSString*)ip2mac: (NSString*)strIP { 20 | 21 | const char *ip = [strIP UTF8String]; 22 | 23 | int sockfd; 24 | unsigned char buf[BUFLEN]; 25 | unsigned char buf2[BUFLEN]; 26 | ssize_t n; 27 | struct rt_msghdr *rtm; 28 | struct sockaddr_in *sin; 29 | memset(buf,0,sizeof(buf)); 30 | memset(buf2,0,sizeof(buf2)); 31 | 32 | sockfd = socket(AF_ROUTE, SOCK_RAW, 0); 33 | rtm = (struct rt_msghdr *) buf; 34 | rtm->rtm_msglen = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in); 35 | rtm->rtm_version = RTM_VERSION; 36 | rtm->rtm_type = RTM_GET; 37 | rtm->rtm_addrs = RTA_DST; 38 | rtm->rtm_flags = RTF_LLINFO; 39 | rtm->rtm_pid = 1234; 40 | rtm->rtm_seq = SEQ; 41 | 42 | 43 | sin = (struct sockaddr_in *) (rtm + 1); 44 | sin->sin_len = sizeof(struct sockaddr_in); 45 | sin->sin_family = AF_INET; 46 | sin->sin_addr.s_addr = inet_addr(ip); 47 | write(sockfd, rtm, rtm->rtm_msglen); 48 | 49 | n = read(sockfd, buf2, BUFLEN); 50 | close(sockfd); 51 | 52 | if (n != 0) { 53 | int index = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_inarp) + 8; 54 | // savedata("test",buf2,n); 55 | NSString *macAddress =[NSString stringWithFormat:@"%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x",buf2[index+0], buf2[index+1], buf2[index+2], buf2[index+3], buf2[index+4], buf2[index+5]]; 56 | //If macAddress is equal to 00:00.. then mac address not exist in ARP table and returns nil. If it retuns 08:00.. then the mac address not exist because it's not in the same subnet with the device and return nil 57 | if ([macAddress isEqualToString:@"00:00:00:00:00:00"] ||[macAddress isEqualToString:@"08:00:00:00:00:00"] ) { 58 | return nil; 59 | } 60 | return macAddress; 61 | } 62 | return nil; 63 | } 64 | @end 65 | 66 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/xcuserdata/Mike.xcuserdatad/xcschemes/MacFinder.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/xcuserdata/mmavris.xcuserdatad/xcschemes/MacFinder.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib 8 | 9 | HSK28+rDNSdiO33aIHUnLrp3eEY= 10 | 11 | Base.lproj/LaunchScreen.storyboardc/Info.plist 12 | 13 | n2t8gsDpfE6XkhG31p7IQJRxTxU= 14 | 15 | Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib 16 | 17 | EdOO7OGLChChchoDh6rNfOYx0qs= 18 | 19 | Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib 20 | 21 | oE3cbbxx1+TQF//tYzss+y2lM88= 22 | 23 | Base.lproj/Main.storyboardc/Info.plist 24 | 25 | MDrKFvFWroTb0+KEbQShBcoBvo4= 26 | 27 | Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib 28 | 29 | X9PuOqeKkR3k7LcBnZaa6QxVZnE= 30 | 31 | Info.plist 32 | 33 | +CpDV5dn36VMxVlXg2kN3Kf6Bek= 34 | 35 | PkgInfo 36 | 37 | n57qDP4tZfLD1rCS43W0B4LQjzE= 38 | 39 | embedded.mobileprovision 40 | 41 | 9pjexgIMGSskTDap2mYW6iiGhXY= 42 | 43 | 44 | files2 45 | 46 | Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib 47 | 48 | hash 49 | 50 | HSK28+rDNSdiO33aIHUnLrp3eEY= 51 | 52 | hash2 53 | 54 | 4qvJeINuGR2ncUueBDUI5nWPbgNAoyF+o5Q5gELOOmA= 55 | 56 | 57 | Base.lproj/LaunchScreen.storyboardc/Info.plist 58 | 59 | hash 60 | 61 | n2t8gsDpfE6XkhG31p7IQJRxTxU= 62 | 63 | hash2 64 | 65 | HyVdXMU7Ux4/KalAao30mpWOK/lEPT4gvYN09wf31cg= 66 | 67 | 68 | Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib 69 | 70 | hash 71 | 72 | EdOO7OGLChChchoDh6rNfOYx0qs= 73 | 74 | hash2 75 | 76 | GNqvPGT1bn04iWhAILyJR57nQBeKGSTPPgtl/g3/61g= 77 | 78 | 79 | Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib 80 | 81 | hash 82 | 83 | oE3cbbxx1+TQF//tYzss+y2lM88= 84 | 85 | hash2 86 | 87 | smEQGxA7cQGT8ADptNtkyu5APNyJ5bzVcGjQkmiW3Ek= 88 | 89 | 90 | Base.lproj/Main.storyboardc/Info.plist 91 | 92 | hash 93 | 94 | MDrKFvFWroTb0+KEbQShBcoBvo4= 95 | 96 | hash2 97 | 98 | PpvapAjR62rl6Ym4E6hkTgpKmBICxTaQXeUqcpHmmqQ= 99 | 100 | 101 | Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib 102 | 103 | hash 104 | 105 | X9PuOqeKkR3k7LcBnZaa6QxVZnE= 106 | 107 | hash2 108 | 109 | Su9ShP8QuCzmuVfcpFtapqgVb7POLTSx3OPYQeRBCFI= 110 | 111 | 112 | embedded.mobileprovision 113 | 114 | hash 115 | 116 | 9pjexgIMGSskTDap2mYW6iiGhXY= 117 | 118 | hash2 119 | 120 | 5LEKSfR+iYjuhzdHxhKtgVkY9pMaxSNNIZKllv/AsAs= 121 | 122 | 123 | 124 | rules 125 | 126 | ^ 127 | 128 | ^.*\.lproj/ 129 | 130 | optional 131 | 132 | weight 133 | 1000 134 | 135 | ^.*\.lproj/locversion.plist$ 136 | 137 | omit 138 | 139 | weight 140 | 1100 141 | 142 | ^Base\.lproj/ 143 | 144 | weight 145 | 1010 146 | 147 | ^version.plist$ 148 | 149 | 150 | rules2 151 | 152 | .*\.dSYM($|/) 153 | 154 | weight 155 | 11 156 | 157 | ^ 158 | 159 | weight 160 | 20 161 | 162 | ^(.*/)?\.DS_Store$ 163 | 164 | omit 165 | 166 | weight 167 | 2000 168 | 169 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 170 | 171 | nested 172 | 173 | weight 174 | 10 175 | 176 | ^.* 177 | 178 | ^.*\.lproj/ 179 | 180 | optional 181 | 182 | weight 183 | 1000 184 | 185 | ^.*\.lproj/locversion.plist$ 186 | 187 | omit 188 | 189 | weight 190 | 1100 191 | 192 | ^Base\.lproj/ 193 | 194 | weight 195 | 1010 196 | 197 | ^Info\.plist$ 198 | 199 | omit 200 | 201 | weight 202 | 20 203 | 204 | ^PkgInfo$ 205 | 206 | omit 207 | 208 | weight 209 | 20 210 | 211 | ^[^/]+$ 212 | 213 | nested 214 | 215 | weight 216 | 10 217 | 218 | ^embedded\.provisionprofile$ 219 | 220 | weight 221 | 20 222 | 223 | ^version\.plist$ 224 | 225 | weight 226 | 20 227 | 228 | 229 | 230 | 231 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 40 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /MacFinder/Network Headers/if_ether.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000-2011 Apple Inc. All rights reserved. 3 | * 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. The rights granted to you under the License 10 | * may not be used to create, or enable the creation or redistribution of, 11 | * unlawful or unlicensed copies of an Apple operating system, or to 12 | * circumvent, violate, or enable the circumvention or violation of, any 13 | * terms of an Apple operating system software license agreement. 14 | * 15 | * Please obtain a copy of the License at 16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 | * 18 | * The Original Code and all software distributed under the License are 19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 | * Please see the License for the specific language governing rights and 24 | * limitations under the License. 25 | * 26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 | */ 28 | /* 29 | * Copyright (c) 1982, 1986, 1993 30 | * The Regents of the University of California. All rights reserved. 31 | * 32 | * Redistribution and use in source and binary forms, with or without 33 | * modification, are permitted provided that the following conditions 34 | * are met: 35 | * 1. Redistributions of source code must retain the above copyright 36 | * notice, this list of conditions and the following disclaimer. 37 | * 2. Redistributions in binary form must reproduce the above copyright 38 | * notice, this list of conditions and the following disclaimer in the 39 | * documentation and/or other materials provided with the distribution. 40 | * 3. All advertising materials mentioning features or use of this software 41 | * must display the following acknowledgement: 42 | * This product includes software developed by the University of 43 | * California, Berkeley and its contributors. 44 | * 4. Neither the name of the University nor the names of its contributors 45 | * may be used to endorse or promote products derived from this software 46 | * without specific prior written permission. 47 | * 48 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 49 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 50 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 51 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 52 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 53 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 | * SUCH DAMAGE. 59 | * 60 | * @(#)if_ether.h 8.3 (Berkeley) 5/2/95 61 | * $FreeBSD: src/sys/netinet/if_ether.h,v 1.24 1999/12/29 04:40:58 peter Exp $ 62 | */ 63 | 64 | #ifndef _NETINET_IF_ETHER_H_ 65 | #define _NETINET_IF_ETHER_H_ 66 | #include 67 | 68 | 69 | #include 70 | #include "if_arp.h" 71 | #define ea_byte ether_addr_octet 72 | 73 | /* 74 | * Macro to map an IP multicast address to an Ethernet multicast address. 75 | * The high-order 25 bits of the Ethernet address are statically assigned, 76 | * and the low-order 23 bits are taken from the low end of the IP address. 77 | */ 78 | #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 79 | /* struct in_addr *ipaddr; */ \ 80 | /* u_char enaddr[ETHER_ADDR_LEN]; */ \ 81 | { \ 82 | (enaddr)[0] = 0x01; \ 83 | (enaddr)[1] = 0x00; \ 84 | (enaddr)[2] = 0x5e; \ 85 | (enaddr)[3] = ((const u_char *)ipaddr)[1] & 0x7f; \ 86 | (enaddr)[4] = ((const u_char *)ipaddr)[2]; \ 87 | (enaddr)[5] = ((const u_char *)ipaddr)[3]; \ 88 | } 89 | /* 90 | * Macro to map an IP6 multicast address to an Ethernet multicast address. 91 | * The high-order 16 bits of the Ethernet address are statically assigned, 92 | * and the low-order 32 bits are taken from the low end of the IP6 address. 93 | */ 94 | #define ETHER_MAP_IPV6_MULTICAST(ip6addr, enaddr) \ 95 | /* struct in6_addr *ip6addr; */ \ 96 | /* u_char enaddr[ETHER_ADDR_LEN]; */ \ 97 | { \ 98 | (enaddr)[0] = 0x33; \ 99 | (enaddr)[1] = 0x33; \ 100 | (enaddr)[2] = ((const u_char *)ip6addr)[12]; \ 101 | (enaddr)[3] = ((const u_char *)ip6addr)[13]; \ 102 | (enaddr)[4] = ((const u_char *)ip6addr)[14]; \ 103 | (enaddr)[5] = ((const u_char *)ip6addr)[15]; \ 104 | } 105 | 106 | /* 107 | * Ethernet Address Resolution Protocol. 108 | * 109 | * See RFC 826 for protocol description. Structure below is adapted 110 | * to resolving internet addresses. Field names used correspond to 111 | * RFC 826. 112 | */ 113 | struct ether_arp { 114 | struct arphdr ea_hdr; /* fixed-size header */ 115 | //u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ 116 | u_char arp_spa[4]; /* sender protocol address */ 117 | //u_char arp_tha[ETHER_ADDR_LEN]; /* target hardware address */ 118 | u_char arp_tpa[4]; /* target protocol address */ 119 | }; 120 | #define arp_hrd ea_hdr.ar_hrd 121 | #define arp_pro ea_hdr.ar_pro 122 | #define arp_hln ea_hdr.ar_hln 123 | #define arp_pln ea_hdr.ar_pln 124 | #define arp_op ea_hdr.ar_op 125 | 126 | struct sockaddr_inarp { 127 | u_char sin_len; 128 | u_char sin_family; 129 | u_short sin_port; 130 | struct in_addr sin_addr; 131 | struct in_addr sin_srcaddr; 132 | u_short sin_tos; 133 | u_short sin_other; 134 | #define SIN_PROXY 0x1 135 | #define SIN_ROUTER 0x2 136 | }; 137 | /* 138 | * IP and ethernet specific routing flags 139 | */ 140 | #define RTF_USETRAILERS RTF_PROTO1 /* use trailers */ 141 | #define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */ 142 | 143 | 144 | #endif /* _NETINET_IF_ETHER_H_ */ 145 | -------------------------------------------------------------------------------- /MacFinder/Network Headers/if_arp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000-2012 Apple Inc. All rights reserved. 3 | * 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. The rights granted to you under the License 10 | * may not be used to create, or enable the creation or redistribution of, 11 | * unlawful or unlicensed copies of an Apple operating system, or to 12 | * circumvent, violate, or enable the circumvention or violation of, any 13 | * terms of an Apple operating system software license agreement. 14 | * 15 | * Please obtain a copy of the License at 16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 | * 18 | * The Original Code and all software distributed under the License are 19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 | * Please see the License for the specific language governing rights and 24 | * limitations under the License. 25 | * 26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 | */ 28 | /* 29 | * Copyright (c) 1986, 1993 30 | * The Regents of the University of California. All rights reserved. 31 | * 32 | * Redistribution and use in source and binary forms, with or without 33 | * modification, are permitted provided that the following conditions 34 | * are met: 35 | * 1. Redistributions of source code must retain the above copyright 36 | * notice, this list of conditions and the following disclaimer. 37 | * 2. Redistributions in binary form must reproduce the above copyright 38 | * notice, this list of conditions and the following disclaimer in the 39 | * documentation and/or other materials provided with the distribution. 40 | * 3. All advertising materials mentioning features or use of this software 41 | * must display the following acknowledgement: 42 | * This product includes software developed by the University of 43 | * California, Berkeley and its contributors. 44 | * 4. Neither the name of the University nor the names of its contributors 45 | * may be used to endorse or promote products derived from this software 46 | * without specific prior written permission. 47 | * 48 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 49 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 50 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 51 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 52 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 53 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 | * SUCH DAMAGE. 59 | * 60 | * @(#)if_arp.h 8.1 (Berkeley) 6/10/93 61 | * $FreeBSD: src/sys/net/if_arp.h,v 1.14.2.1 2000/07/11 20:46:55 archie Exp $ 62 | */ 63 | 64 | #ifndef _NET_IF_ARP_H_ 65 | #define _NET_IF_ARP_H_ 66 | #include 67 | #include 68 | #include 69 | 70 | /* 71 | * Address Resolution Protocol. 72 | * 73 | * See RFC 826 for protocol description. ARP packets are variable 74 | * in size; the arphdr structure defines the fixed-length portion. 75 | * Protocol type values are the same as those for 10 Mb/s Ethernet. 76 | * It is followed by the variable-sized fields ar_sha, arp_spa, 77 | * arp_tha and arp_tpa in that order, according to the lengths 78 | * specified. Field names used correspond to RFC 826. 79 | */ 80 | struct arphdr { 81 | u_short ar_hrd; /* format of hardware address */ 82 | #define ARPHRD_ETHER 1 /* ethernet hardware format */ 83 | #define ARPHRD_IEEE802 6 /* token-ring hardware format */ 84 | #define ARPHRD_FRELAY 15 /* frame relay hardware format */ 85 | #define ARPHRD_IEEE1394 24 /* IEEE1394 hardware address */ 86 | #define ARPHRD_IEEE1394_EUI64 27 /* IEEE1394 EUI-64 */ 87 | u_short ar_pro; /* format of protocol address */ 88 | u_char ar_hln; /* length of hardware address */ 89 | u_char ar_pln; /* length of protocol address */ 90 | u_short ar_op; /* one of: */ 91 | #define ARPOP_REQUEST 1 /* request to resolve address */ 92 | #define ARPOP_REPLY 2 /* response to previous request */ 93 | #define ARPOP_REVREQUEST 3 /* request protocol address given hardware */ 94 | #define ARPOP_REVREPLY 4 /* response giving protocol address */ 95 | #define ARPOP_INVREQUEST 8 /* request to identify peer */ 96 | #define ARPOP_INVREPLY 9 /* response identifying peer */ 97 | /* 98 | * The remaining fields are variable in size, 99 | * according to the sizes above. 100 | */ 101 | #ifdef COMMENT_ONLY 102 | u_char ar_sha[]; /* sender hardware address */ 103 | u_char ar_spa[]; /* sender protocol address */ 104 | u_char ar_tha[]; /* target hardware address */ 105 | u_char ar_tpa[]; /* target protocol address */ 106 | #endif 107 | }; 108 | 109 | /* 110 | * ARP ioctl request 111 | */ 112 | struct arpreq { 113 | struct sockaddr arp_pa; /* protocol address */ 114 | struct sockaddr arp_ha; /* hardware address */ 115 | int arp_flags; /* flags */ 116 | }; 117 | /* arp_flags and at_flags field values */ 118 | #define ATF_INUSE 0x01 /* entry in use */ 119 | #define ATF_COM 0x02 /* completed entry (enaddr valid) */ 120 | #define ATF_PERM 0x04 /* permanent entry */ 121 | #define ATF_PUBL 0x08 /* publish entry (respond for other host) */ 122 | #define ATF_USETRAILERS 0x10 /* has requested trailers */ 123 | 124 | struct arpstat { 125 | /* Normal things that happen: */ 126 | uint32_t txrequests; /* # of ARP requests sent by this host. */ 127 | uint32_t txreplies; /* # of ARP replies sent by this host. */ 128 | uint32_t txannounces; /* # of ARP announcements sent by this host. */ 129 | uint32_t rxrequests; /* # of ARP requests received by this host. */ 130 | uint32_t rxreplies; /* # of ARP replies received by this host. */ 131 | uint32_t received; /* # of ARP packets received by this host. */ 132 | 133 | /* Abnormal event and error counting: */ 134 | uint32_t txconflicts; /* # of ARP conflict probes sent */ 135 | uint32_t invalidreqs; /* # of invalid ARP resolve requests */ 136 | uint32_t reqnobufs; /* # of failed requests due to no memory */ 137 | uint32_t dropped; /* # of packets dropped waiting for a reply. */ 138 | uint32_t purged; /* # of packets purged while removing entries */ 139 | uint32_t timeouts; /* # of times with entries removed */ 140 | /* due to timeout. */ 141 | uint32_t dupips; /* # of duplicate IPs detected. */ 142 | 143 | /* General statistics */ 144 | uint32_t inuse; /* # of ARP entries in routing table */ 145 | uint32_t txurequests; /* # of ARP requests sent (unicast) */ 146 | }; 147 | 148 | 149 | #endif /* !_NET_IF_ARP_H_ */ 150 | -------------------------------------------------------------------------------- /MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder_dependency_info.dat: -------------------------------------------------------------------------------- 1 | @(#)PROGRAM:ld PROJECT:ld64-274.2 2 | /Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.LinkFileList/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Foundation.framework/Foundation.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Foundation.framework/Foundation/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libobjc.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libobjc.dylib/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libobjc.so/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libobjc.a/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib/libobjc.dylib/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libSystem.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libSystem.dylib/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libSystem.so/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/libSystem.a/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib/libSystem.dylib/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/lib/darwin/libclang_rt.ios.tbd/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/lib/darwin/libclang_rt.ios.a/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/lib/darwin/libclang_rt.ios.tbd@/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/MacFinder.app/MacFinder/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/ViewController.o/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/AppDelegate.o/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/main.o/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Intermediates/MacFinder.build/Debug-iphoneos/MacFinder.build/Objects-normal/arm64/MacFinder.o/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib/libobjc.tbd/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib/libSystem.tbd/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/lib/darwin/libclang_rt.ios.a/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreFoundation.framework/CoreFoundation.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreFoundation.framework/CoreFoundation/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Foundation.framework/Foundation.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Foundation.framework/Foundation/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Metal.framework/Metal.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Metal.framework/Metal/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Metal.framework/Metal/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreVideo.framework/CoreVideo.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreVideo.framework/CoreVideo/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreImage.framework/CoreImage.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreImage.framework/CoreImage/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Security.framework/Security.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/Security.framework/Security/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Security.framework/Security/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//Security.framework/Security.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CFNetwork.framework/CFNetwork.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CFNetwork.framework/CFNetwork/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreGraphics.framework/CoreGraphics.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreGraphics.framework/CoreGraphics/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/OpenGLES.framework/OpenGLES.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/OpenGLES.framework/OpenGLES/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/QuartzCore.framework/QuartzCore.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/QuartzCore.framework/QuartzCore/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreText.framework/CoreText.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/CoreText.framework/CoreText/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreText.framework/CoreText/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/UIKit.framework/UIKit.tbd/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinderDemo/Build/Products/Debug-iphoneos/UIKit.framework/UIKit/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//UIKit.framework/UIKit/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks//UIKit.framework/UIKit.tbd -------------------------------------------------------------------------------- /MacFinder/Network Headers/route.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000-2015 Apple Inc. All rights reserved. 3 | * 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. The rights granted to you under the License 10 | * may not be used to create, or enable the creation or redistribution of, 11 | * unlawful or unlicensed copies of an Apple operating system, or to 12 | * circumvent, violate, or enable the circumvention or violation of, any 13 | * terms of an Apple operating system software license agreement. 14 | * 15 | * Please obtain a copy of the License at 16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 | * 18 | * The Original Code and all software distributed under the License are 19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 | * Please see the License for the specific language governing rights and 24 | * limitations under the License. 25 | * 26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 | */ 28 | /* 29 | * Copyright (c) 1980, 1986, 1993 30 | * The Regents of the University of California. All rights reserved. 31 | * 32 | * Redistribution and use in source and binary forms, with or without 33 | * modification, are permitted provided that the following conditions 34 | * are met: 35 | * 1. Redistributions of source code must retain the above copyright 36 | * notice, this list of conditions and the following disclaimer. 37 | * 2. Redistributions in binary form must reproduce the above copyright 38 | * notice, this list of conditions and the following disclaimer in the 39 | * documentation and/or other materials provided with the distribution. 40 | * 3. All advertising materials mentioning features or use of this software 41 | * must display the following acknowledgement: 42 | * This product includes software developed by the University of 43 | * California, Berkeley and its contributors. 44 | * 4. Neither the name of the University nor the names of its contributors 45 | * may be used to endorse or promote products derived from this software 46 | * without specific prior written permission. 47 | * 48 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 49 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 50 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 51 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 52 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 53 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 | * SUCH DAMAGE. 59 | * 60 | * @(#)route.h 8.3 (Berkeley) 4/19/94 61 | * $FreeBSD: src/sys/net/route.h,v 1.36.2.1 2000/08/16 06:14:23 jayanth Exp $ 62 | */ 63 | 64 | #ifndef _NET_ROUTE_H_ 65 | #define _NET_ROUTE_H_ 66 | #include 67 | #include 68 | #include 69 | #include 70 | 71 | /* 72 | * These numbers are used by reliable protocols for determining 73 | * retransmission behavior and are included in the routing structure. 74 | */ 75 | 76 | #if TARGET_IPHONE_SIMULATOR 77 | #else 78 | struct rt_metrics { 79 | u_int32_t rmx_locks; /* Kernel leaves these values alone */ 80 | u_int32_t rmx_mtu; /* MTU for this path */ 81 | u_int32_t rmx_hopcount; /* max hops expected */ 82 | int32_t rmx_expire; /* lifetime for route, e.g. redirect */ 83 | u_int32_t rmx_recvpipe; /* inbound delay-bandwidth product */ 84 | u_int32_t rmx_sendpipe; /* outbound delay-bandwidth product */ 85 | u_int32_t rmx_ssthresh; /* outbound gateway buffer limit */ 86 | u_int32_t rmx_rtt; /* estimated round trip time */ 87 | u_int32_t rmx_rttvar; /* estimated rtt variance */ 88 | u_int32_t rmx_pksent; /* packets sent using this route */ 89 | u_int32_t rmx_filler[4]; /* will be used for T/TCP later */ 90 | }; 91 | #endif 92 | 93 | /* 94 | * rmx_rtt and rmx_rttvar are stored as microseconds; 95 | */ 96 | #define RTM_RTTUNIT 1000000 /* units for rtt, rttvar, as units per sec */ 97 | 98 | 99 | 100 | #define RTF_UP 0x1 /* route usable */ 101 | #define RTF_GATEWAY 0x2 /* destination is a gateway */ 102 | #define RTF_HOST 0x4 /* host entry (net otherwise) */ 103 | #define RTF_REJECT 0x8 /* host or net unreachable */ 104 | #define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */ 105 | #define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ 106 | #define RTF_DONE 0x40 /* message confirmed */ 107 | #define RTF_DELCLONE 0x80 /* delete cloned route */ 108 | #define RTF_CLONING 0x100 /* generate new routes on use */ 109 | #define RTF_XRESOLVE 0x200 /* external daemon resolves name */ 110 | #define RTF_LLINFO 0x400 /* generated by link layer (e.g. ARP) */ 111 | #define RTF_STATIC 0x800 /* manually added */ 112 | #define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */ 113 | #define RTF_NOIFREF 0x2000 /* not eligible for RTF_IFREF */ 114 | #define RTF_PROTO2 0x4000 /* protocol specific routing flag */ 115 | #define RTF_PROTO1 0x8000 /* protocol specific routing flag */ 116 | 117 | #define RTF_PRCLONING 0x10000 /* protocol requires cloning */ 118 | #define RTF_WASCLONED 0x20000 /* route generated through cloning */ 119 | #define RTF_PROTO3 0x40000 /* protocol specific routing flag */ 120 | /* 0x80000 unused */ 121 | #define RTF_PINNED 0x100000 /* future use */ 122 | #define RTF_LOCAL 0x200000 /* route represents a local address */ 123 | #define RTF_BROADCAST 0x400000 /* route represents a bcast address */ 124 | #define RTF_MULTICAST 0x800000 /* route represents a mcast address */ 125 | #define RTF_IFSCOPE 0x1000000 /* has valid interface scope */ 126 | #define RTF_CONDEMNED 0x2000000 /* defunct; no longer modifiable */ 127 | #define RTF_IFREF 0x4000000 /* route holds a ref to interface */ 128 | #define RTF_PROXY 0x8000000 /* proxying, no interface scope */ 129 | #define RTF_ROUTER 0x10000000 /* host is a router */ 130 | /* 0x20000000 and up unassigned */ 131 | 132 | #define RTF_BITS \ 133 | "\020\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE" \ 134 | "\10DELCLONE\11CLONING\12XRESOLVE\13LLINFO\14STATIC\15BLACKHOLE" \ 135 | "\16NOIFREF\17PROTO2\20PROTO1\21PRCLONING\22WASCLONED\23PROTO3" \ 136 | "\25PINNED\26LOCAL\27BROADCAST\30MULTICAST\31IFSCOPE\32CONDEMNED" \ 137 | "\33IFREF\34PROXY\35ROUTER" 138 | 139 | /* 140 | * Routing statistics. 141 | */ 142 | #if TARGET_IPHONE_SIMULATOR 143 | #else 144 | struct rtstat { 145 | short rts_badredirect; /* bogus redirect calls */ 146 | short rts_dynamic; /* routes created by redirects */ 147 | short rts_newgateway; /* routes modified by redirects */ 148 | short rts_unreach; /* lookups which failed */ 149 | short rts_wildcard; /* lookups satisfied by a wildcard */ 150 | }; 151 | #endif 152 | 153 | /* 154 | * Structures for routing messages. 155 | */ 156 | #if TARGET_IPHONE_SIMULATOR 157 | #else 158 | struct rt_msghdr { 159 | u_short rtm_msglen; /* to skip over non-understood messages */ 160 | u_char rtm_version; /* future binary compatibility */ 161 | u_char rtm_type; /* message type */ 162 | u_short rtm_index; /* index for associated ifp */ 163 | int rtm_flags; /* flags, incl. kern & message, e.g. DONE */ 164 | int rtm_addrs; /* bitmask identifying sockaddrs in msg */ 165 | pid_t rtm_pid; /* identify sender */ 166 | int rtm_seq; /* for sender to identify action */ 167 | int rtm_errno; /* why failed */ 168 | int rtm_use; /* from rtentry */ 169 | u_int32_t rtm_inits; /* which metrics we are initializing */ 170 | struct rt_metrics rtm_rmx; /* metrics themselves */ 171 | }; 172 | #endif 173 | 174 | #if TARGET_IPHONE_SIMULATOR 175 | #else 176 | struct rt_msghdr2 { 177 | u_short rtm_msglen; /* to skip over non-understood messages */ 178 | u_char rtm_version; /* future binary compatibility */ 179 | u_char rtm_type; /* message type */ 180 | u_short rtm_index; /* index for associated ifp */ 181 | int rtm_flags; /* flags, incl. kern & message, e.g. DONE */ 182 | int rtm_addrs; /* bitmask identifying sockaddrs in msg */ 183 | int32_t rtm_refcnt; /* reference count */ 184 | int rtm_parentflags; /* flags of the parent route */ 185 | int rtm_reserved; /* reserved field set to 0 */ 186 | int rtm_use; /* from rtentry */ 187 | u_int32_t rtm_inits; /* which metrics we are initializing */ 188 | struct rt_metrics rtm_rmx; /* metrics themselves */ 189 | }; 190 | #endif 191 | 192 | 193 | #define RTM_VERSION 5 /* Up the ante and ignore older versions */ 194 | 195 | /* 196 | * Message types. 197 | */ 198 | #define RTM_ADD 0x1 /* Add Route */ 199 | #define RTM_DELETE 0x2 /* Delete Route */ 200 | #define RTM_CHANGE 0x3 /* Change Metrics or flags */ 201 | #define RTM_GET 0x4 /* Report Metrics */ 202 | #define RTM_LOSING 0x5 /* RTM_LOSING is no longer generated by xnu 203 | and is deprecated */ 204 | #define RTM_REDIRECT 0x6 /* Told to use different route */ 205 | #define RTM_MISS 0x7 /* Lookup failed on this address */ 206 | #define RTM_LOCK 0x8 /* fix specified metrics */ 207 | #define RTM_OLDADD 0x9 /* caused by SIOCADDRT */ 208 | #define RTM_OLDDEL 0xa /* caused by SIOCDELRT */ 209 | #define RTM_RESOLVE 0xb /* req to resolve dst to LL addr */ 210 | #define RTM_NEWADDR 0xc /* address being added to iface */ 211 | #define RTM_DELADDR 0xd /* address being removed from iface */ 212 | #define RTM_IFINFO 0xe /* iface going up/down etc. */ 213 | #define RTM_NEWMADDR 0xf /* mcast group membership being added to if */ 214 | #define RTM_DELMADDR 0x10 /* mcast group membership being deleted */ 215 | #define RTM_IFINFO2 0x12 /* */ 216 | #define RTM_NEWMADDR2 0x13 /* */ 217 | #define RTM_GET2 0x14 /* */ 218 | 219 | /* 220 | * Bitmask values for rtm_inits and rmx_locks. 221 | */ 222 | #define RTV_MTU 0x1 /* init or lock _mtu */ 223 | #define RTV_HOPCOUNT 0x2 /* init or lock _hopcount */ 224 | #define RTV_EXPIRE 0x4 /* init or lock _expire */ 225 | #define RTV_RPIPE 0x8 /* init or lock _recvpipe */ 226 | #define RTV_SPIPE 0x10 /* init or lock _sendpipe */ 227 | #define RTV_SSTHRESH 0x20 /* init or lock _ssthresh */ 228 | #define RTV_RTT 0x40 /* init or lock _rtt */ 229 | #define RTV_RTTVAR 0x80 /* init or lock _rttvar */ 230 | 231 | /* 232 | * Bitmask values for rtm_addrs. 233 | */ 234 | #define RTA_DST 0x1 /* destination sockaddr present */ 235 | #define RTA_GATEWAY 0x2 /* gateway sockaddr present */ 236 | #define RTA_NETMASK 0x4 /* netmask sockaddr present */ 237 | #define RTA_GENMASK 0x8 /* cloning mask sockaddr present */ 238 | #define RTA_IFP 0x10 /* interface name sockaddr present */ 239 | #define RTA_IFA 0x20 /* interface addr sockaddr present */ 240 | #define RTA_AUTHOR 0x40 /* sockaddr for author of redirect */ 241 | #define RTA_BRD 0x80 /* for NEWADDR, broadcast or p-p dest addr */ 242 | 243 | /* 244 | * Index offsets for sockaddr array for alternate internal encoding. 245 | */ 246 | #define RTAX_DST 0 /* destination sockaddr present */ 247 | #define RTAX_GATEWAY 1 /* gateway sockaddr present */ 248 | #define RTAX_NETMASK 2 /* netmask sockaddr present */ 249 | #define RTAX_GENMASK 3 /* cloning mask sockaddr present */ 250 | #define RTAX_IFP 4 /* interface name sockaddr present */ 251 | #define RTAX_IFA 5 /* interface addr sockaddr present */ 252 | #define RTAX_AUTHOR 6 /* sockaddr for author of redirect */ 253 | #define RTAX_BRD 7 /* for NEWADDR, broadcast or p-p dest addr */ 254 | #define RTAX_MAX 8 /* size of array to allocate */ 255 | 256 | #if TARGET_IPHONE_SIMULATOR 257 | #else 258 | struct rt_addrinfo { 259 | int rti_addrs; 260 | struct sockaddr *rti_info[RTAX_MAX]; 261 | }; 262 | 263 | #endif 264 | 265 | #endif /* _NET_ROUTE_H_ */ 266 | -------------------------------------------------------------------------------- /MacFinderDemo/MacFinder.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 828413461D0851EF00206E4C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 828413451D0851EF00206E4C /* main.m */; }; 11 | 828413491D0851EF00206E4C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 828413481D0851EF00206E4C /* AppDelegate.m */; }; 12 | 8284134C1D0851EF00206E4C /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8284134B1D0851EF00206E4C /* ViewController.m */; }; 13 | 8284134F1D0851EF00206E4C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8284134D1D0851EF00206E4C /* Main.storyboard */; }; 14 | 828413511D0851EF00206E4C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 828413501D0851EF00206E4C /* Assets.xcassets */; }; 15 | 828413541D0851EF00206E4C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 828413521D0851EF00206E4C /* LaunchScreen.storyboard */; }; 16 | 828413651D08688E00206E4C /* MacFinder.m in Sources */ = {isa = PBXBuildFile; fileRef = 828413641D08688E00206E4C /* MacFinder.m */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | 828413411D0851EF00206E4C /* MacFinder.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MacFinder.app; sourceTree = BUILT_PRODUCTS_DIR; }; 21 | 828413451D0851EF00206E4C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 22 | 828413471D0851EF00206E4C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 23 | 828413481D0851EF00206E4C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 24 | 8284134A1D0851EF00206E4C /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 25 | 8284134B1D0851EF00206E4C /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 26 | 8284134E1D0851EF00206E4C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 27 | 828413501D0851EF00206E4C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 28 | 828413531D0851EF00206E4C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 29 | 828413551D0851F000206E4C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 30 | 8284135C1D08523800206E4C /* route.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = route.h; sourceTree = ""; }; 31 | 8284135D1D08529D00206E4C /* if_ether.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = if_ether.h; sourceTree = ""; }; 32 | 828413621D08558C00206E4C /* if_arp.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = if_arp.h; sourceTree = ""; }; 33 | 828413631D08688E00206E4C /* MacFinder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MacFinder.h; path = ../../MacFinder/MacFinder.h; sourceTree = ""; }; 34 | 828413641D08688E00206E4C /* MacFinder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MacFinder.m; path = ../../MacFinder/MacFinder.m; sourceTree = ""; }; 35 | /* End PBXFileReference section */ 36 | 37 | /* Begin PBXFrameworksBuildPhase section */ 38 | 8284133E1D0851EF00206E4C /* Frameworks */ = { 39 | isa = PBXFrameworksBuildPhase; 40 | buildActionMask = 2147483647; 41 | files = ( 42 | ); 43 | runOnlyForDeploymentPostprocessing = 0; 44 | }; 45 | /* End PBXFrameworksBuildPhase section */ 46 | 47 | /* Begin PBXGroup section */ 48 | 828413381D0851EF00206E4C = { 49 | isa = PBXGroup; 50 | children = ( 51 | 828413431D0851EF00206E4C /* MacFinder */, 52 | 828413421D0851EF00206E4C /* Products */, 53 | ); 54 | sourceTree = ""; 55 | }; 56 | 828413421D0851EF00206E4C /* Products */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 828413411D0851EF00206E4C /* MacFinder.app */, 60 | ); 61 | name = Products; 62 | sourceTree = ""; 63 | }; 64 | 828413431D0851EF00206E4C /* MacFinder */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | 8284135E1D08529F00206E4C /* Network Headers */, 68 | 828413471D0851EF00206E4C /* AppDelegate.h */, 69 | 828413481D0851EF00206E4C /* AppDelegate.m */, 70 | 828413631D08688E00206E4C /* MacFinder.h */, 71 | 828413641D08688E00206E4C /* MacFinder.m */, 72 | 8284134A1D0851EF00206E4C /* ViewController.h */, 73 | 8284134B1D0851EF00206E4C /* ViewController.m */, 74 | 8284134D1D0851EF00206E4C /* Main.storyboard */, 75 | 828413501D0851EF00206E4C /* Assets.xcassets */, 76 | 828413521D0851EF00206E4C /* LaunchScreen.storyboard */, 77 | 828413551D0851F000206E4C /* Info.plist */, 78 | 828413441D0851EF00206E4C /* Supporting Files */, 79 | ); 80 | path = MacFinder; 81 | sourceTree = ""; 82 | }; 83 | 828413441D0851EF00206E4C /* Supporting Files */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 828413451D0851EF00206E4C /* main.m */, 87 | ); 88 | name = "Supporting Files"; 89 | sourceTree = ""; 90 | }; 91 | 8284135E1D08529F00206E4C /* Network Headers */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 8284135C1D08523800206E4C /* route.h */, 95 | 8284135D1D08529D00206E4C /* if_ether.h */, 96 | 828413621D08558C00206E4C /* if_arp.h */, 97 | ); 98 | name = "Network Headers"; 99 | path = "/Users/Mike/Documents/Xcode/GitHub/MacFinderPod/MacFinder/Network Headers"; 100 | sourceTree = ""; 101 | }; 102 | /* End PBXGroup section */ 103 | 104 | /* Begin PBXNativeTarget section */ 105 | 828413401D0851EF00206E4C /* MacFinder */ = { 106 | isa = PBXNativeTarget; 107 | buildConfigurationList = 828413581D0851F000206E4C /* Build configuration list for PBXNativeTarget "MacFinder" */; 108 | buildPhases = ( 109 | 8284133D1D0851EF00206E4C /* Sources */, 110 | 8284133E1D0851EF00206E4C /* Frameworks */, 111 | 8284133F1D0851EF00206E4C /* Resources */, 112 | ); 113 | buildRules = ( 114 | ); 115 | dependencies = ( 116 | ); 117 | name = MacFinder; 118 | productName = MacFinder; 119 | productReference = 828413411D0851EF00206E4C /* MacFinder.app */; 120 | productType = "com.apple.product-type.application"; 121 | }; 122 | /* End PBXNativeTarget section */ 123 | 124 | /* Begin PBXProject section */ 125 | 828413391D0851EF00206E4C /* Project object */ = { 126 | isa = PBXProject; 127 | attributes = { 128 | LastUpgradeCheck = 0820; 129 | ORGANIZATIONNAME = Miksoft; 130 | TargetAttributes = { 131 | 828413401D0851EF00206E4C = { 132 | CreatedOnToolsVersion = 7.3.1; 133 | DevelopmentTeam = JSY962FCU8; 134 | }; 135 | }; 136 | }; 137 | buildConfigurationList = 8284133C1D0851EF00206E4C /* Build configuration list for PBXProject "MacFinder" */; 138 | compatibilityVersion = "Xcode 3.2"; 139 | developmentRegion = English; 140 | hasScannedForEncodings = 0; 141 | knownRegions = ( 142 | en, 143 | Base, 144 | ); 145 | mainGroup = 828413381D0851EF00206E4C; 146 | productRefGroup = 828413421D0851EF00206E4C /* Products */; 147 | projectDirPath = ""; 148 | projectRoot = ""; 149 | targets = ( 150 | 828413401D0851EF00206E4C /* MacFinder */, 151 | ); 152 | }; 153 | /* End PBXProject section */ 154 | 155 | /* Begin PBXResourcesBuildPhase section */ 156 | 8284133F1D0851EF00206E4C /* Resources */ = { 157 | isa = PBXResourcesBuildPhase; 158 | buildActionMask = 2147483647; 159 | files = ( 160 | 828413541D0851EF00206E4C /* LaunchScreen.storyboard in Resources */, 161 | 828413511D0851EF00206E4C /* Assets.xcassets in Resources */, 162 | 8284134F1D0851EF00206E4C /* Main.storyboard in Resources */, 163 | ); 164 | runOnlyForDeploymentPostprocessing = 0; 165 | }; 166 | /* End PBXResourcesBuildPhase section */ 167 | 168 | /* Begin PBXSourcesBuildPhase section */ 169 | 8284133D1D0851EF00206E4C /* Sources */ = { 170 | isa = PBXSourcesBuildPhase; 171 | buildActionMask = 2147483647; 172 | files = ( 173 | 8284134C1D0851EF00206E4C /* ViewController.m in Sources */, 174 | 828413491D0851EF00206E4C /* AppDelegate.m in Sources */, 175 | 828413461D0851EF00206E4C /* main.m in Sources */, 176 | 828413651D08688E00206E4C /* MacFinder.m in Sources */, 177 | ); 178 | runOnlyForDeploymentPostprocessing = 0; 179 | }; 180 | /* End PBXSourcesBuildPhase section */ 181 | 182 | /* Begin PBXVariantGroup section */ 183 | 8284134D1D0851EF00206E4C /* Main.storyboard */ = { 184 | isa = PBXVariantGroup; 185 | children = ( 186 | 8284134E1D0851EF00206E4C /* Base */, 187 | ); 188 | name = Main.storyboard; 189 | sourceTree = ""; 190 | }; 191 | 828413521D0851EF00206E4C /* LaunchScreen.storyboard */ = { 192 | isa = PBXVariantGroup; 193 | children = ( 194 | 828413531D0851EF00206E4C /* Base */, 195 | ); 196 | name = LaunchScreen.storyboard; 197 | sourceTree = ""; 198 | }; 199 | /* End PBXVariantGroup section */ 200 | 201 | /* Begin XCBuildConfiguration section */ 202 | 828413561D0851F000206E4C /* Debug */ = { 203 | isa = XCBuildConfiguration; 204 | buildSettings = { 205 | ALWAYS_SEARCH_USER_PATHS = NO; 206 | CLANG_ANALYZER_NONNULL = YES; 207 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 208 | CLANG_CXX_LIBRARY = "libc++"; 209 | CLANG_ENABLE_MODULES = YES; 210 | CLANG_ENABLE_OBJC_ARC = YES; 211 | CLANG_WARN_BOOL_CONVERSION = YES; 212 | CLANG_WARN_CONSTANT_CONVERSION = YES; 213 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 214 | CLANG_WARN_EMPTY_BODY = YES; 215 | CLANG_WARN_ENUM_CONVERSION = YES; 216 | CLANG_WARN_INFINITE_RECURSION = YES; 217 | CLANG_WARN_INT_CONVERSION = YES; 218 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 219 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 220 | CLANG_WARN_UNREACHABLE_CODE = YES; 221 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 222 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 223 | COPY_PHASE_STRIP = NO; 224 | DEBUG_INFORMATION_FORMAT = dwarf; 225 | ENABLE_STRICT_OBJC_MSGSEND = YES; 226 | ENABLE_TESTABILITY = YES; 227 | GCC_C_LANGUAGE_STANDARD = gnu99; 228 | GCC_DYNAMIC_NO_PIC = NO; 229 | GCC_NO_COMMON_BLOCKS = YES; 230 | GCC_OPTIMIZATION_LEVEL = 0; 231 | GCC_PREPROCESSOR_DEFINITIONS = ( 232 | "DEBUG=1", 233 | "$(inherited)", 234 | ); 235 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 236 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 237 | GCC_WARN_UNDECLARED_SELECTOR = YES; 238 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 239 | GCC_WARN_UNUSED_FUNCTION = YES; 240 | GCC_WARN_UNUSED_VARIABLE = YES; 241 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 242 | MTL_ENABLE_DEBUG_INFO = YES; 243 | ONLY_ACTIVE_ARCH = YES; 244 | SDKROOT = iphoneos; 245 | }; 246 | name = Debug; 247 | }; 248 | 828413571D0851F000206E4C /* Release */ = { 249 | isa = XCBuildConfiguration; 250 | buildSettings = { 251 | ALWAYS_SEARCH_USER_PATHS = NO; 252 | CLANG_ANALYZER_NONNULL = YES; 253 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 254 | CLANG_CXX_LIBRARY = "libc++"; 255 | CLANG_ENABLE_MODULES = YES; 256 | CLANG_ENABLE_OBJC_ARC = YES; 257 | CLANG_WARN_BOOL_CONVERSION = YES; 258 | CLANG_WARN_CONSTANT_CONVERSION = YES; 259 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 260 | CLANG_WARN_EMPTY_BODY = YES; 261 | CLANG_WARN_ENUM_CONVERSION = YES; 262 | CLANG_WARN_INFINITE_RECURSION = YES; 263 | CLANG_WARN_INT_CONVERSION = YES; 264 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 265 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 266 | CLANG_WARN_UNREACHABLE_CODE = YES; 267 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 268 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 269 | COPY_PHASE_STRIP = NO; 270 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 271 | ENABLE_NS_ASSERTIONS = NO; 272 | ENABLE_STRICT_OBJC_MSGSEND = YES; 273 | GCC_C_LANGUAGE_STANDARD = gnu99; 274 | GCC_NO_COMMON_BLOCKS = YES; 275 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 276 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 277 | GCC_WARN_UNDECLARED_SELECTOR = YES; 278 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 279 | GCC_WARN_UNUSED_FUNCTION = YES; 280 | GCC_WARN_UNUSED_VARIABLE = YES; 281 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 282 | MTL_ENABLE_DEBUG_INFO = NO; 283 | SDKROOT = iphoneos; 284 | VALIDATE_PRODUCT = YES; 285 | }; 286 | name = Release; 287 | }; 288 | 828413591D0851F000206E4C /* Debug */ = { 289 | isa = XCBuildConfiguration; 290 | buildSettings = { 291 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 292 | DEVELOPMENT_TEAM = JSY962FCU8; 293 | INFOPLIST_FILE = MacFinder/Info.plist; 294 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 295 | PRODUCT_BUNDLE_IDENTIFIER = net.miksoft.MacFinder; 296 | PRODUCT_NAME = "$(TARGET_NAME)"; 297 | }; 298 | name = Debug; 299 | }; 300 | 8284135A1D0851F000206E4C /* Release */ = { 301 | isa = XCBuildConfiguration; 302 | buildSettings = { 303 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 304 | DEVELOPMENT_TEAM = JSY962FCU8; 305 | INFOPLIST_FILE = MacFinder/Info.plist; 306 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 307 | PRODUCT_BUNDLE_IDENTIFIER = net.miksoft.MacFinder; 308 | PRODUCT_NAME = "$(TARGET_NAME)"; 309 | }; 310 | name = Release; 311 | }; 312 | /* End XCBuildConfiguration section */ 313 | 314 | /* Begin XCConfigurationList section */ 315 | 8284133C1D0851EF00206E4C /* Build configuration list for PBXProject "MacFinder" */ = { 316 | isa = XCConfigurationList; 317 | buildConfigurations = ( 318 | 828413561D0851F000206E4C /* Debug */, 319 | 828413571D0851F000206E4C /* Release */, 320 | ); 321 | defaultConfigurationIsVisible = 0; 322 | defaultConfigurationName = Release; 323 | }; 324 | 828413581D0851F000206E4C /* Build configuration list for PBXNativeTarget "MacFinder" */ = { 325 | isa = XCConfigurationList; 326 | buildConfigurations = ( 327 | 828413591D0851F000206E4C /* Debug */, 328 | 8284135A1D0851F000206E4C /* Release */, 329 | ); 330 | defaultConfigurationIsVisible = 0; 331 | defaultConfigurationName = Release; 332 | }; 333 | /* End XCConfigurationList section */ 334 | }; 335 | rootObject = 828413391D0851EF00206E4C /* Project object */; 336 | } 337 | --------------------------------------------------------------------------------