Callers must copy the data if it needs to survive across other libpcap calls.
Parameters
s | The ASCII Ethernet address (e.g. "00:11:22:33:44:55"). |
Returns
A pointer to a 6-byte Ethernet address, or
null on error.ubyte * etherAton(string s)Converts an ASCII Ethernet address to its numeric form.
Callers must copy the data if it needs to survive across other libpcap calls.
s | The ASCII Ethernet address (e.g. "00:11:22:33:44:55"). |
null on error.