[PATCH net-next v6] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-17 Thread Callum Sinclair
cleared. MRT_FLUSH_MFC will clear all non static mfc entries and clear the unresolved cache MRT_FLUSH_MFC_STATIC will clear all static mfc entries MRT_FLUSH_VIFS will clear all non static interfaces MRT_FLUSH_VIFS_STATIC will clear all static interfaces. Callum Sinclair (1): ipmr: ip6mr: Create

[PATCH net-next v6] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-17 Thread Callum Sinclair
) and multicast vifs (static or not static). Calling the new socket option MRT_FLUSH with the flags MRT_FLUSH_MFC and MRT_FLUSH_VIFS will clear all entries and vifs on the socket except for static entries. Signed-off-by: Callum Sinclair --- v1 -> v2: Implemented additional flags for sta

[PATCH net-next v5] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-13 Thread Callum Sinclair
cleared. MRT_FLUSH_MFC will clear all non static mfc entries and clear the unresolved cache MRT_FLUSH_MFC_STATIC will clear all static mfc entries MRT_FLUSH_VIFS will clear all non static interfaces MRT_FLUSH_VIFS_STATIC will clear all static interfaces. Callum Sinclair (1): ipmr: ip6mr: Create

[PATCH net-next v5] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-13 Thread Callum Sinclair
) and multicast vifs (static or not static). Calling the new socket option MRT_FLUSH with the flags MRT_FLUSH_MFC and MRT_FLUSH_VIFS will clear all entries and vifs on the socket except for static entries. Signed-off-by: Callum Sinclair --- v1 -> v2: Implemented additional flags for sta

[PATCH net-next v4] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-11 Thread Callum Sinclair
cleared. MRT_FLUSH_MFC will clear all non static mfc entries MRT_FLUSH_MFC_STATIC will clear all static mfc entries MRT_FLUSH_VIFS will clear all non static interfaces MRT_FLUSH_VIFS_STATIC will clear all static interfaces. Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to clear mfc cache

[PATCH net-next v4] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-11 Thread Callum Sinclair
) and multicast vifs (static or not static). Calling the new socket option MRT_FLUSH with the flags MRT_FLUSH_MFC and MRT_FLUSH_VIFS will clear all entries and vifs on the socket except for static entries. Signed-off-by: Callum Sinclair --- v1 -> v2: Implemented additional flags for sta

[PATCH net-next v3] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Callum Sinclair
cleared. MRT_FLUSH_MFC will clear all non static mfc entries MRT_FLUSH_MFC_STATIC will clear all static mfc entries MRT_FLUSH_VIFS will clear all non static interfaces MRT_FLUSH_VIFS_STATIC will clear all static interfaces. Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to clear mfc cache

[PATCH net-next v3] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Callum Sinclair
SH_MFC and MRT_FLUSH_VIFS will clear all entries and vifs on the socket except for static entries. Signed-off-by: Callum Sinclair --- include/uapi/linux/mroute.h | 9 - include/uapi/linux/mroute6.h | 9 - net/ipv4/ipmr.c | 73 - net/ipv6/i

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Callum Sinclair
multicast interfaces can be closed or both can be cleared using one sockopt call. Patch Set 2: - Created new flags to flush static entries or vifs Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs include/uapi/linux/mroute.h | 9 - include/uapi/linux

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Callum Sinclair
socket option MRT_FLUSH_ENTRIES will clear all multicast entries on the sockets table and the MRT_FLUSH_VIFS will delete all multicast vifs on the socket table. Signed-off-by: Callum Sinclair --- include/uapi/linux/mroute.h | 9 - include/uapi/linux/mroute6.h | 9 - net/ipv4/ipmr.c

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-07 Thread Callum Sinclair
option MRT_FLUSH_ENTRIES will clear all multicast entries on the sockets table and the MRT_FLUSH_VIFS will delete all multicast vifs on the socket table. Signed-off-by: Callum Sinclair --- include/uapi/linux/mroute.h | 7 +++- include/uapi/linux/mroute6.h | 7 +++- net/ipv4/ipmr.c

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-07 Thread Callum Sinclair
multicast interfaces can be closed or both can be cleared using one sockopt call. Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs include/uapi/linux/mroute.h | 7 +++- include/uapi/linux/mroute6.h | 7 +++- net/ipv4/ipmr.c | 69

ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-06 Thread Callum Sinclair
multicast interfaces can be closed or both can be cleared using one sockopt call. Patch Set 2: - Fix Compile Errors Patch Set 3: - Fix Style Errors Patch Set 4: - Implemented a way to clear the entries or vifs based off an input flag. Callum Sinclair (1): ipmr: ip6mr: Create new

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-06 Thread Callum Sinclair
: Callum Sinclair --- include/uapi/linux/mroute.h | 7 +++- include/uapi/linux/mroute6.h | 7 +++- net/ipv4/ipmr.c | 69 +- net/ipv6/ip6mr.c | 73 ++-- 4 files changed, 99 insertions(+), 57 deletions(-) diff

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-04 Thread Callum Sinclair
: Callum Sinclair --- include/uapi/linux/mroute.h | 3 ++- include/uapi/linux/mroute6.h | 3 ++- net/ipv4/ipmr.c | 40 +-- net/ipv6/ip6mr.c | 46 +++- 4 files changed, 61 insertions(+), 31 deletions(-) diff --git a

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-04 Thread Callum Sinclair
Created a way to clear the multicast forwarding cache on a socket without having to either remove the entries manually using the delete entry socket option or destroy and recreate the multicast socket. Patch Set 2: - Fix Compile Errors Patch Set 3: - Fix Style Errors Callum Sinclair (1

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-30 Thread Callum Sinclair
Created a way to clear the multicast forwarding cache on a socket without having to either remove the entries manually using the delete entry socket option or destroy and recreate the multicast socket. Patch Set 2: - Fix Compile Errors Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-30 Thread Callum Sinclair
: Callum Sinclair --- include/uapi/linux/mroute.h | 3 ++- include/uapi/linux/mroute6.h | 3 ++- net/ipv4/ipmr.c | 40 +-- net/ipv6/ip6mr.c | 46 +++- 4 files changed, 61 insertions(+), 31 deletions(-) diff --git a

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-29 Thread Callum Sinclair
: Callum Sinclair --- include/uapi/linux/mroute.h | 3 ++- include/uapi/linux/mroute6.h | 3 ++- net/ipv4/ipmr.c | 41 +--- net/ipv6/ip6mr.c | 45 +++- 4 files changed, 60 insertions(+), 32 deletions(-) diff --git

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-29 Thread Callum Sinclair
Created a way to clear the multicast forwarding cache on a socket without having to either remove the entries manually using the delete entry socket option or destroy and recreate the multicast socket. Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to clear mfc cache only include/uapi