char * to struct ether_addr *

Sergio Garcia Irigoyen <[email protected]>
Newsgroups gmane.comp.security.libnet
Message-ID <1075590757.441.14.camel@samiam>
is there any function in libnet to pass from a char * in format
xx:xx:xx:xx:xx:xx to a struct ether_addr* ?
I want to take an argument from command line (ff:ff:ff:ff:ff:ff  in for
example) and use it for ARP packet creation.
is there any function to make that? 

Thank you very much.
Sergio.

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

		Sergio García Irigoyen
		Using Woody Debian GNU/Linux

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.