MCPcopy Create free account
hub / github.com/facebook/time / SetDomainNumber

Method SetDomainNumber

ptp/protocol/protocol.go:120–122  ·  view source on GitHub ↗
(domainNumber uint8)

Source from the content-addressed store, hash-verified

118}
119
120func (p *Header) SetDomainNumber(domainNumber uint8) {
121 p.DomainNumber = domainNumber
122}
123
124func checkPacketLength(p *Header, l int) error {
125 if int(p.MessageLength) > l {

Callers 4

RunCheckFunction · 0.45
serviceStatsRunPTP4lFunction · 0.45
sourcesRunPTP4lFunction · 0.45
TestSetDomainNumberFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestSetDomainNumberFunction · 0.36