X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system.h;h=5e275cad6000595169c1acaef85e934cb8348868;hp=05fbcae8c4564df6e4a31cce99075f8480248a7e;hb=51b3f21fef7f581a7df6d8a73d8b973f9eb355d2;hpb=87648299f8944a3268210e0315f6b5244d42fa4f diff --git a/system.h b/system.h index 05fbcae..5e275ca 100644 --- a/system.h +++ b/system.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_SYSTEM_H #define __NETIFD_SYSTEM_H @@ -11,6 +24,8 @@ enum tunnel_param { TUNNEL_ATTR_REMOTE, TUNNEL_ATTR_LOCAL, TUNNEL_ATTR_TTL, + TUNNEL_ATTR_6RD_PREFIX, + TUNNEL_ATTR_6RD_RELAY_PREFIX, __TUNNEL_ATTR_MAX }; @@ -51,6 +66,7 @@ int system_if_check(struct device *dev); int system_if_dump_info(struct device *dev, struct blob_buf *b); int system_if_dump_stats(struct device *dev, struct blob_buf *b); struct device *system_if_get_parent(struct device *dev); +bool system_if_force_external(const char *ifname); int system_add_address(struct device *dev, struct device_addr *addr); int system_del_address(struct device *dev, struct device_addr *addr);