X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto.h;h=e86a8a352a1b11c3db6e8fe465e0f487634a1560;hp=f8e7a865eed5f6e881708cbbe370b0983ca9e97b;hb=0c583b94a530e2c34338a614689e0f9cec1e8664;hpb=a3606a74c672ef6471c006d15262dbb8ea60d025 diff --git a/proto.h b/proto.h index f8e7a86..e86a8a3 100644 --- a/proto.h +++ b/proto.h @@ -1,3 +1,16 @@ +/* + * netifd - network interface daemon + * Copyright (C) 2012 Felix Fietkau + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ #ifndef __NETIFD_PROTO_H #define __NETIFD_PROTO_H @@ -55,7 +68,6 @@ void proto_init_interface(struct interface *iface, struct blob_attr *attr); 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); int proto_apply_ip_settings(struct interface *iface, struct blob_attr *attr, bool ext);