20#import "OFSystemInfo.h"
22OF_ASSUME_NONNULL_BEGIN
46extern OFNetworkInterfaceKey OFNetworkInterfaceIndex;
53extern OFNetworkInterfaceKey OFNetworkInterfaceHardwareAddress;
60extern OFNetworkInterfaceKey OFNetworkInterfaceIPv4Addresses;
68extern OFNetworkInterfaceKey OFNetworkInterfaceIPv6Addresses;
77extern OFNetworkInterfaceKey OFNetworkInterfaceIPXAddresses;
80#ifdef OF_HAVE_APPLETALK
86extern OFNetworkInterfaceKey OFNetworkInterfaceAppleTalkAddresses;
89@interface OFSystemInfo (NetworkInterfaces)
91#ifdef OF_HAVE_CLASS_PROPERTIES
92@property (
class, readonly, nullable, nonatomic)
93 OFDictionary OF_GENERIC(OFString *, OFNetworkInterface) *networkInterfaces;
A class for storing constant strings using the @"" literal.
Definition OFConstantString.h:42
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A class for handling strings.
Definition OFString.h:143
nullable OFDictionary * networkInterfaces()
Returns the available (though not necessarily configured) network interfaces.