blob: 66009cc19477f821eab543fbef564e888ee7a3c5 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001/*
Florin Corase127a7e2016-02-18 22:20:01 +01002 * Copyright (c) 2016 Cisco and/or its affiliates.
Ed Warnickecb9cada2015-12-08 15:45:58 -07003 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
Florin Corasff0bf132016-09-05 19:30:35 +020015/**
16 * @file
17 * @brief LISP-GPE definitions.
18 */
Florin Corase127a7e2016-02-18 22:20:01 +010019
Ed Warnickecb9cada2015-12-08 15:45:58 -070020#ifndef included_vnet_lisp_gpe_h
21#define included_vnet_lisp_gpe_h
22
23#include <vppinfra/error.h>
Florin Corase127a7e2016-02-18 22:20:01 +010024#include <vppinfra/mhash.h>
Ed Warnickecb9cada2015-12-08 15:45:58 -070025#include <vnet/vnet.h>
26#include <vnet/ip/ip.h>
27#include <vnet/l2/l2_input.h>
28#include <vnet/ethernet/ethernet.h>
Ed Warnickecb9cada2015-12-08 15:45:58 -070029#include <vnet/ip/ip4_packet.h>
30#include <vnet/ip/udp.h>
Florin Corase127a7e2016-02-18 22:20:01 +010031#include <vnet/lisp-cp/lisp_types.h>
32#include <vnet/lisp-gpe/lisp_gpe_packet.h>
Neale Ranns0bfe5d82016-08-25 15:29:12 +010033#include <vnet/adj/adj_types.h>
Florin Corase127a7e2016-02-18 22:20:01 +010034
Florin Corasff0bf132016-09-05 19:30:35 +020035/** IP4-UDP-LISP encap header */
Florin Coras220beac2016-08-16 23:04:00 +020036/* *INDENT-OFF* */
Ed Warnickecb9cada2015-12-08 15:45:58 -070037typedef CLIB_PACKED (struct {
38 ip4_header_t ip4; /* 20 bytes */
39 udp_header_t udp; /* 8 bytes */
40 lisp_gpe_header_t lisp; /* 8 bytes */
41}) ip4_udp_lisp_gpe_header_t;
Florin Coras220beac2016-08-16 23:04:00 +020042/* *INDENT-ON* */
Ed Warnickecb9cada2015-12-08 15:45:58 -070043
Florin Corasff0bf132016-09-05 19:30:35 +020044/** IP6-UDP-LISP encap header */
Florin Coras220beac2016-08-16 23:04:00 +020045/* *INDENT-OFF* */
Florin Coras02655bd2016-04-26 00:17:24 +020046typedef CLIB_PACKED (struct {
47 ip6_header_t ip6; /* 40 bytes */
48 udp_header_t udp; /* 8 bytes */
49 lisp_gpe_header_t lisp; /* 8 bytes */
50}) ip6_udp_lisp_gpe_header_t;
Florin Coras220beac2016-08-16 23:04:00 +020051/* *INDENT-ON* */
Florin Coras02655bd2016-04-26 00:17:24 +020052
Florin Corasff0bf132016-09-05 19:30:35 +020053/** LISP-GPE tunnel structure */
Florin Coras3590ac52016-08-08 16:04:26 +020054typedef struct
55{
Florin Corasff0bf132016-09-05 19:30:35 +020056 /** tunnel src and dst addresses */
Florin Coras220beac2016-08-16 23:04:00 +020057 locator_pair_t *locator_pairs;
Florin Coras3590ac52016-08-08 16:04:26 +020058
Florin Corasff0bf132016-09-05 19:30:35 +020059 /** locator-pairs with best priority become sub-tunnels */
Neale Ranns0bfe5d82016-08-25 15:29:12 +010060 u32 *sub_tunnels;
Ed Warnickecb9cada2015-12-08 15:45:58 -070061
Florin Corasff0bf132016-09-05 19:30:35 +020062 /** decap next index */
Ed Warnickecb9cada2015-12-08 15:45:58 -070063 u32 decap_next_index;
64
Florin Coras3590ac52016-08-08 16:04:26 +020065 /* TODO remove */
66 ip_address_t src, dst;
Ed Warnickecb9cada2015-12-08 15:45:58 -070067
Florin Corasff0bf132016-09-05 19:30:35 +020068 /** FIB indices */
Florin Coras220beac2016-08-16 23:04:00 +020069 u32 encap_fib_index; /* tunnel partner lookup here */
70 u32 decap_fib_index; /* inner IP lookup here */
Ed Warnickecb9cada2015-12-08 15:45:58 -070071
Neale Ranns0bfe5d82016-08-25 15:29:12 +010072 /** index of the source address lookup FIB */
73 u32 src_fib_index;
74
Florin Corasff0bf132016-09-05 19:30:35 +020075 /** vnet intfc hw/sw_if_index */
Ed Warnickecb9cada2015-12-08 15:45:58 -070076 u32 hw_if_index;
77 u32 sw_if_index;
78
Neale Ranns0bfe5d82016-08-25 15:29:12 +010079 /** L2 path-list */
80 fib_node_index_t l2_path_list;
81
Florin Corasff0bf132016-09-05 19:30:35 +020082 /** action for 'negative' tunnels */
Florin Coras1a1adc72016-07-22 01:45:30 +020083 u8 action;
84
Florin Corasff0bf132016-09-05 19:30:35 +020085 /** LISP header fields in HOST byte order */
Ed Warnickecb9cada2015-12-08 15:45:58 -070086 u8 flags;
87 u8 ver_res;
88 u8 res;
89 u8 next_protocol;
Florin Coras577c3552016-04-21 00:45:40 +020090 u32 vni;
Ed Warnickecb9cada2015-12-08 15:45:58 -070091} lisp_gpe_tunnel_t;
92
Neale Ranns0bfe5d82016-08-25 15:29:12 +010093/**
94 * @brief A path on which to forward lisp traffic
95 */
96typedef struct lisp_fwd_path_t_
97{
98 /**
99 * The adjacency constructed for the locator pair
100 */
101 index_t lisp_adj;
102
103 /**
104 * Priority. Only the paths with the best priority will be installed in FIB
105 */
106 u8 priority;
107
108 /**
109 * [UE]CMP weigt for the path
110 */
111 u8 weight;
112
113} lisp_fwd_path_t;
114
115/**
116 * @brief A Forwarding entry can be 'normal' or 'negative'
117 * Negative implies we deliberately want to add a FIB entry for an EID
118 * that results in 'spcial' behaviour determined by an 'action'.
119 * @normal' means send it down some tunnels.
120 */
121typedef enum lisp_fwd_entry_type_t_
122{
123 LISP_FWD_ENTRY_TYPE_NORMAL,
124 LISP_FWD_ENTRY_TYPE_NEGATIVE,
125} lisp_fwd_entry_type_t;
126
127typedef enum
128{
129 NO_ACTION,
130 FORWARD_NATIVE,
131 SEND_MAP_REQUEST,
132 DROP
133} negative_fwd_actions_e;
134
135/**
136 * LISP-GPE fwd entry key
137 */
138typedef struct lisp_gpe_fwd_entry_key_t_
139{
140 dp_address_t rmt;
141 dp_address_t lcl;
142 u32 vni;
143} lisp_gpe_fwd_entry_key_t;
144
145/**
146 * @brief A LISP Forwarding Entry
147 *
148 * A forwarding entry is from a locai EID to a remote EID over a set of rloc pairs
149 */
150typedef struct lisp_fwd_entry_t_
151{
152 /**
153 * The Entry's key: {lEID,r-EID,vni}
154 */
155 lisp_gpe_fwd_entry_key_t *key;
156
157 /**
158 * The VRF (in the case of L3) or Bridge-Domain (for L2) index
159 */
160 union
161 {
162 u32 eid_table_id;
163 u32 eid_bd_index;
164 };
165
166 /**
167 * The forwarding entry type
168 */
169 lisp_fwd_entry_type_t type;
170
171 union
172 {
173 /**
174 * @brief When the type is 'normal'
175 * The RLOC pair that form the route's paths. i.e. where to send
176 * packets for this route.
177 */
178 lisp_fwd_path_t *paths;
179
180 /**
181 * @brief When the type is negative. The action to take.
182 */
183 negative_fwd_actions_e action;
184 };
185
186 /**
187 * The FIB index for the overlay, i.e. the FIB in which the EIDs
188 * are present
189 */
190 u32 eid_fib_index;
191
192 /**
193 * The SRC-FIB index for created for anding source-route entries
194 */
195 u32 src_fib_index;
196} lisp_fwd_entry_t;
197
198
Florin Coras02655bd2016-04-26 00:17:24 +0200199#define foreach_lisp_gpe_ip_input_next \
Ed Warnickecb9cada2015-12-08 15:45:58 -0700200_(DROP, "error-drop") \
201_(IP4_INPUT, "ip4-input") \
202_(IP6_INPUT, "ip6-input") \
Florin Coras1a1adc72016-07-22 01:45:30 +0200203_(L2_INPUT, "l2-input")
Ed Warnickecb9cada2015-12-08 15:45:58 -0700204
Florin Corasff0bf132016-09-05 19:30:35 +0200205/** Enum of possible next nodes post LISP-GPE decap */
Florin Coras220beac2016-08-16 23:04:00 +0200206typedef enum
207{
Ed Warnickecb9cada2015-12-08 15:45:58 -0700208#define _(s,n) LISP_GPE_INPUT_NEXT_##s,
Florin Coras02655bd2016-04-26 00:17:24 +0200209 foreach_lisp_gpe_ip_input_next
Ed Warnickecb9cada2015-12-08 15:45:58 -0700210#undef _
Florin Coras220beac2016-08-16 23:04:00 +0200211 LISP_GPE_INPUT_N_NEXT,
Ed Warnickecb9cada2015-12-08 15:45:58 -0700212} lisp_gpe_input_next_t;
213
Florin Coras220beac2016-08-16 23:04:00 +0200214typedef enum
215{
Ed Warnickecb9cada2015-12-08 15:45:58 -0700216#define lisp_gpe_error(n,s) LISP_GPE_ERROR_##n,
217#include <vnet/lisp-gpe/lisp_gpe_error.def>
218#undef lisp_gpe_error
219 LISP_GPE_N_ERROR,
Florin Coras577c3552016-04-21 00:45:40 +0200220} lisp_gpe_error_t;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700221
Florin Coras1a1adc72016-07-22 01:45:30 +0200222typedef struct tunnel_lookup
223{
Florin Corasff0bf132016-09-05 19:30:35 +0200224 /** Lookup lisp-gpe interfaces by dp table (eg. vrf/bridge index) */
Florin Coras220beac2016-08-16 23:04:00 +0200225 uword *hw_if_index_by_dp_table;
Florin Coras1a1adc72016-07-22 01:45:30 +0200226
Florin Corasff0bf132016-09-05 19:30:35 +0200227 /** lookup decap tunnel termination sw_if_index by vni and vice versa */
Florin Coras220beac2016-08-16 23:04:00 +0200228 uword *sw_if_index_by_vni;
Neale Ranns0bfe5d82016-08-25 15:29:12 +0100229
230 // FIXME - Need this?
Florin Coras220beac2016-08-16 23:04:00 +0200231 uword *vni_by_sw_if_index;
Florin Coras1a1adc72016-07-22 01:45:30 +0200232} tunnel_lookup_t;
233
Florin Corasff0bf132016-09-05 19:30:35 +0200234/** LISP-GPE global state*/
Florin Corase127a7e2016-02-18 22:20:01 +0100235typedef struct lisp_gpe_main
236{
Florin Corasff0bf132016-09-05 19:30:35 +0200237 /** pool of encap tunnel instances */
Florin Coras220beac2016-08-16 23:04:00 +0200238 lisp_gpe_tunnel_t *tunnels;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700239
Florin Corasff0bf132016-09-05 19:30:35 +0200240 /** Free vlib hw_if_indices */
Florin Coras220beac2016-08-16 23:04:00 +0200241 u32 *free_tunnel_hw_if_indices;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700242
Florin Coras1a1adc72016-07-22 01:45:30 +0200243 u8 is_en;
244
245 /* L3 data structures
246 * ================== */
Florin Coras1a1adc72016-07-22 01:45:30 +0200247 tunnel_lookup_t l3_ifaces;
Florin Coras577c3552016-04-21 00:45:40 +0200248
Florin Coras1a1adc72016-07-22 01:45:30 +0200249 /* L2 data structures
250 * ================== */
251
Florin Corasff0bf132016-09-05 19:30:35 +0200252 /** L2 LISP FIB */
Florin Coras220beac2016-08-16 23:04:00 +0200253 BVT (clib_bihash) l2_fib;
Florin Coras1a1adc72016-07-22 01:45:30 +0200254
255 tunnel_lookup_t l2_ifaces;
256
Neale Ranns0bfe5d82016-08-25 15:29:12 +0100257 /** Load-balance for a miss in the table */
258 index_t l2_lb_miss;
259 index_t l2_lb_cp_lkup;
260
Florin Corasff0bf132016-09-05 19:30:35 +0200261 /** convenience */
Florin Coras220beac2016-08-16 23:04:00 +0200262 vlib_main_t *vlib_main;
263 vnet_main_t *vnet_main;
264 ip4_main_t *im4;
265 ip6_main_t *im6;
266 ip_lookup_main_t *lm4;
267 ip_lookup_main_t *lm6;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700268} lisp_gpe_main_t;
269
Florin Corasff0bf132016-09-05 19:30:35 +0200270/** LISP-GPE global state*/
Ed Warnickecb9cada2015-12-08 15:45:58 -0700271lisp_gpe_main_t lisp_gpe_main;
272
Florin Coras1a1adc72016-07-22 01:45:30 +0200273always_inline lisp_gpe_main_t *
Florin Coras220beac2016-08-16 23:04:00 +0200274vnet_lisp_gpe_get_main ()
275{
Florin Coras1a1adc72016-07-22 01:45:30 +0200276 return &lisp_gpe_main;
277}
278
Neale Ranns0bfe5d82016-08-25 15:29:12 +0100279
Florin Coras02655bd2016-04-26 00:17:24 +0200280extern vlib_node_registration_t lisp_gpe_ip4_input_node;
281extern vlib_node_registration_t lisp_gpe_ip6_input_node;
Neale Ranns0bfe5d82016-08-25 15:29:12 +0100282extern vnet_hw_interface_class_t lisp_gpe_hw_class;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700283
Florin Coras220beac2016-08-16 23:04:00 +0200284u8 *format_lisp_gpe_header_with_length (u8 * s, va_list * args);
Ed Warnickecb9cada2015-12-08 15:45:58 -0700285
Florin Corasff0bf132016-09-05 19:30:35 +0200286/** Arguments to add an L2/L3 LISP-GPE interface*/
Florin Corase127a7e2016-02-18 22:20:01 +0100287typedef struct
288{
Ed Warnickecb9cada2015-12-08 15:45:58 -0700289 u8 is_add;
Florin Coras1a1adc72016-07-22 01:45:30 +0200290 union
291 {
Florin Corasff0bf132016-09-05 19:30:35 +0200292 /** vrf */
Florin Coras1a1adc72016-07-22 01:45:30 +0200293 u32 table_id;
294
Florin Corasff0bf132016-09-05 19:30:35 +0200295 /** bridge domain */
Florin Coras1a1adc72016-07-22 01:45:30 +0200296 u16 bd_id;
297
Florin Corasff0bf132016-09-05 19:30:35 +0200298 /** generic access */
Florin Coras1a1adc72016-07-22 01:45:30 +0200299 u32 dp_table;
300 };
301 u8 is_l2;
Florin Corasff0bf132016-09-05 19:30:35 +0200302
303 /** virtual network identifier in host byte order */
304 u32 vni;
Florin Corase127a7e2016-02-18 22:20:01 +0100305} vnet_lisp_gpe_add_del_iface_args_t;
306
Florin Corasff0bf132016-09-05 19:30:35 +0200307/** Read LISP-GPE status */
Florin Coras220beac2016-08-16 23:04:00 +0200308u8 vnet_lisp_gpe_enable_disable_status (void);
Florin Corasff0bf132016-09-05 19:30:35 +0200309
310/** Add/del LISP-GPE interface. */
Andrej Kozemcak8ebb2a12016-06-07 12:25:20 +0200311int
Florin Coras220beac2016-08-16 23:04:00 +0200312vnet_lisp_gpe_add_del_iface (vnet_lisp_gpe_add_del_iface_args_t * a,
Florin Corase127a7e2016-02-18 22:20:01 +0100313 u32 * hw_if_indexp);
314
Florin Coras577c3552016-04-21 00:45:40 +0200315typedef struct
316{
317 u8 is_en;
318} vnet_lisp_gpe_enable_disable_args_t;
319
Florin Coras220beac2016-08-16 23:04:00 +0200320clib_error_t
321 * vnet_lisp_gpe_enable_disable (vnet_lisp_gpe_enable_disable_args_t * a);
Florin Coras577c3552016-04-21 00:45:40 +0200322
Florin Corasff0bf132016-09-05 19:30:35 +0200323/** */
Florin Corase127a7e2016-02-18 22:20:01 +0100324typedef struct
325{
326 u8 is_add;
Florin Corased09a052016-05-06 14:22:40 +0200327
Florin Corasff0bf132016-09-05 19:30:35 +0200328 /** type of mapping */
Florin Corase127a7e2016-02-18 22:20:01 +0100329 u8 is_negative;
Florin Corasff0bf132016-09-05 19:30:35 +0200330
331 /** action for negative mappings */
Neale Ranns0bfe5d82016-08-25 15:29:12 +0100332 negative_fwd_actions_e action;
Florin Corased09a052016-05-06 14:22:40 +0200333
Florin Corasff0bf132016-09-05 19:30:35 +0200334 /** local eid */
Florin Coras1a1adc72016-07-22 01:45:30 +0200335 gid_address_t lcl_eid;
Florin Corasff0bf132016-09-05 19:30:35 +0200336
337 /** remote eid */
Florin Coras1a1adc72016-07-22 01:45:30 +0200338 gid_address_t rmt_eid;
Florin Corased09a052016-05-06 14:22:40 +0200339
Florin Corasff0bf132016-09-05 19:30:35 +0200340 /** vector of locator pairs */
Florin Coras220beac2016-08-16 23:04:00 +0200341 locator_pair_t *locator_pairs;
Florin Corased09a052016-05-06 14:22:40 +0200342
Florin Corasff0bf132016-09-05 19:30:35 +0200343 /** FIB index to lookup remote locator at encap */
Florin Corase127a7e2016-02-18 22:20:01 +0100344 u32 encap_fib_index;
Florin Corasff0bf132016-09-05 19:30:35 +0200345
346 /** FIB index to lookup inner IP at decap */
Florin Corase127a7e2016-02-18 22:20:01 +0100347 u32 decap_fib_index;
Florin Corased09a052016-05-06 14:22:40 +0200348
Florin Corasff0bf132016-09-05 19:30:35 +0200349 /* TODO remove */
350 u32 decap_next_index;
Florin Corased09a052016-05-06 14:22:40 +0200351
Florin Corasff0bf132016-09-05 19:30:35 +0200352 /** VNI/tenant id in HOST byte order */
Florin Corased09a052016-05-06 14:22:40 +0200353 u32 vni;
354
Florin Corasff0bf132016-09-05 19:30:35 +0200355 /** vrf or bd where fwd entry should be inserted */
Florin Coras1a1adc72016-07-22 01:45:30 +0200356 union
357 {
Florin Corasff0bf132016-09-05 19:30:35 +0200358 /** table (vrf) id */
Florin Coras1a1adc72016-07-22 01:45:30 +0200359 u32 table_id;
Florin Corasff0bf132016-09-05 19:30:35 +0200360
361 /** bridge domain id */
Florin Coras1a1adc72016-07-22 01:45:30 +0200362 u16 bd_id;
Florin Coras429e7952016-08-02 02:31:03 +0200363
Florin Corasff0bf132016-09-05 19:30:35 +0200364 /** generic access */
Florin Coras429e7952016-08-02 02:31:03 +0200365 u32 dp_table;
Florin Coras1a1adc72016-07-22 01:45:30 +0200366 };
Florin Corase127a7e2016-02-18 22:20:01 +0100367} vnet_lisp_gpe_add_del_fwd_entry_args_t;
368
369int
Florin Coras220beac2016-08-16 23:04:00 +0200370vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t * a,
Florin Corase127a7e2016-02-18 22:20:01 +0100371 u32 * hw_if_indexp);
372
Neale Ranns0bfe5d82016-08-25 15:29:12 +0100373extern void
374ip_src_fib_add_route (u32 src_fib_index,
375 const ip_prefix_t * src_prefix,
376 const lisp_fwd_path_t * paths);
377extern void
378ip_src_dst_fib_del_route (u32 src_fib_index,
379 const ip_prefix_t * src_prefix,
380 u32 dst_table_id, const ip_prefix_t * dst_prefix);
381extern void
382ip_src_fib_add_route_w_dpo (u32 src_fib_index,
383 const ip_prefix_t * src_prefix,
384 const dpo_id_t * src_dpo);
385extern u32
386ip_dst_fib_add_route (u32 dst_table_id, const ip_prefix_t * dst_prefix);
387
388extern fib_route_path_t *lisp_gpe_mk_paths_for_sub_tunnels (lisp_gpe_tunnel_t
389 * t);
Florin Coras02655bd2016-04-26 00:17:24 +0200390
391#define foreach_lgpe_ip4_lookup_next \
392 _(DROP, "error-drop") \
393 _(LISP_CP_LOOKUP, "lisp-cp-lookup")
394
395typedef enum lgpe_ip4_lookup_next
396{
397#define _(sym,str) LGPE_IP4_LOOKUP_NEXT_##sym,
398 foreach_lgpe_ip4_lookup_next
399#undef _
Florin Coras220beac2016-08-16 23:04:00 +0200400 LGPE_IP4_LOOKUP_N_NEXT,
Florin Coras02655bd2016-04-26 00:17:24 +0200401} lgpe_ip4_lookup_next_t;
402
Florin Corasff0bf132016-09-05 19:30:35 +0200403#define foreach_lgpe_ip6_lookup_next \
Florin Coras02655bd2016-04-26 00:17:24 +0200404 _(DROP, "error-drop") \
405 _(LISP_CP_LOOKUP, "lisp-cp-lookup")
406
407typedef enum lgpe_ip6_lookup_next
408{
409#define _(sym,str) LGPE_IP6_LOOKUP_NEXT_##sym,
410 foreach_lgpe_ip6_lookup_next
411#undef _
Florin Coras220beac2016-08-16 23:04:00 +0200412 LGPE_IP6_LOOKUP_N_NEXT,
Florin Coras02655bd2016-04-26 00:17:24 +0200413} lgpe_ip6_lookup_next_t;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700414
Florin Coras220beac2016-08-16 23:04:00 +0200415u8 *format_vnet_lisp_gpe_status (u8 * s, va_list * args);
Filip Tehlar46d4e362016-05-09 09:39:26 +0200416
Florin Coras1a1adc72016-07-22 01:45:30 +0200417#define L2_FIB_DEFAULT_HASH_NUM_BUCKETS (64 * 1024)
418#define L2_FIB_DEFAULT_HASH_MEMORY_SIZE (32<<20)
419
420u32
421lisp_l2_fib_lookup (lisp_gpe_main_t * lgm, u16 bd_index, u8 src_mac[8],
Florin Coras220beac2016-08-16 23:04:00 +0200422 u8 dst_mac[8]);
Florin Coras1a1adc72016-07-22 01:45:30 +0200423
Ed Warnickecb9cada2015-12-08 15:45:58 -0700424#endif /* included_vnet_lisp_gpe_h */
Florin Coras220beac2016-08-16 23:04:00 +0200425
426/*
427 * fd.io coding-style-patch-verification: ON
428 *
429 * Local Variables:
430 * eval: (c-set-style "gnu")
431 * End:
432 */