The userspace may need to control the carrier state.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -59,6 +59,7 @@ · 58 unmodified lines | ||
| 59 | 59 | #define TUNGETVNETBE _IOR('T', 223, int) |
| 60 | 60 | #define TUNSETSTEERINGEBPF _IOR('T', 224, int) |
| 61 | 61 | #define TUNSETFILTEREBPF _IOR('T', 225, int) |
| 62 | +#define TUNSETCARRIER _IOW('T', 226, int) | |
| 62 | 63 | |
| 63 | 64 | /* TUNSETIFF ifr flags */ |
| 64 | 65 | #define IFF_TUN 0x0001 |