test0079.h revision 182221
1/*-
2 * Test 0079:	An empty filter program.
3 *
4 * $FreeBSD: head/tools/regression/bpf/bpf_filter/tests/test0079.h 182221 2008-08-26 21:54:47Z jkim $
5 */
6
7/* BPF program */
8struct bpf_insn pc[] = {
9};
10
11/* Packet */
12u_char	pkt[] = {
13	0x00,
14};
15
16/* Packet length seen on wire */
17u_int	wirelen =	sizeof(pkt);
18
19/* Packet length passed on buffer */
20u_int	buflen =	sizeof(pkt);
21
22/* Invalid instruction */
23int	invalid =	0;
24
25/* Expected return value */
26u_int	expect =	(u_int)-1;
27
28/* Expeced signal */
29int	expect_signal =	0;
30