xref: /freebsd/contrib/netbsd-tests/ipf/regress/ip1 (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1#:%s/ \(number = [0-9]*\) \(type = [a-z]*\)/ \2 \1/g
2
3table role = ipf type = tree number = 1
4	{; };
5table role = ipf type = tree number = 100
6	{ 1.2.3.4/32; !2.2.0.0/16; 2.2.2.0/24; };
7table role = nat type = tree number = 110
8	{ 1.2.3.4/32; !2.2.0.0/16; 2.2.2.0/24; };
9table role = auth type = tree number = 120
10	{ 1.2.3.4/32; !2.2.0.0/16; 2.2.2.0/24; };
11table role = count type = tree number = 130
12	{ 1.2.3.4; !2.2.0.0/16; 2.2.2.0/24; };
13
14table role = ipf type = hash number = 2
15	{; };
16table role = ipf type = hash number = 200
17	{ 0/0; 1/32; 1.2.3.4/32; };
18table role = nat type = hash number = 210
19	{ 0/0; 2/32; 1.2.3.4/32; };
20table role = auth type = hash number = 220
21	{ 0/0; 3/32; 1.2.3.4/32; };
22table role = count type = hash number = 230
23	{ 0/0; 4/32; 1.2.3.4/32; };
24
25table role = ipf type = hash number = 240 seed = 101
26	{ 0/0; 1/32; 1.2.3.4/32; };
27table role = nat type = hash number = 250 seed = 101
28	{ 0/0; 2/32; 1.2.3.4/32; };
29table role = auth type = hash number = 260 seed = 101
30	{ 0/0; 3/32; 1.2.3.4/32; };
31table role = count type = hash number = 270 seed = 101
32	{ 0/0; 4/32; 1.2.3.4/32; };
33
34table role = ipf type = hash number = 2000 size = 1001
35	{ 0/0; 1/32; 1.2.3.4/32; };
36table role = nat type = hash number = 2000 size = 1001
37	{ 0/0; 2/32; 1.2.3.4/32; };
38table role = auth type = hash number = 2000 size = 1001
39	{ 0/0; 3/32; 1.2.3.4/32; };
40table role = count type = hash number = 2000 size = 1001
41	{ 0/0; 4/32; 1.2.3.4/32; };
42
43table role = ipf type = hash number = 100 size = 1001 seed = 101
44	{ 0/0; 1/32; 1.2.3.4/32; };
45table role = nat type = hash number = 100 size = 1001 seed = 101
46	{ 0/0; 2/32; 1.2.3.4/32; };
47table role = auth type = hash number = 100 size = 1001 seed = 101
48	{ 0/0; 3/32; 1.2.3.4/32; };
49table role = count type = hash number = 100 size = 1001 seed = 101
50	{ 0/0; 4/32; 1.2.3.4/32; };
51
52group-map in role = ipf number = 300 group = 303
53	{ 0/0; 5/32; 1.2.3.4/32; };
54group-map in role = nat number = 300 group = 303
55	{ 0/0; 6/32; 1.2.3.4/32; };
56group-map in role = auth number = 300 group = 303
57	{ 0/0; 7/32; 1.2.3.4/32; };
58group-map in role = count number = 300 group = 303
59	{ 0/0; 8/32; 1.2.3.4/32; };
60
61group-map out role = ipf number = 400 group = 303
62	{ 0/0; 5/32; 1.2.3.4/32, group = 606; };
63group-map out role = nat number = 400 group = 303
64	{ 0/0; 6/32; 1.2.3.4/32, group = 606; };
65group-map out role = auth number = 400 group = 303
66	{ 0/0; 7/32; 1.2.3.4/32, group = 606; };
67group-map out role = count number = 400 group = 303
68	{ 0/0; 8/32; 1.2.3.4/32, group = 606; };
69
70group-map in role = ipf number = 500
71	{ 0/0, group = 10; 5/32, group = 800; 1.2.3.4/32, group = 606; };
72group-map in role = nat number = 500
73	{ 0/0, group = 10; 6/32, group = 800; 1.2.3.4/32, group = 606; };
74group-map in role = auth number = 500
75	{ 0/0, group = 10; 7/32, group = 800; 1.2.3.4/32, group = 606; };
76group-map in role = count number = 500
77	{ 0/0, group = 10; 8/32, group = 800; 1.2.3.4/32, group = 606; };
78
79