Displaying 6 results from an estimated 6 matches for "rawstate".
Did you mean:
drawstate
2009 Nov 02
0
[PATCHv4 3/6] qemu/net: add raw backend
...@@ -93,6 +93,9 @@
#endif
#endif
+#include <netpacket/packet.h>
+#include <net/ethernet.h>
+
#if defined(__OpenBSD__)
#include <util.h>
#endif
@@ -1870,6 +1873,158 @@ static TAPState *net_tap_init(VLANState *vlan, const char *model,
#endif /* !_WIN32 */
+typedef struct RAWState {
+ VLANClientState *vc;
+ int fd;
+ uint8_t buf[4096];
+ int promisc;
+} RAWState;
+
+static int net_raw_fd_init(Monitor *mon, const char *ifname, int promisc)
+{
+ int fd, ret;
+ struct ifreq req;
+ struct sockaddr_ll lladdr;
+
+ fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
+ i...
2009 Nov 02
0
[PATCHv4 3/6] qemu/net: add raw backend
...@@ -93,6 +93,9 @@
#endif
#endif
+#include <netpacket/packet.h>
+#include <net/ethernet.h>
+
#if defined(__OpenBSD__)
#include <util.h>
#endif
@@ -1870,6 +1873,158 @@ static TAPState *net_tap_init(VLANState *vlan, const char *model,
#endif /* !_WIN32 */
+typedef struct RAWState {
+ VLANClientState *vc;
+ int fd;
+ uint8_t buf[4096];
+ int promisc;
+} RAWState;
+
+static int net_raw_fd_init(Monitor *mon, const char *ifname, int promisc)
+{
+ int fd, ret;
+ struct ifreq req;
+ struct sockaddr_ll lladdr;
+
+ fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
+ i...
2004 Aug 06
2
status.xml
Hello,
I'm wondering is there any possibility to make
host:8000/status.xsl avaiable as xml file. Yes, I know, there is
host:8000/admin/stats.xml , but there I had to type a password.
I'm trying to do 'we are playing the xxx song now' on the main
website.
Has anybody make such a thing already ?
Greets,
spalek
--
spalek2@ptssa.pl
GCM dpu s: a--- C++ UL++++ P+ L+++ E--- W+ N+ K-
2009 Aug 10
0
[PATCH 3/3] qemu-kvm: vhost-net implementation
...driver_ok)(VirtIODevice *vdev);
VirtQueue *vq;
const VirtIOBindings *binding;
void *binding_opaque;
diff --git a/net.c b/net.c
index 9965da3..d976123 100644
--- a/net.c
+++ b/net.c
@@ -1903,7 +1903,7 @@ static TAPState *net_tap_init(VLANState *vlan, const char *model,
typedef struct RAWState {
VLANClientState *vc;
int fd;
- uint8_t buf[4096];
+ uint8_t buf[65000];
int promisc;
} RAWState;
@@ -2745,7 +2745,8 @@ int net_client_init(Monitor *mon, const char *device, const char *p)
}
if (!strcmp(device, "nic")) {
static const char * cons...
2009 Aug 10
0
[PATCH 3/3] qemu-kvm: vhost-net implementation
...driver_ok)(VirtIODevice *vdev);
VirtQueue *vq;
const VirtIOBindings *binding;
void *binding_opaque;
diff --git a/net.c b/net.c
index 9965da3..d976123 100644
--- a/net.c
+++ b/net.c
@@ -1903,7 +1903,7 @@ static TAPState *net_tap_init(VLANState *vlan, const char *model,
typedef struct RAWState {
VLANClientState *vc;
int fd;
- uint8_t buf[4096];
+ uint8_t buf[65000];
int promisc;
} RAWState;
@@ -2745,7 +2745,8 @@ int net_client_init(Monitor *mon, const char *device, const char *p)
}
if (!strcmp(device, "nic")) {
static const char * cons...
2004 Aug 06
3
general questions
Okay, just to satisfy my mind, can someone give me a rundown on what the
other things do (other than the streaming portion)
admin root
web root
by setting these I'm not sure what to put in there or how to access
them...
and how to use the xsl files? I still cannot find anything on it.
Sorry if it all sounds stupid, it's just been rather difficult to find
what I am looking for
Thanks,