File

teal-src/util/net.d.tl @ 12023:5a3781a12285

mod_admin_shell: Add port as a c2s/s2s:show column definition Allows inferring whether Direct TLS was used, or perhaps which SRV record was chosen. Not shown by default.
author Kim Alvefur <zash@zash.se>
date Tue, 07 Dec 2021 13:21:20 +0100
parent 11577:60bee6822d79
line wrap: on
line source


local enum type_strings
	"both"
	"ipv4"
	"ipv6"
end

local record lib
	local_addresses : function (type_strings, boolean) : { string }
	pton : function (string):string
	ntop : function (string):string
end
return lib