Dmitry Shmidt | e466304 | 2016-04-04 10:07:49 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Linux bridge configuration kernel interface |
| 3 | * Copyright (c) 2016, Jouni Malinen <j@w1.fi> |
| 4 | * |
| 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
| 7 | */ |
| 8 | |
| 9 | #ifndef LINUX_BRIDGE_H |
| 10 | #define LINUX_BRIDGE_H |
| 11 | |
Dmitry Shmidt | e466304 | 2016-04-04 10:07:49 -0700 | [diff] [blame] | 12 | /* This interface is defined in linux/if_bridge.h */ |
| 13 | |
| 14 | #define BRCTL_GET_VERSION 0 |
| 15 | #define BRCTL_GET_BRIDGES 1 |
| 16 | #define BRCTL_ADD_BRIDGE 2 |
| 17 | #define BRCTL_DEL_BRIDGE 3 |
| 18 | #define BRCTL_ADD_IF 4 |
| 19 | #define BRCTL_DEL_IF 5 |
| 20 | #define BRCTL_GET_BRIDGE_INFO 6 |
| 21 | #define BRCTL_GET_PORT_LIST 7 |
| 22 | #define BRCTL_SET_BRIDGE_FORWARD_DELAY 8 |
| 23 | |
| 24 | #endif /* LINUX_BRIDGE_H */ |