diff --git a/unix/mkerrors.sh b/unix/mkerrors.sh index ca50e4e1..2ab44aa6 100755 --- a/unix/mkerrors.sh +++ b/unix/mkerrors.sh @@ -297,6 +297,10 @@ struct ltchars { #define SOL_NETLINK 270 #endif +#ifndef SOL_SMC +#define SOL_SMC 286 +#endif + #ifdef SOL_BLUETOOTH // SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h // but it is already in bluetooth_linux.go diff --git a/unix/zerrors_linux.go b/unix/zerrors_linux.go index b0d6c273..785d693e 100644 --- a/unix/zerrors_linux.go +++ b/unix/zerrors_linux.go @@ -2940,6 +2940,7 @@ const ( SOL_RAW = 0xff SOL_RDS = 0x114 SOL_RXRPC = 0x110 + SOL_SMC = 0x11e SOL_TCP = 0x6 SOL_TIPC = 0x10f SOL_TLS = 0x11a