Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/time
/ types & classes
Types & classes
540 in github.com/facebook/time
⨍
Functions
3,016
◇
Types & classes
540
↓ 13 callers
TypeAlias
ClockIdentity
The ClockIdentity type identifies unique entities within a PTP Network, e.g. a PTP Instance or an entity of a common service.
ptp/protocol/types.go:199
↓ 10 callers
TypeAlias
ClockClass
ClockClass is a oscillatord specific ClockClass
oscillatord/monitoring.go:160
↓ 7 callers
TypeAlias
Correction
* Correction is the value of the correction measured in nanoseconds and multiplied by 2**16. For example, 2.5 ns is represented as 0000 0000 0002 8000
ptp/protocol/types.go:158
↓ 5 callers
TypeAlias
ExtensionFieldType
* NTP Extension Field framing per RFC 7822 §7.5. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
ntp/protocol/extension_fields.go:53
↓ 5 callers
TypeAlias
LogInterval
LogInterval shall be the logarithm, to base 2, of the requested period in seconds. In layman's terms, it's specified as a power of two in seconds.
ptp/protocol/types.go:550
↓ 5 callers
TypeAlias
UnicastMsgTypeAndFlags
UnicastMsgTypeAndFlags is a uint8 where first 4 bites contain MessageType and last 4 bits contain some flags
ptp/protocol/unicast.go:25
↓ 4 callers
Interface
TestResult
TestResult is what we get after the test run
ptp/linearizability/linearizability.go:27
↓ 3 callers
TypeAlias
AEADAlgorithm
AEADAlgorithm is a 16-bit IANA "AEAD Algorithms" registry identifier negotiated via NTS-KE and used to select the AEAD for the Authenticator extension
ntp/protocol/extension_fields.go:97
↓ 3 callers
TypeAlias
PTPText
* PTPText data type is used to represent textual material in PTP messages. TextField is encoded as UTF-8. The most significant byte of the leading tex
ptp/protocol/types.go:583
↓ 3 callers
TypeAlias
RxFilter
RxFilter represents a value of unix.HwTstampConfig.Rx_filter
cmd/ptpcheck/cmd/nic.go:135
↓ 3 callers
TypeAlias
SdoIDAndMsgType
SdoIDAndMsgType is a uint8 where first 4 bites contain SdoID and last 4 bits MessageType
ptp/protocol/types.go:67
↓ 3 callers
TypeAlias
TLVType
TLVType is type for TLV types
ptp/protocol/types.go:88
↓ 3 callers
TypeAlias
TxType
TxType represents a value of unix.HwTstampConfig.Tx_type
cmd/ptpcheck/cmd/nic.go:98
↓ 3 callers
TypeAlias
chronyFloat
* 32-bit floating-point format consisting of 7-bit signed exponent and 25-bit signed coefficient without hidden bit. The result is calculated as: 2^(e
ntp/chrony/helpers.go:115
↓ 2 callers
TypeAlias
ClockAccuracy
ClockAccuracy represents a PTP clock accuracy
ptp/protocol/types.go:395
↓ 2 callers
TypeAlias
ClockClass
ClockClass represents a PTP clock class
ptp/protocol/types.go:380
↓ 2 callers
TypeAlias
IntFloat
IntFloat is a float64 stored in int64
ptp/protocol/types.go:124
↓ 2 callers
TypeAlias
MessageType
MessageType is type for Message Types
ptp/protocol/types.go:32
↓ 2 callers
TypeAlias
SourceStateType
SourceStateType identifies source (peer) state
ntp/chrony/packet.go:40
↓ 2 callers
TypeAlias
Timestamp
Timestamp is a type of timestamp
timestamp/timestamp.go:45
↓ 1 callers
TypeAlias
AntennaGen
AntennaGen represents antenna generation and phase
caliper/caliper.go:26
↓ 1 callers
TypeAlias
Channel
Channel is a Calnex channel object
calnex/api/api.go:132
↓ 1 callers
TypeAlias
ManagementErrorID
ManagementErrorID is an enum for possible management errors
ptp/protocol/management.go:247
↓ 1 callers
TypeAlias
ModeType
ModeType identifies source (peer) mode
ntp/chrony/packet.go:37
↓ 1 callers
TypeAlias
PTPSysOffsetExtended
PTPSysOffsetExtended wraps unix.PtpSysOffsetExtended to add methods
phc/offset.go:33
↓ 1 callers
TypeAlias
PTPSysOffsetPrecise
PTPSysOffsetPrecise wraps unix.PtpSysOffsetPrecise to add methods
phc/offset.go:36
↓ 1 callers
TypeAlias
PacketType
PacketType - request or reply
ntp/chrony/packet.go:46
↓ 1 callers
TypeAlias
PinFunc
PinFunc type represents the pin function values.
cmd/ptpcheck/cmd/pins.go:98
↓ 1 callers
TypeAlias
Probe
Probe is a Calnex probe protocol
calnex/api/api.go:398
↓ 1 callers
TypeAlias
ReceiverModel
ReceiverModel represents the Huber-Suhner GNSS receiver model
caliper/caliper.go:48
↓ 1 callers
TypeAlias
RxFilterCaps
RxFilterCaps represents a value of unix.EthtoolTsInfo.Rx_filters
cmd/ptpcheck/cmd/nic.go:164
↓ 1 callers
TypeAlias
State
State provides the result of servo calculation
servo/servo.go:31
↓ 1 callers
TypeAlias
TimeInterval
* TimeInterval is the time interval expressed in nanoseconds, multiplied by 2**16. Positive or negative time intervals outside the maximum range of th
ptp/protocol/types.go:137
↓ 1 callers
TypeAlias
TimeSource
TimeSource indicates the immediate source of time used by the Grandmaster PTP Instance
ptp/protocol/types.go:516
↓ 1 callers
TypeAlias
TransportType
TransportType is a enum describing network transport protocol types
ptp/protocol/types.go:667
↓ 1 callers
TypeAlias
TxTypeCaps
TxTypeCaps represents a value of unix.EthtoolTsInfo.Tx_types
cmd/ptpcheck/cmd/nic.go:115
↓ 1 callers
TypeAlias
UnicastMasterState
UnicastMasterState is a enum describing the unicast master state in ptp4l unicast master table
ptp/protocol/ptp4l.go:44
Interface
AEAD
AEAD is the authenticated-encryption interface used to protect the encrypted extension fields of an NTS-protected NTP packet (RFC 8915). Implementatio
ntp/protocol/nts/aead.go:33
Struct
API
API is struct for accessing calnex API
calnex/api/api.go:39
Struct
AcknowledgeCancelUnicastTransmissionTLV
AcknowledgeCancelUnicastTransmissionTLV Table 113 ACKNOWLEDGE_CANCEL_UNICAST_TRANSMISSION TLV format
ptp/protocol/tlvs.go:289
TypeAlias
Action
Action indicate the action to be taken on receipt of the PTP message as defined in Table 57
ptp/protocol/management.go:40
Struct
Activity
Activity contains parsed version of 'activity' reply
ntp/chrony/packet.go:770
Struct
AlternateResponsePortTLV
AlternateResponsePortTLV is a CSPTP optional TLV to switch response source port of the server Offset flag indicates the number of the port steps, not
ptp/protocol/tlvs.go:423
Struct
AlternateTimeOffsetIndicatorTLV
AlternateTimeOffsetIndicatorTLV is a Table 116 ALTERNATE_TIME_OFFSET_INDICATOR TLV format
ptp/protocol/tlvs.go:364
Interface
Announce
Announce is an announce interface
ntp/responder/server/interfaces.go:54
Struct
Announce
Announce is a full Announce packet
ptp/protocol/protocol.go:187
Struct
AnnounceBody
General PTP messages All packets are split in three parts: Header (which is common), body that is unique for most packets (both in length and structur
ptp/protocol/protocol.go:174
Struct
AntennaDescriptor
AntennaDescriptor holds parameters for generating RTCM 1033 (Receiver and Antenna Descriptor) messages.
rtcm/encode.go:23
TypeAlias
AntennaPower
AntennaPower is an enum describing antenna power status as reported by oscillatord
oscillatord/monitoring.go:68
TypeAlias
AntennaStatus
AntennaStatus is an enum describing antenna status as reported by oscillatord
oscillatord/monitoring.go:38
Struct
AsymmetryConfig
AsymmetryConfig describes configuration for asymmetry correction
ptp/sptp/client/config.go:100
Struct
AuthenticatorBody
* NTS Authenticator and Encrypted Extension Fields (RFC 8915 §5.6). 0 1 2 3 0 1 2 3 4 5 6 7 8
ntp/protocol/nts/authenticator.go:63
Struct
BackoffConfig
BackoffConfig describes configuration for backoff in case of unavailable GM
ptp/sptp/client/config.go:50
Interface
BinaryMarshalerTo
BinaryMarshalerTo is an interface implemented by an object that can marshal itself into a binary form into provided []byte
ptp/protocol/protocol.go:503
Struct
BitReader
BitReader reads arbitrary numbers of bits from a byte slice.
rtcm/bits.go:20
Struct
BitWriter
BitWriter writes arbitrary numbers of bits to a byte slice.
rtcm/bits.go:67
Struct
Bundle
Bundle holds details of a key + its certificates
calnex/cert/cert.go:55
Struct
CSVLogger
CSVLogger logs Sample as CSV into given writer
fbclock/daemon/logging.go:97
Struct
CalnexConfig
CalnexConfig is a config representation of calnex
calnex/config/config.go:34
Struct
CalnexUpgrader
CalnexUpgrader represents an upgradeable firmware
calnex/firmware/firmware.go:49
Interface
CalnexUpgraderInterface
CalnexUpgraderInterface represents an upgradeable firmware
calnex/firmware/firmware.go:42
TypeAlias
Calnexes
Calnexes is a map of devices to CalnexConfig
calnex/config/config.go:31
Struct
CancelUnicastTransmissionTLV
CancelUnicastTransmissionTLV Table 112 CANCEL_UNICAST_TRANSMISSION TLV format
ptp/protocol/tlvs.go:258
Struct
ChannelStatus
ChannelStatus is a struct representing Calnex channel instrument status
calnex/api/api.go:63
TypeAlias
Channels
Channels is a list of Channel
calnex/api/api.go:135
Interface
Check
Check abstracts the checks to be executed
calnex/verify/checks/check.go:22
Interface
Checker
Checker is an internal healthcheck interface
ntp/responder/server/interfaces.go:65
Struct
ChronyCheck
ChronyCheck gathers NTP stats using chronyc/chronyd protocol client
cmd/ntpcheck/checker/chrony.go:66
Struct
Client
Client is an NTRIP v1 SOURCE client that pushes RTCM data to a caster.
ntrip/client.go:95
Struct
Client
Client is a very simplified PTPv2 unicast client. Whenever it has all the data to calculate offset/delay/etc it will call provided callback function w
ptp/simpleclient/client.go:109
Struct
Client
Client contains attributes associated with SPTP client communication to a single server
ptp/sptp/client/client.go:85
Struct
Client
Client talks to chronyd
ntp/chrony/client.go:29
Struct
ClientAccess
ClientAccess contains parsed per-client statistics from chronyd's 'clients' command. IPAddr is the raw chrony IPAddr; use ToNetIP for a resolved net.I
ntp/chrony/packet.go:950
Struct
ClientAccessesByIndex
ClientAccessesByIndex contains parsed 'clients' reply: chronyd's known index count, the next index to resume pagination from, and up to MaxClientAcces
ntp/chrony/packet.go:974
Interface
Clock
Clock is the iface for clock device controls
ptp/sptp/client/clock.go:31
Struct
Clock
Clock describes structure that oscillatord returns for clock
oscillatord/monitoring.go:229
Struct
ClockAccuracyTLV
ClockAccuracyTLV is a TLV containing Clock Accuracy
ptp/protocol/management_tlvs.go:233
Struct
ClockQuality
ClockQuality represents the quality of a clock.
ptp/protocol/types.go:509
TypeAlias
CommandType
CommandType identifies command type in both request and repy
ntp/chrony/packet.go:34
TypeAlias
ComparisonResult
ComparisonResult is the type to represent comparisons
ptp/sptp/bmc/bmc.go:24
Struct
Config
Config holds the NTRIP caster connection parameters.
ntrip/client.go:39
Struct
Config
Config is the Ziffy config struct
cmd/ziffy/node/config.go:39
Struct
Config
Config is a server config structure
ptp/ptp4u/server/config.go:81
Struct
Config
Config specifies Client run options
ptp/simpleclient/client.go:93
Struct
Config
Config is a struct representing the config of the c4u
ptp/c4u/c4u.go:50
Struct
Config
Config specifies SPTP run options
ptp/sptp/client/config.go:117
Struct
Config
Config is a server config structure
ntp/responder/server/config.go:32
Struct
Config
Config represents configuration we expect to read from file
fbclock/daemon/config.go:31
TypeAlias
Counters
Counters is various counters exported by SPTP client
ptp/sptp/stats/stats.go:82
Struct
CurrentDataSetTLV
CurrentDataSetTLV Spec Table 84 - CURRENT_DATA_SET management TLV data field
ptp/protocol/management_tlvs.go:194
Struct
Daemon
Daemon is a component of fbclock that runs continuously, talks to ptp4l, does the math and populates shared memory for client library to read from.
fbclock/daemon/daemon.go:110
Struct
Data
Data is a Go equivalent of what we want to store in shared memory for fbclock to use
fbclock/types.go:32
Interface
DataFetcher
DataFetcher is the data fetcher interface
fbclock/daemon/daemon.go:98
Struct
DataPoint
DataPoint is a single OTDR measurement
caliper/tor.go:58
Struct
DataPoint
DataPoint representing a sample of data used in clock class/accuracy calculations
ptp/c4u/clock/clock.go:39
Struct
DataPoint
DataPoint is what we store in DataPoint ring buffer
fbclock/daemon/daemon.go:56
Struct
DataV2
DataV2 is a Go equivalent of what we want to store in shared memory for fbclock to use
fbclock/types.go:43
Struct
DefaultDataSetTLV
DefaultDataSetTLV Spec Table 69 - DEFAULT_DATA_SET management TLV data field
ptp/protocol/management_tlvs.go:203
Struct
DelayResp
DelayResp is a full Delay_Resp packet
ptp/protocol/protocol.go:356
Struct
DelayRespBody
DelayRespBody Table 46 Delay_Resp message fields
ptp/protocol/protocol.go:350
next →
1–100 of 540, ranked by callers