From f6f065d3997ccc8d42805529e4aad59b789579ad Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 13 Nov 2014 15:57:58 +0000 Subject: netifd: Add rpfilter config support Reverse path filtering config support; possible values are: 0: no source validation 1|strict: strict mode as packet will be dropped if the incoming interface is not the best reverse path 2|loose: loose mode as packet will be dropped if the source address is not reachable via any interface Signed-off-by: Hans Dedecker --- system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'system.h') diff --git a/system.h b/system.h index 3bf6f97..9a2326b 100644 --- a/system.h +++ b/system.h @@ -135,6 +135,7 @@ int system_flush_routes(void); bool system_resolve_rt_type(const char *type, unsigned int *id); bool system_resolve_rt_table(const char *name, unsigned int *id); bool system_is_default_rt_table(unsigned int id); +bool system_resolve_rpfilter(const char *filter, unsigned int *id); int system_del_ip_tunnel(const char *name, struct blob_attr *attr); int system_add_ip_tunnel(const char *name, struct blob_attr *attr); -- cgit v1.2.1