diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mroute.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/linux/mroute.h b/include/linux/mroute.h index 08bc776d05e2..d5f69151f692 100644 --- a/include/linux/mroute.h +++ b/include/linux/mroute.h | |||
| @@ -59,13 +59,18 @@ struct vifctl { | |||
| 59 | unsigned char vifc_flags; /* VIFF_ flags */ | 59 | unsigned char vifc_flags; /* VIFF_ flags */ |
| 60 | unsigned char vifc_threshold; /* ttl limit */ | 60 | unsigned char vifc_threshold; /* ttl limit */ |
| 61 | unsigned int vifc_rate_limit; /* Rate limiter values (NI) */ | 61 | unsigned int vifc_rate_limit; /* Rate limiter values (NI) */ |
| 62 | struct in_addr vifc_lcl_addr; /* Our address */ | 62 | union { |
| 63 | struct in_addr vifc_lcl_addr; /* Local interface address */ | ||
| 64 | int vifc_lcl_ifindex; /* Local interface index */ | ||
| 65 | }; | ||
| 63 | struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */ | 66 | struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */ |
| 64 | }; | 67 | }; |
| 65 | 68 | ||
| 66 | #define VIFF_TUNNEL 0x1 /* IPIP tunnel */ | 69 | #define VIFF_TUNNEL 0x1 /* IPIP tunnel */ |
| 67 | #define VIFF_SRCRT 0x2 /* NI */ | 70 | #define VIFF_SRCRT 0x2 /* NI */ |
| 68 | #define VIFF_REGISTER 0x4 /* register vif */ | 71 | #define VIFF_REGISTER 0x4 /* register vif */ |
| 72 | #define VIFF_USE_IFINDEX 0x8 /* use vifc_lcl_ifindex instead of | ||
| 73 | vifc_lcl_addr to find an interface */ | ||
| 69 | 74 | ||
| 70 | /* | 75 | /* |
| 71 | * Cache manipulation structures for mrouted and PIMd | 76 | * Cache manipulation structures for mrouted and PIMd |
