Home
last modified time | relevance | path

Searched refs:interface_bpf (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/usr.sbin/ndbootd/config/
H A Dndbootd-bpf.c114 struct _ndbootd_interface_bpf *interface_bpf; in ndbootd_raw_open() local
196 interface_bpf = ndbootd_new0(struct _ndbootd_interface_bpf, 1); in ndbootd_raw_open()
197 interface_bpf->_ndbootd_interface_bpf_buffer_size = packet_buffer_size; in ndbootd_raw_open()
198 interface_bpf->_ndbootd_interface_bpf_buffer = ndbootd_new(char, packet_buffer_size); in ndbootd_raw_open()
199 interface->_ndbootd_interface_raw_private = interface_bpf; in ndbootd_raw_open()
208 struct _ndbootd_interface_bpf *interface_bpf; in ndbootd_raw_read() local
214 interface_bpf = (struct _ndbootd_interface_bpf *) interface->_ndbootd_interface_raw_private; in ndbootd_raw_read()
222 if (interface_bpf->_ndbootd_interface_bpf_buffer_offset in ndbootd_raw_read()
223 >= interface_bpf->_ndbootd_interface_bpf_buffer_end) { in ndbootd_raw_read()
246 interface_bpf->_ndbootd_interface_bpf_buffer, in ndbootd_raw_read()
[all …]