Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
120
func
(p *Header) SetDomainNumber(domainNumber uint8) {
121
p.DomainNumber = domainNumber
122
}
123
124
func
checkPacketLength(p *Header, l int) error {
125
if
int(p.MessageLength) > l {
Callers
4
RunCheck
Function · 0.45
serviceStatsRunPTP4l
Function · 0.45
sourcesRunPTP4l
Function · 0.45
TestSetDomainNumber
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestSetDomainNumber
Function · 0.36