Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetBpfInterface (0.15 sec)

  1. src/syscall/bpf_bsd.go

    	var iv ivalue
    	err := ioctlPtr(fd, BIOCGETIF, unsafe.Pointer(&iv))
    	if err != nil {
    		return "", err
    	}
    	return name, nil
    }
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    func SetBpfInterface(fd int, name string) error {
    	var iv ivalue
    	copy(iv.name[:], []byte(name))
    	err := ioctlPtr(fd, BIOCSETIF, unsafe.Pointer(&iv))
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Servent.Proto", Field, 0},
    		{"SetBpf", Func, 0},
    		{"SetBpfBuflen", Func, 0},
    		{"SetBpfDatalink", Func, 0},
    		{"SetBpfHeadercmpl", Func, 0},
    		{"SetBpfImmediate", Func, 0},
    		{"SetBpfInterface", Func, 0},
    		{"SetBpfPromisc", Func, 0},
    		{"SetBpfTimeout", Func, 0},
    		{"SetCurrentDirectory", Func, 0},
    		{"SetEndOfFile", Func, 0},
    		{"SetEnvironmentVariable", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top