FrameWorks/OmniNetworking.framework/Headers/ONLinkLayerHostAddress.h

00001 // Copyright 2003-2005 Omni Development, Inc.  All rights reserved.
00002 //
00003 // This software may only be used and reproduced according to the
00004 // terms in the file OmniSourceLicense.html, which should be
00005 // distributed with this project and can also be found at
00006 // <http://www.omnigroup.com/developer/sourcecode/sourcelicense/>.
00007 //
00008 // $Header: svn+ssh://source.omnigroup.com/Source/svn/Omni/tags/SourceRelease_2005-11-18/OmniGroup/Frameworks/OmniNetworking/ONLinkLayerHostAddress.h 68913 2005-10-03 19:36:19Z kc $
00009 
00010 #import "ONHostAddress.h"
00011 
00012 @interface ONLinkLayerHostAddress : ONHostAddress
00013 {
00014     struct sockaddr_dl *linkAddress;
00015 }
00016 
00017 - initWithLinkLayerAddress:(const struct sockaddr_dl *)dlAddress;
00018 
00019 - (int)interfaceType;
00020     // Returns one of IFT_ETHER, IFT_LOOP, etc.
00021     
00022 - (int)index;
00023     // Returns an integer index assigned to this interface by the kernel at boot time (or, perhaps, when a hot-pluggable interface is discovered). 
00024 
00025 @end

Generated on Sat Aug 26 21:14:14 2006 for MacTrek by  doxygen 1.4.7