Revision 4a591d4b sysdep/unix/krt.c

View differences:

sysdep/unix/krt.c
277 277

  
278 278

  
279 279
struct protocol proto_unix_iface = {
280
  name:		"Device",
281
  template:	"device%d",
282
  preference:	DEF_PREF_DIRECT,
283
  preconfig:	kif_preconfig,
284
  init:		kif_init,
285
  start:	kif_start,
286
  shutdown:	kif_shutdown,
287
  reconfigure:	kif_reconfigure,
288
  copy_config:	kif_copy_config
280
  .name = 		"Device",
281
  .template = 		"device%d",
282
  .preference =		DEF_PREF_DIRECT,
283
  .preconfig =		kif_preconfig,
284
  .init =		kif_init,
285
  .start =		kif_start,
286
  .shutdown =		kif_shutdown,
287
  .reconfigure =	kif_reconfigure,
288
  .copy_config =	kif_copy_config
289 289
};
290 290

  
291 291
/*
......
1198 1198

  
1199 1199

  
1200 1200
struct protocol proto_unix_kernel = {
1201
  name:		"Kernel",
1202
  template:	"kernel%d",
1203
  attr_class:	EAP_KRT,
1204
  preference:	DEF_PREF_INHERITED,
1205
  preconfig:	krt_preconfig,
1206
  postconfig:	krt_postconfig,
1207
  init:		krt_init,
1208
  start:	krt_start,
1209
  shutdown:	krt_shutdown,
1210
  reconfigure:	krt_reconfigure,
1211
  copy_config:	krt_copy_config,
1212
  get_attr:	krt_get_attr,
1201
  .name =		"Kernel",
1202
  .template =		"kernel%d",
1203
  .attr_class =		EAP_KRT,
1204
  .preference =		DEF_PREF_INHERITED,
1205
  .preconfig =		krt_preconfig,
1206
  .postconfig =		krt_postconfig,
1207
  .init =		krt_init,
1208
  .start =		krt_start,
1209
  .shutdown =		krt_shutdown,
1210
  .reconfigure =	krt_reconfigure,
1211
  .copy_config =	krt_copy_config,
1212
  .get_attr =		krt_get_attr,
1213 1213
#ifdef KRT_ALLOW_LEARN
1214
  dump:		krt_dump,
1215
  dump_attrs:	krt_dump_attrs,
1214
  .dump =		krt_dump,
1215
  .dump_attrs =		krt_dump_attrs,
1216 1216
#endif
1217 1217
};

Also available in: Unified diff