Searched refs:packet_buffer_size (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/usr.sbin/ndbootd/config/ |
H A D | ndbootd-bpf.c | 112 u_int packet_buffer_size; in ndbootd_raw_open() local 185 if (ioctl(network_fd, BIOCGBLEN, &packet_buffer_size) < 0) { in ndbootd_raw_open() 192 dev_bpf_filename, packet_buffer_size)); 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() 206 …ootd_raw_read(struct ndbootd_interface * interface, void *packet_buffer, size_t packet_buffer_size) in ndbootd_raw_read() argument 292 if (packet_buffer_size < the_bpf_header.bh_datalen) { in ndbootd_raw_read() 310 …otd_raw_write(struct ndbootd_interface * interface, void *packet_buffer, size_t packet_buffer_size) in ndbootd_raw_write() argument 312 return (write(interface->ndbootd_interface_fd, packet_buffer, packet_buffer_size)); in ndbootd_raw_write()
|