1
// Copyright 2013 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
5
// +build nacl plan9 solaris
9
// TrafficClass returns the traffic class field value for outgoing
11
func (c *genericOpt) TrafficClass() (int, error) {
12
return 0, errOpNoSupport
15
// SetTrafficClass sets the traffic class field value for future
17
func (c *genericOpt) SetTrafficClass(tclass int) error {
21
// HopLimit returns the hop limit field value for outgoing packets.
22
func (c *genericOpt) HopLimit() (int, error) {
23
return 0, errOpNoSupport
26
// SetHopLimit sets the hop limit field value for future outgoing
28
func (c *genericOpt) SetHopLimit(hoplim int) error {