Documentation ¶
Index ¶
- Constants
- Variables
- func TunnelAssignmentID_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelAssignmentID_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelAssignmentID_Del(p *radius.Packet)
- func TunnelAssignmentID_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelAssignmentID_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelAssignmentID_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelAssignmentID_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelAssignmentID_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelAssignmentID_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelAssignmentID_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelAssignmentID_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelClientAuthID_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelClientAuthID_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelClientAuthID_Del(p *radius.Packet)
- func TunnelClientAuthID_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelClientAuthID_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelClientAuthID_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelClientAuthID_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelClientAuthID_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelClientAuthID_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelClientAuthID_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelClientAuthID_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelClientEndpoint_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelClientEndpoint_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelClientEndpoint_Del(p *radius.Packet)
- func TunnelClientEndpoint_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelClientEndpoint_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelClientEndpoint_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelClientEndpoint_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelClientEndpoint_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelClientEndpoint_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelClientEndpoint_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelClientEndpoint_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelMediumType_Add(p *radius.Packet, tag byte, value TunnelMediumType) (err error)
- func TunnelMediumType_Del(p *radius.Packet)
- func TunnelMediumType_Set(p *radius.Packet, tag byte, value TunnelMediumType) (err error)
- func TunnelPassword_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelPassword_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelPassword_Del(p *radius.Packet)
- func TunnelPassword_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelPassword_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelPassword_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelPassword_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelPassword_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelPassword_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelPassword_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelPassword_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelPreference_Add(p *radius.Packet, tag byte, value TunnelPreference) (err error)
- func TunnelPreference_Del(p *radius.Packet)
- func TunnelPreference_Set(p *radius.Packet, tag byte, value TunnelPreference) (err error)
- func TunnelPrivateGroupID_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelPrivateGroupID_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelPrivateGroupID_Del(p *radius.Packet)
- func TunnelPrivateGroupID_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelPrivateGroupID_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelPrivateGroupID_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelPrivateGroupID_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelPrivateGroupID_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelPrivateGroupID_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelPrivateGroupID_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelPrivateGroupID_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelServerAuthID_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelServerAuthID_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelServerAuthID_Del(p *radius.Packet)
- func TunnelServerAuthID_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelServerAuthID_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelServerAuthID_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelServerAuthID_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelServerAuthID_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelServerAuthID_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelServerAuthID_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelServerAuthID_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelServerEndpoint_Add(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelServerEndpoint_AddString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelServerEndpoint_Del(p *radius.Packet)
- func TunnelServerEndpoint_Get(p *radius.Packet) (tag byte, value []byte)
- func TunnelServerEndpoint_GetString(p *radius.Packet) (tag byte, value string)
- func TunnelServerEndpoint_GetStrings(p *radius.Packet) (tags []byte, values []string, err error)
- func TunnelServerEndpoint_Gets(p *radius.Packet) (tags []byte, values [][]byte, err error)
- func TunnelServerEndpoint_Lookup(p *radius.Packet) (tag byte, value []byte, err error)
- func TunnelServerEndpoint_LookupString(p *radius.Packet) (tag byte, value string, err error)
- func TunnelServerEndpoint_Set(p *radius.Packet, tag byte, value []byte) (err error)
- func TunnelServerEndpoint_SetString(p *radius.Packet, tag byte, value string) (err error)
- func TunnelType_Add(p *radius.Packet, tag byte, value TunnelType) (err error)
- func TunnelType_Del(p *radius.Packet)
- func TunnelType_Set(p *radius.Packet, tag byte, value TunnelType) (err error)
- type TunnelMediumType
- type TunnelPreference
- type TunnelType
Constants ¶
View Source
const ( TunnelType_Type radius.Type = 64 TunnelMediumType_Type radius.Type = 65 TunnelClientEndpoint_Type radius.Type = 66 TunnelServerEndpoint_Type radius.Type = 67 TunnelPassword_Type radius.Type = 69 TunnelPrivateGroupID_Type radius.Type = 81 TunnelAssignmentID_Type radius.Type = 82 TunnelPreference_Type radius.Type = 83 TunnelClientAuthID_Type radius.Type = 90 TunnelServerAuthID_Type radius.Type = 91 )
Variables ¶
View Source
var TunnelMediumType_Strings = map[TunnelMediumType]string{ TunnelMediumType_Value_IPv4: "IPv4", TunnelMediumType_Value_IPv6: "IPv6", TunnelMediumType_Value_NSAP: "NSAP", TunnelMediumType_Value_HDLC: "HDLC", TunnelMediumType_Value_BBN1822: "BBN-1822", TunnelMediumType_Value_IEEE802: "IEEE-802", TunnelMediumType_Value_E163: "E.163", TunnelMediumType_Value_E164: "E.164", TunnelMediumType_Value_F69: "F.69", TunnelMediumType_Value_X121: "X.121", TunnelMediumType_Value_IPX: "IPX", TunnelMediumType_Value_Appletalk: "Appletalk", TunnelMediumType_Value_DecNetIV: "DecNet-IV", TunnelMediumType_Value_BanyanVines: "Banyan-Vines", TunnelMediumType_Value_E164NSAP: "E.164-NSAP", }
View Source
var TunnelPreference_Strings = map[TunnelPreference]string{}
View Source
var TunnelType_Strings = map[TunnelType]string{ TunnelType_Value_PPTP: "PPTP", TunnelType_Value_L2F: "L2F", TunnelType_Value_L2TP: "L2TP", TunnelType_Value_ATMP: "ATMP", TunnelType_Value_VTP: "VTP", TunnelType_Value_AH: "AH", TunnelType_Value_IP: "IP", TunnelType_Value_MINIP: "MIN-IP", TunnelType_Value_ESP: "ESP", TunnelType_Value_GRE: "GRE", TunnelType_Value_DVS: "DVS", TunnelType_Value_IPInIP: "IP-in-IP", }
Functions ¶
func TunnelAssignmentID_Add ¶
func TunnelAssignmentID_Del ¶
func TunnelAssignmentID_Get ¶
func TunnelAssignmentID_Gets ¶
func TunnelAssignmentID_Set ¶
func TunnelClientAuthID_Add ¶
func TunnelClientAuthID_Del ¶
func TunnelClientAuthID_Get ¶
func TunnelClientAuthID_Gets ¶
func TunnelClientAuthID_Set ¶
func TunnelMediumType_Add ¶
func TunnelMediumType_Add(p *radius.Packet, tag byte, value TunnelMediumType) (err error)
func TunnelMediumType_Del ¶
func TunnelMediumType_Set ¶
func TunnelMediumType_Set(p *radius.Packet, tag byte, value TunnelMediumType) (err error)
func TunnelPassword_Add ¶
func TunnelPassword_Del ¶
func TunnelPassword_Gets ¶
func TunnelPassword_Lookup ¶
func TunnelPassword_Set ¶
func TunnelPreference_Add ¶
func TunnelPreference_Add(p *radius.Packet, tag byte, value TunnelPreference) (err error)
func TunnelPreference_Del ¶
func TunnelPreference_Set ¶
func TunnelPreference_Set(p *radius.Packet, tag byte, value TunnelPreference) (err error)
func TunnelServerAuthID_Add ¶
func TunnelServerAuthID_Del ¶
func TunnelServerAuthID_Get ¶
func TunnelServerAuthID_Gets ¶
func TunnelServerAuthID_Set ¶
func TunnelType_Add ¶
func TunnelType_Add(p *radius.Packet, tag byte, value TunnelType) (err error)
func TunnelType_Del ¶
func TunnelType_Set ¶
func TunnelType_Set(p *radius.Packet, tag byte, value TunnelType) (err error)
Types ¶
type TunnelMediumType ¶
type TunnelMediumType uint32
const ( TunnelMediumType_Value_IPv4 TunnelMediumType = 1 TunnelMediumType_Value_IPv6 TunnelMediumType = 2 TunnelMediumType_Value_NSAP TunnelMediumType = 3 TunnelMediumType_Value_HDLC TunnelMediumType = 4 TunnelMediumType_Value_BBN1822 TunnelMediumType = 5 TunnelMediumType_Value_IEEE802 TunnelMediumType = 6 TunnelMediumType_Value_E163 TunnelMediumType = 7 TunnelMediumType_Value_E164 TunnelMediumType = 8 TunnelMediumType_Value_F69 TunnelMediumType = 9 TunnelMediumType_Value_X121 TunnelMediumType = 10 TunnelMediumType_Value_IPX TunnelMediumType = 11 TunnelMediumType_Value_Appletalk TunnelMediumType = 12 TunnelMediumType_Value_DecNetIV TunnelMediumType = 13 TunnelMediumType_Value_BanyanVines TunnelMediumType = 14 TunnelMediumType_Value_E164NSAP TunnelMediumType = 15 )
func TunnelMediumType_Get ¶
func TunnelMediumType_Get(p *radius.Packet) (tag byte, value TunnelMediumType)
func TunnelMediumType_Gets ¶
func TunnelMediumType_Gets(p *radius.Packet) (tags []byte, values []TunnelMediumType, err error)
func TunnelMediumType_Lookup ¶
func TunnelMediumType_Lookup(p *radius.Packet) (tag byte, value TunnelMediumType, err error)
func (TunnelMediumType) String ¶
func (a TunnelMediumType) String() string
type TunnelPreference ¶
type TunnelPreference uint32
func TunnelPreference_Get ¶
func TunnelPreference_Get(p *radius.Packet) (tag byte, value TunnelPreference)
func TunnelPreference_Gets ¶
func TunnelPreference_Gets(p *radius.Packet) (tags []byte, values []TunnelPreference, err error)
func TunnelPreference_Lookup ¶
func TunnelPreference_Lookup(p *radius.Packet) (tag byte, value TunnelPreference, err error)
func (TunnelPreference) String ¶
func (a TunnelPreference) String() string
type TunnelType ¶
type TunnelType uint32
const ( TunnelType_Value_PPTP TunnelType = 1 TunnelType_Value_L2F TunnelType = 2 TunnelType_Value_L2TP TunnelType = 3 TunnelType_Value_ATMP TunnelType = 4 TunnelType_Value_VTP TunnelType = 5 TunnelType_Value_AH TunnelType = 6 TunnelType_Value_IP TunnelType = 7 TunnelType_Value_MINIP TunnelType = 8 TunnelType_Value_ESP TunnelType = 9 TunnelType_Value_GRE TunnelType = 10 TunnelType_Value_DVS TunnelType = 11 TunnelType_Value_IPInIP TunnelType = 12 )
func TunnelType_Get ¶
func TunnelType_Get(p *radius.Packet) (tag byte, value TunnelType)
func TunnelType_Gets ¶
func TunnelType_Gets(p *radius.Packet) (tags []byte, values []TunnelType, err error)
func TunnelType_Lookup ¶
func TunnelType_Lookup(p *radius.Packet) (tag byte, value TunnelType, err error)
func (TunnelType) String ¶
func (a TunnelType) String() string
Click to show internal directories.
Click to hide internal directories.