]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/if_ether.h
net: add mac_pton() for parsing MAC address
[karo-tx-linux.git] / include / linux / if_ether.h
index be69043d2896022603e7fe6f8a6a0c3a2e199af8..0f1325d98295d5b8b88761fe46f34654ffee8011 100644 (file)
@@ -136,6 +136,7 @@ int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
 extern struct ctl_table ether_table[];
 #endif
 
+int mac_pton(const char *s, u8 *mac);
 extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len);
 
 #endif