X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=d41042b1828a32ce9b7814fec984fbe304421382;hp=2b7fb13c3568e74e415e41042ec4c88127d7b9ec;hb=b0b11b2295fbb8399949139d82156e123e005902;hpb=677f9754526a7923417fb70f9a8a38adaeb251a6 diff --git a/device.h b/device.h index 2b7fb13..d41042b 100644 --- a/device.h +++ b/device.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 __LL_H #define __LL_H @@ -23,6 +36,7 @@ enum { enum dev_change_type { DEV_CONFIG_NO_CHANGE, DEV_CONFIG_APPLIED, + DEV_CONFIG_RESTART, DEV_CONFIG_RECREATE, }; @@ -125,6 +139,7 @@ struct device_hotplug_ops { extern const struct config_param_list device_attr_list; extern const struct device_type simple_device_type; extern const struct device_type bridge_device_type; +extern const struct device_type tunnel_device_type; void device_lock(void); void device_unlock(void);