• Mikio Hara's avatar
    go.net/ipv4: drop DIffServ and ECN constants, add ICMPType · 8108b4b3
    Mikio Hara authored
    This CL removes DiffServ and ECN constants assigned by IANA because
    for now we don't have an appropriate package to put those constants
    as part of API. There were used for the type-of-service field of IPv4
    header and the traffic class field of IPv6 header.
    
    Also adds ICMPType for convenience, makes use of internal IANA
    protocol number constants instead of syscall's to prevent churning of
    package syscall in the near future.
    
    R=dave
    CC=golang-dev
    https://golang.org/cl/9353045
    8108b4b3
Name
Last commit
Last update
..
control.go Loading commit data...
control_bsd.go Loading commit data...
control_linux.go Loading commit data...
control_plan9.go Loading commit data...
control_windows.go Loading commit data...
dgramopt_plan9.go Loading commit data...
dgramopt_posix.go Loading commit data...
doc.go Loading commit data...
endpoint.go Loading commit data...
example_test.go Loading commit data...
gen.go Loading commit data...
genericopt_plan9.go Loading commit data...
genericopt_posix.go Loading commit data...
gentest.go Loading commit data...
header.go Loading commit data...
header_test.go Loading commit data...
helper.go Loading commit data...
helper_plan9.go Loading commit data...
helper_posix.go Loading commit data...
helper_unix.go Loading commit data...
helper_windows.go Loading commit data...
iana.go Loading commit data...
iana_test.go Loading commit data...
icmp.go Loading commit data...
mockicmp_test.go Loading commit data...
mocktransponder_test.go Loading commit data...
multicast_test.go Loading commit data...
multicastlistener_test.go Loading commit data...
multicastsockopt_test.go Loading commit data...
packet.go Loading commit data...
payload.go Loading commit data...
sockopt_bsd.go Loading commit data...
sockopt_freebsd.go Loading commit data...
sockopt_linux.go Loading commit data...
sockopt_plan9.go Loading commit data...
sockopt_unix.go Loading commit data...
sockopt_windows.go Loading commit data...
unicast_test.go Loading commit data...
unicastsockopt_test.go Loading commit data...