blob: 33206e9af54ed0bb7df109ffb89e44013f18210f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-ag,v 1.1 2007/04/20 18:55:00 bouyer Exp $
--- vif.h.orig 2003-01-22 07:47:02.000000000 +0100
+++ vif.h 2007-04-20 17:50:02.000000000 +0200
@@ -58,15 +58,6 @@
#ifndef VIF_H
#define VIF_H
-extern int total_interfaces;
-extern int default_vif_status;
-extern int udp_socket;
-extern struct uvif uvifs[];
-extern mifi_t numvifs;
-extern int vifs_down;
-extern int phys_vif;
-extern mifi_t reg_vif_num;
-
#define NO_VIF ((mifi_t)MAXMIFS) /* An invalid vif index */
#define DEFAULT_METRIC 1
#define VIFF_DOWN 0x000100
@@ -270,7 +261,14 @@
};
-
+extern int total_interfaces;
+extern int default_vif_status;
+extern int udp_socket;
+extern struct uvif uvifs[];
+extern mifi_t numvifs;
+extern int vifs_down;
+extern int phys_vif;
+extern mifi_t reg_vif_num;
extern void init_vifs __P((void));
extern void stop_all_vifs __P((void));
|