etherHostton

fnubyte * etherHostton(string name)

Resolves an Ethernet host name to its address.

Note

The returned pointer is owned by libpcap's internal state.

Callers must copy the data if it needs to survive across other libpcap calls.

Parameters

nameThe host name.

Returns

A pointer to a 6-byte Ethernet address, or null if not found.