Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BpfBuflen (0.13 sec)

  1. src/syscall/bpf_bsd.go

    func BpfJump(code, k, jt, jf int) *BpfInsn {
    	return &BpfInsn{Code: uint16(code), Jt: uint8(jt), Jf: uint8(jf), K: uint32(k)}
    }
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    func BpfBuflen(fd int) (int, error) {
    	var l int
    	err := ioctlPtr(fd, BIOCGBLEN, unsafe.Pointer(&l))
    	if err != nil {
    		return 0, err
    	}
    	return l, nil
    }
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top