X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto.h;fp=proto.h;h=57426bd70accdcc8f7542783bb5f3c726bc6f3a8;hp=32f4ffcb68e6e464c538bdc653387b31e308f1c3;hb=c000b546d97aa97144ee2cdf396d46a039bb7f98;hpb=b021a49efe0641f7c5ca763bc43e5ba73b7a1b5f diff --git a/proto.h b/proto.h index 32f4ffc..57426bd 100644 --- a/proto.h +++ b/proto.h @@ -53,5 +53,6 @@ void proto_attach_interface(struct interface *iface, const char *proto_name); int interface_proto_event(struct interface_proto_state *proto, enum interface_proto_cmd cmd, bool force); struct device_addr *proto_parse_ip_addr_string(const char *str, bool v6, int mask); +unsigned int parse_netmask_string(const char *str, bool v6); #endif