- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for lowerProtocol (0.55 sec)
-
src/net/lookup.go
const maxProtoLength = len("RSVP-E2E-IGNORE") + 10 // with room to grow func lookupProtocolMap(name string) (int, error) { var lowerProtocol [maxProtoLength]byte n := copy(lowerProtocol[:], name) lowerASCIIBytes(lowerProtocol[:n]) proto, found := protocols[string(lowerProtocol[:n])] if !found || n != len(name) { return 0, &AddrError{Err: "unknown IP protocol specified", Addr: name} } return proto, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 28.6K bytes - Viewed (0)