Documentation
¶
Overview ¶
Code generated by go-xdr. DO NOT EDIT.
Index ¶
- Constants
- Variables
- type AcceptStat
- type AcceptedReply
- type AcceptedReplyData
- type AcceptedReplyData_PROG_MISMATCH
- type AcceptedReplyData_SUCCESS
- type AcceptedReplyData_default
- type AuthFlavor
- type AuthStat
- type AuthsysParms
- type CallBody
- type MsgType
- type OpaqueAuth
- type RejectStat
- type RejectedReply
- type RejectedReply_AUTH_ERROR
- type RejectedReply_RPC_MISMATCH
- type ReplyBody
- type ReplyBody_MSG_ACCEPTED
- type ReplyBody_MSG_DENIED
- type ReplyStat
- type RpcMsg
- type RpcMsgBody_CALL
- type RpcMsgBody_REPLY
Constants ¶
View Source
const AcceptStatEncodedSizeBytes = 4
View Source
const AuthFlavorEncodedSizeBytes = 4
View Source
const AuthStatEncodedSizeBytes = 4
View Source
const MsgTypeEncodedSizeBytes = 4
View Source
const RejectStatEncodedSizeBytes = 4
View Source
const ReplyStatEncodedSizeBytes = 4
Variables ¶
View Source
var AcceptStat_name = map[AcceptStat]string{
4: "GARBAGE_ARGS",
3: "PROC_UNAVAIL",
2: "PROG_MISMATCH",
1: "PROG_UNAVAIL",
0: "SUCCESS",
5: "SYSTEM_ERR",
}
View Source
var AuthFlavor_name = map[AuthFlavor]string{
3: "AUTH_DH",
0: "AUTH_NONE",
2: "AUTH_SHORT",
1: "AUTH_SYS",
6: "RPCSEC_GSS",
}
View Source
var AuthStat_name = map[AuthStat]string{
1: "AUTH_BADCRED",
3: "AUTH_BADVERF",
11: "AUTH_DECODE",
7: "AUTH_FAILED",
6: "AUTH_INVALIDRESP",
8: "AUTH_KERB_GENERIC",
12: "AUTH_NET_ADDR",
0: "AUTH_OK",
2: "AUTH_REJECTEDCRED",
4: "AUTH_REJECTEDVERF",
9: "AUTH_TIMEEXPIRE",
10: "AUTH_TKT_FILE",
5: "AUTH_TOOWEAK",
13: "RPCSEC_GSS_CREDPROBLEM",
14: "RPCSEC_GSS_CTXPROBLEM",
}
View Source
var MsgType_name = map[MsgType]string{
0: "CALL",
1: "REPLY",
}
View Source
var RejectStat_name = map[RejectStat]string{
1: "AUTH_ERROR",
0: "RPC_MISMATCH",
}
View Source
var ReplyStat_name = map[ReplyStat]string{
0: "MSG_ACCEPTED",
1: "MSG_DENIED",
}
Functions ¶
This section is empty.
Types ¶
type AcceptStat ¶
type AcceptStat int32
const GARBAGE_ARGS AcceptStat = 4
const PROC_UNAVAIL AcceptStat = 3
const PROG_MISMATCH AcceptStat = 2
const PROG_UNAVAIL AcceptStat = 1
const SUCCESS AcceptStat = 0
const SYSTEM_ERR AcceptStat = 5
type AcceptedReply ¶
type AcceptedReply struct { Verf OpaqueAuth ReplyData AcceptedReplyData }
func (*AcceptedReply) GetEncodedSizeBytes ¶
func (m *AcceptedReply) GetEncodedSizeBytes() (nTotal int)
type AcceptedReplyData ¶
type AcceptedReplyData interface { GetStat() AcceptStat io.WriterTo GetEncodedSizeBytes() int // contains filtered or unexported methods }
func ReadAcceptedReplyData ¶
func ReadAcceptedReplyData(r io.Reader) (m AcceptedReplyData, nTotal int64, err error)
type AcceptedReplyData_PROG_MISMATCH ¶
func (*AcceptedReplyData_PROG_MISMATCH) GetEncodedSizeBytes ¶
func (m *AcceptedReplyData_PROG_MISMATCH) GetEncodedSizeBytes() (nTotal int)
func (*AcceptedReplyData_PROG_MISMATCH) GetStat ¶
func (m *AcceptedReplyData_PROG_MISMATCH) GetStat() AcceptStat
type AcceptedReplyData_SUCCESS ¶
type AcceptedReplyData_SUCCESS struct {
Results [0]byte
}
func (*AcceptedReplyData_SUCCESS) GetEncodedSizeBytes ¶
func (m *AcceptedReplyData_SUCCESS) GetEncodedSizeBytes() (nTotal int)
func (*AcceptedReplyData_SUCCESS) GetStat ¶
func (m *AcceptedReplyData_SUCCESS) GetStat() AcceptStat
type AcceptedReplyData_default ¶
type AcceptedReplyData_default struct {
Stat AcceptStat
}
func (*AcceptedReplyData_default) GetEncodedSizeBytes ¶
func (m *AcceptedReplyData_default) GetEncodedSizeBytes() (nTotal int)
func (*AcceptedReplyData_default) GetStat ¶
func (m *AcceptedReplyData_default) GetStat() AcceptStat
type AuthFlavor ¶
type AuthFlavor int32
const AUTH_DH AuthFlavor = 3
const AUTH_NONE AuthFlavor = 0
const AUTH_SHORT AuthFlavor = 2
const AUTH_SYS AuthFlavor = 1
const RPCSEC_GSS AuthFlavor = 6
type AuthStat ¶
type AuthStat int32
const AUTH_BADCRED AuthStat = 1
const AUTH_BADVERF AuthStat = 3
const AUTH_DECODE AuthStat = 11
const AUTH_FAILED AuthStat = 7
const AUTH_INVALIDRESP AuthStat = 6
const AUTH_KERB_GENERIC AuthStat = 8
const AUTH_NET_ADDR AuthStat = 12
const AUTH_OK AuthStat = 0
const AUTH_REJECTEDCRED AuthStat = 2
const AUTH_REJECTEDVERF AuthStat = 4
const AUTH_TIMEEXPIRE AuthStat = 9
const AUTH_TKT_FILE AuthStat = 10
const AUTH_TOOWEAK AuthStat = 5
const RPCSEC_GSS_CREDPROBLEM AuthStat = 13
const RPCSEC_GSS_CTXPROBLEM AuthStat = 14
type AuthsysParms ¶
func (*AuthsysParms) GetEncodedSizeBytes ¶
func (m *AuthsysParms) GetEncodedSizeBytes() (nTotal int)
type CallBody ¶
type CallBody struct { Rpcvers uint32 Prog uint32 Vers uint32 Proc uint32 Cred OpaqueAuth Verf OpaqueAuth }
func (*CallBody) GetEncodedSizeBytes ¶
type OpaqueAuth ¶
type OpaqueAuth struct { Flavor AuthFlavor Body []byte }
func (*OpaqueAuth) GetEncodedSizeBytes ¶
func (m *OpaqueAuth) GetEncodedSizeBytes() (nTotal int)
type RejectStat ¶
type RejectStat int32
const AUTH_ERROR RejectStat = 1
const RPC_MISMATCH RejectStat = 0
type RejectedReply ¶
type RejectedReply interface { GetStat() RejectStat io.WriterTo GetEncodedSizeBytes() int // contains filtered or unexported methods }
func ReadRejectedReply ¶
func ReadRejectedReply(r io.Reader) (m RejectedReply, nTotal int64, err error)
type RejectedReply_AUTH_ERROR ¶
type RejectedReply_AUTH_ERROR struct {
Stat AuthStat
}
func (*RejectedReply_AUTH_ERROR) GetEncodedSizeBytes ¶
func (m *RejectedReply_AUTH_ERROR) GetEncodedSizeBytes() (nTotal int)
func (*RejectedReply_AUTH_ERROR) GetStat ¶
func (m *RejectedReply_AUTH_ERROR) GetStat() RejectStat
type RejectedReply_RPC_MISMATCH ¶
func (*RejectedReply_RPC_MISMATCH) GetEncodedSizeBytes ¶
func (m *RejectedReply_RPC_MISMATCH) GetEncodedSizeBytes() (nTotal int)
func (*RejectedReply_RPC_MISMATCH) GetStat ¶
func (m *RejectedReply_RPC_MISMATCH) GetStat() RejectStat
type ReplyBody ¶
type ReplyBody_MSG_ACCEPTED ¶
type ReplyBody_MSG_ACCEPTED struct {
Areply AcceptedReply
}
func (*ReplyBody_MSG_ACCEPTED) GetEncodedSizeBytes ¶
func (m *ReplyBody_MSG_ACCEPTED) GetEncodedSizeBytes() (nTotal int)
func (*ReplyBody_MSG_ACCEPTED) GetStat ¶
func (m *ReplyBody_MSG_ACCEPTED) GetStat() ReplyStat
type ReplyBody_MSG_DENIED ¶
type ReplyBody_MSG_DENIED struct {
Rreply RejectedReply
}
func (*ReplyBody_MSG_DENIED) GetEncodedSizeBytes ¶
func (m *ReplyBody_MSG_DENIED) GetEncodedSizeBytes() (nTotal int)
func (*ReplyBody_MSG_DENIED) GetStat ¶
func (m *ReplyBody_MSG_DENIED) GetStat() ReplyStat
type ReplyStat ¶
type ReplyStat int32
const MSG_ACCEPTED ReplyStat = 0
const MSG_DENIED ReplyStat = 1
type RpcMsg ¶
type RpcMsg struct { Xid uint32 Body interface { GetMtype() MsgType io.WriterTo GetEncodedSizeBytes() int // contains filtered or unexported methods } }
func (*RpcMsg) GetEncodedSizeBytes ¶
type RpcMsgBody_CALL ¶
type RpcMsgBody_CALL struct {
Cbody CallBody
}
func (*RpcMsgBody_CALL) GetEncodedSizeBytes ¶
func (m *RpcMsgBody_CALL) GetEncodedSizeBytes() (nTotal int)
func (*RpcMsgBody_CALL) GetMtype ¶
func (m *RpcMsgBody_CALL) GetMtype() MsgType
type RpcMsgBody_REPLY ¶
type RpcMsgBody_REPLY struct {
Rbody ReplyBody
}
func (*RpcMsgBody_REPLY) GetEncodedSizeBytes ¶
func (m *RpcMsgBody_REPLY) GetEncodedSizeBytes() (nTotal int)
func (*RpcMsgBody_REPLY) GetMtype ¶
func (m *RpcMsgBody_REPLY) GetMtype() MsgType
Click to show internal directories.
Click to hide internal directories.