Network.BSD

# Host names

type HostName

getHostName

data HostEntry

getHostByName

getHostByAddr

hostAddress

getHostEntries

## Low level functionality

setHostEntry

getHostEntry

endHostEntry

# Service names

data ServiceEntry

type ServiceName

getServiceByName

getServiceByPort

getServicePortNumber

getServiceEntries

## Low level functionality

getServiceEntry

setServiceEntry

endServiceEntry

# Protocol names

type ProtocolName

type ProtocolNumber

data ProtocolEntry

getProtocolByName

getProtocolByNumber

getProtocolNumber

defaultProtocol

getProtocolEntries

## Low level functionality

setProtocolEntry

getProtocolEntry

endProtocolEntry

# Port numbers

data PortNumber

# Network names

type NetworkName

type NetworkAddr

data NetworkEntry

getNetworkByName

getNetworkByAddr

getNetworkEntries

## Low level functionality

setNetworkEntry

getNetworkEntry

endNetworkEntry

# Interface names

ifNameToIndex