boundif: introduce API for socket binding

This commit is contained in:
Jason A. Donenfeld
2019-03-03 05:01:06 +01:00
parent 69f0fe67b6
commit b8e85267cf
8 changed files with 155 additions and 21 deletions

View File

@@ -25,7 +25,7 @@ func init() {
}
}
func (bind *NativeBind) SetMark(mark uint32) error {
func (bind *nativeBind) SetMark(mark uint32) error {
var operr error
if fwmarkIoctl == 0 {
return nil