mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
move IPPROTO_TLS to netdev to avoid src/syscall dependency
This commit is contained in:
@@ -44,10 +44,4 @@ const (
|
|||||||
IPPROTO_TCP = 0x6
|
IPPROTO_TCP = 0x6
|
||||||
IPPROTO_UDP = 0x11
|
IPPROTO_UDP = 0x11
|
||||||
F_SETFL = 0x4
|
F_SETFL = 0x4
|
||||||
|
|
||||||
// TINYGO: Made up, not a real IP protocol number. This is used to
|
|
||||||
// create a TLS socket on the device, assuming the device supports mbed
|
|
||||||
// TLS.
|
|
||||||
|
|
||||||
IPPROTO_TLS = 0xFE
|
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user