Home | History | Annotate | Download | only in tests

Lines Matching full:bad_fcode

222 	struct bpf_program bad_fcode;
225 struct sock_fprog bad_fcode;
358 ioctl(pcap_fd, BIOCSETF, &bad_fcode);
360 setsockopt(pcap_fd, SOL_SOCKET, SO_ATTACH_FILTER, &bad_fcode,
361 sizeof(bad_fcode));
373 bad_fcode.bf_len = INSN_COUNT;
374 bad_fcode.bf_insns = uninitialized;
375 ioctl(pcap_fd, BIOCSETF, &bad_fcode);
377 bad_fcode.len = INSN_COUNT;
378 bad_fcode.filter = uninitialized;
379 setsockopt(pcap_fd, SOL_SOCKET, SO_ATTACH_FILTER, &bad_fcode,
380 sizeof(bad_fcode));