fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / net / bluetooth / bnep / bnep.h
index 5334a2c..0b6cd0e 100644 (file)
@@ -95,14 +95,14 @@ struct bnep_setup_conn_req {
 struct bnep_set_filter_req {
        __u8  type;
        __u8  ctrl;
-       __u16 len;
+       __be16 len;
        __u8  list[0];
 } __attribute__((packed));
 
 struct bnep_control_rsp {
        __u8  type;
        __u8  ctrl;
-       __u16 resp;
+       __be16 resp;
 } __attribute__((packed));
 
 struct bnep_ext_hdr {
@@ -139,7 +139,7 @@ struct bnep_conninfo {
 
 struct bnep_connlist_req {
        __u32  cnum;
-       struct bnep_conninfo *ci;
+       struct bnep_conninfo __user *ci;
 };
 
 struct bnep_proto_filter {