ccollect:0.6.2->0.7.0
[nslu2-linux/optware.git] / sources / bluez-utils / bridge_ioctls.patch
blob245f732e193360f84c9670f907202fb4a655e4bb
1 --- network/bridge.c.orig 2008-05-20 16:14:32.000000000 +0000
2 +++ network/bridge.c 2008-09-05 02:45:04.603689964 +0000
3 @@ -42,6 +42,13 @@
4 #include "bridge.h"
5 #include "common.h"
7 +#ifndef SIOCBRADDBR
8 +#define SIOCBRADDBR 0x89a0 /* create new bridge device */
9 +#define SIOCBRDELBR 0x89a1 /* remove bridge device */
10 +#define SIOCBRADDIF 0x89a2 /* add interface to bridge */
11 +#define SIOCBRDELIF 0x89a3 /* remove interface from bridge */
12 +#endif
14 static int bridge_socket = -1;
15 static const char *gn_bridge = NULL;
16 static const char *nap_bridge = NULL;