aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <[email protected]>2015-11-26 14:23:50 +0000
committerDavid S. Miller <[email protected]>2015-11-30 20:26:23 +0000
commitccbb0aa62da7f4b765b3e311caf25ea43cc3d0ad (patch)
tree19c36dd7093315894566255065147548cc2751fa /lib/netdev-notifier-error-inject.c
parentnet: ipmr: fix setsockopt error return (diff)
downloadkernel-ccbb0aa62da7f4b765b3e311caf25ea43cc3d0ad.tar.gz
kernel-ccbb0aa62da7f4b765b3e311caf25ea43cc3d0ad.zip
net: ipmr: add mfc newroute/delroute netlink support
This patch adds support to add and remove MFC entries. It uses the same attributes like the already present dump support in order to be consistent. There's one new entry - RTA_PREFSRC, it's used to denote an MFC_PROXY entry (see MRT_ADD_MFC vs MRT_ADD_MFC_PROXY). The already existing infrastructure is used to create and delete the entries, the netlink message gets converted internally to a struct mfcctl which is used with ipmr_mfc_add/delete. The other used attributes are: RTA_IIF - used for mfcc_parent (when adding it's required to be valid) RTA_SRC - used for mfcc_origin RTA_DST - used for mfcc_mcastgrp RTA_TABLE - the MRT table id RTA_MULTIPATH - the "oifs" ttl array Signed-off-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions