Index: ipv4/genericopt_plan9.go |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/ipv4/genericopt_plan9.go |
@@ -0,0 +1,29 @@ |
+// Copyright 2012 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. |
+ |
+package ipv4 |
+ |
+import ( |
+ "syscall" |
+) |
+ |
+func (c *genericOpt) TOS() (int, error) { |
+ // TODO(mikio): Implement this |
+ return 0, syscall.EPLAN9 |
+} |
+ |
+func (c *genericOpt) SetTOS(tos int) error { |
+ // TODO(mikio): Implement this |
+ return syscall.EPLAN9 |
+} |
+ |
+func (c *genericOpt) TTL() (int, error) { |
+ // TODO(mikio): Implement this |
+ return 0, syscall.EPLAN9 |
+} |
+ |
+func (c *genericOpt) SetTTL(ttl int) error { |
+ // TODO(mikio): Implement this |
+ return syscall.EPLAN9 |
+} |