diff options
| author | 2016-09-30 12:32:31 +0000 | |
|---|---|---|
| committer | 2016-09-30 12:32:31 +0000 | |
| commit | aaa615556e5a379e7a68785d80cb63a285b30c56 (patch) | |
| tree | 88f913651a75d4cefb9120fb838df0fd7c82075b /usr.sbin/switchd/types.h | |
| parent | Use WSKBDIO_GETENCODINGS ioctl to generate a list of supported keyboard (diff) | |
| download | wireguard-openbsd-aaa615556e5a379e7a68785d80cb63a285b30c56.tar.xz wireguard-openbsd-aaa615556e5a379e7a68785d80cb63a285b30c56.zip | |
Open next available tap(4) device instead of just tap0
Diffstat (limited to 'usr.sbin/switchd/types.h')
| -rw-r--r-- | usr.sbin/switchd/types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/switchd/types.h b/usr.sbin/switchd/types.h index 6bb1598dd2e..aab9f13588d 100644 --- a/usr.sbin/switchd/types.h +++ b/usr.sbin/switchd/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.4 2016/09/30 11:57:57 reyk Exp $ */ +/* $OpenBSD: types.h,v 1.5 2016/09/30 12:32:31 reyk Exp $ */ /* * Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org> @@ -30,11 +30,12 @@ #endif #define SWITCHD_SOCKET "/var/run/" SWITCHD_NAME "d.sock" -#define SWITCHD_MAX_SESSIONS 0xffff #define SWITCHD_FD_RESERVE 5 #define SWITCHD_CYCLE_BUFFERS 8 /* # of static buffers for mapping */ #define SWITCHD_READ_BUFFER 0xffff #define SWITCHD_MSGBUF_MAX 0xffff +#define SWITCHD_MAX_TAP 256 +#define SWITCHD_MAX_SESSIONS 0xffff #define SWITCHD_CTLR_PORT 6633 /* Previously used by OpenFlow */ #define SWITCHD_CTLR_IANA_PORT 6653 /* Assigned by IANA for OpenFlow */ |
