mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-24 21:20:19 +01:00
cb6e5cb0c7
* use dep for vendoring * lets encrypt * moved web to transfer.sh-web repo * single command install * added first tests
30 lines
824 B
Go
30 lines
824 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build nacl plan9
|
|
|
|
package ipv6
|
|
|
|
// TrafficClass returns the traffic class field value for outgoing
|
|
// packets.
|
|
func (c *genericOpt) TrafficClass() (int, error) {
|
|
return 0, errOpNoSupport
|
|
}
|
|
|
|
// SetTrafficClass sets the traffic class field value for future
|
|
// outgoing packets.
|
|
func (c *genericOpt) SetTrafficClass(tclass int) error {
|
|
return errOpNoSupport
|
|
}
|
|
|
|
// HopLimit returns the hop limit field value for outgoing packets.
|
|
func (c *genericOpt) HopLimit() (int, error) {
|
|
return 0, errOpNoSupport
|
|
}
|
|
|
|
// SetHopLimit sets the hop limit field value for future outgoing
|
|
// packets.
|
|
func (c *genericOpt) SetHopLimit(hoplim int) error {
|
|
return errOpNoSupport
|
|
}
|