// Copyright 2003-2004 Omni Development, Inc.  All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// <http://www.omnigroup.com/developer/sourcecode/sourcelicense/>.
//
// $Header: /Source/CVS/OmniGroup/Frameworks/OmniNetworking/ONLinkLayerHostAddress.h,v 1.3 2004/02/10 04:07:50 kc Exp $

#import "ONHostAddress.h"

@interface ONLinkLayerHostAddress : ONHostAddress
{
    struct sockaddr_dl *linkAddress;
}

- initWithLinkLayerAddress:(const struct sockaddr_dl *)dlAddress;

- (int)interfaceType;
    // Returns one of IFT_ETHER, IFT_LOOP, etc.
    
- (int)index;
    // Returns an integer index assigned to this interface by the kernel at boot time (or, perhaps, when a hot-pluggable interface is discovered). 

@end
