socket-util: introduce address_label_valid

This commit is contained in:
Susant Sahani
2017-02-28 16:53:58 +05:30
parent ccdda9556e
commit 2680894816
2 changed files with 21 additions and 0 deletions
+1
View File
@@ -126,6 +126,7 @@ int ip_tos_to_string_alloc(int i, char **s);
int ip_tos_from_string(const char *s);
bool ifname_valid(const char *p);
bool address_label_valid(const char *p);
int getpeercred(int fd, struct ucred *ucred);
int getpeersec(int fd, char **ret);