X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system.h;h=dee7137555767b031a5dd8f6dec22a6010b21830;hp=4155281c18fb019788eaabf5b11d4b7b0697b7eb;hb=d76dbcf653fc15719cd9d6bb2ab258b94eada46a;hpb=d64c608820ddb4817ef7dff1f993a5801ff99ca2 diff --git a/system.h b/system.h index 4155281..dee7137 100644 --- a/system.h +++ b/system.h @@ -16,6 +16,7 @@ enum bridge_opt { struct bridge_config { enum bridge_opt flags; bool stp; + bool igmp_snoop; int forward_delay; int ageing_time; @@ -44,6 +45,7 @@ int system_del_address(struct device *dev, struct device_addr *addr); int system_add_route(struct device *dev, struct device_route *route); int system_del_route(struct device *dev, struct device_route *route); +int system_flush_routes(void); time_t system_get_rtime(void);