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-dummy.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system-dummy.c') diff --git a/system-dummy.c b/system-dummy.c index 7d54315..76c6ffa 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -209,6 +209,12 @@ bool system_is_default_rt_table(unsigned int id) return true; } +bool system_resolve_rpfilter(const char *filter, unsigned int *id) +{ + *id = 0; + return true; +} + int system_add_iprule(struct iprule *rule) { return 0; -- cgit v1.2.1