1// Copyright 2011 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. 4 5// +build nacl 6 7package net 8 9import "syscall" 10 11func setDefaultSockopts(s, family, sotype int, ipv6only bool) error { 12 return nil 13} 14 15func setDefaultListenerSockopts(s int) error { 16 return nil 17} 18 19func setDefaultMulticastSockopts(s int) error { 20 return nil 21} 22 23func setReadBuffer(fd *netFD, bytes int) error { 24 return syscall.ENOPROTOOPT 25} 26 27func setWriteBuffer(fd *netFD, bytes int) error { 28 return syscall.ENOPROTOOPT 29} 30 31func setKeepAlive(fd *netFD, keepalive bool) error { 32 return syscall.ENOPROTOOPT 33} 34 35func setLinger(fd *netFD, sec int) error { 36 return syscall.ENOPROTOOPT 37} 38