Commit 21fdd09
net: Add support for filtering neigh dump by master device
Add support for filtering neighbor dumps by master device by adding
the NDA_MASTER attribute to the dump request. A new netlink flag,
NLM_F_DUMP_FILTERED, is added to indicate the kernel supports the
request and output is filtered as requested.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 5172393 commit 21fdd09
2 files changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
2238 | 2252 | | |
2239 | 2253 | | |
2240 | 2254 | | |
2241 | 2255 | | |
| 2256 | + | |
| 2257 | + | |
2242 | 2258 | | |
2243 | 2259 | | |
2244 | 2260 | | |
2245 | 2261 | | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
2246 | 2274 | | |
2247 | 2275 | | |
2248 | 2276 | | |
| |||
2255 | 2283 | | |
2256 | 2284 | | |
2257 | 2285 | | |
| 2286 | + | |
| 2287 | + | |
2258 | 2288 | | |
2259 | 2289 | | |
2260 | 2290 | | |
2261 | 2291 | | |
2262 | 2292 | | |
2263 | | - | |
| 2293 | + | |
2264 | 2294 | | |
2265 | 2295 | | |
2266 | 2296 | | |
| |||
0 commit comments