Add convertion function from string to macaddress

This commit is contained in:
vemax78
2013-10-06 22:36:29 +02:00
parent a7e9ab26a1
commit 680354c842
2 changed files with 20 additions and 0 deletions

View File

@ -93,5 +93,6 @@ int capwap_address_from_string(const char* ip, struct sockaddr_storage* address)
int capwap_get_localaddress_by_remoteaddress(struct sockaddr_storage* local, struct sockaddr_storage* remote, char* oif, int ipv6dualstack);
char* capwap_printf_macaddress(char* buffer, unsigned char* macaddress, int type);
int capwap_scanf_macaddress(unsigned char* macaddress, const char* buffer, int type);
#endif /* __CAPWAP_NETWORK_HEADER__ */