Skip to content

Commit

Permalink
move IPPROTO_TLS to netdev to avoid src/syscall dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
scottfeldman authored and deadprogram committed Dec 6, 2023
1 parent 4229e67 commit 43bdc88
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/syscall/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,4 @@ const (
IPPROTO_TCP = 0x6
IPPROTO_UDP = 0x11
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
)

0 comments on commit 43bdc88

Please sign in to comment.