Resolve alternative ifnames wherever we would resolve an interface name

To keep the names manageable, "ifname_or_ifindex" is replaced by "interface".
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-01-12 11:24:35 +01:00
parent fc2ea97ad0
commit d308bb99d2
9 changed files with 47 additions and 58 deletions
-1
View File
@@ -14,7 +14,6 @@ int parse_dev(const char *s, dev_t *ret);
int parse_pid(const char *s, pid_t* ret_pid);
int parse_mode(const char *s, mode_t *ret);
int parse_ifindex(const char *s);
int parse_ifindex_or_ifname(const char *s);
int parse_mtu(int family, const char *s, uint32_t *ret);
int parse_size(const char *t, uint64_t base, uint64_t *size);