search for: buffer1

Displaying 3 results from an estimated 3 matches for "buffer1".

Did you mean: buffer
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings. Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f Jonathan Boeing (6): Use z width specifier when printing size_t variable pxe: fix truncation warning gpllib: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse com32/gpllib/dmi/dmi.c | 24 +++---
2006 Mar 31
2
__Very__ Low Bandwidth
...ay is so great that things are getting thrown away by the kernel? Could I munge the packets to turn up the TTL or something similar? Many thanks for some excellent tools. Matthew Pearson #!/bin/bash CLIENT1=192.168.1.190/32 CLIENT2=192.168.1.191/32 OPER=add; DEV=eth0 RATE=3kbit PEAKRATE=3kbit BUFFER1=10kb BUFFER2=10kb echo -e "Attach Egress policy..." tc qdisc $OPER dev $DEV root handle 1:0 htb default 15 tc class $OPER dev $DEV parent 1:0 classid 1:1 htb rate 240kbit tc class $OPER dev $DEV parent 1:1 classid 1:2 htb rate 240kbit ceil 240kbit tc class $OPER dev $DEV parent 1:1 clas...
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...return read_timeout(fd, buf, len); @@ -305,10 +310,12 @@ /* do a buffered read from fd. don't return until all N bytes have been read. If all N can't be read then exit with an error */ -static void readfd (int fd, char *buffer, int N) +static void readfd (int fd, void *buffer1, int N) { int ret; int total=0; + unsigned char * buffer; + buffer = (unsigned char *)buffer1; while (total < N) { io_flush(); @@ -323,7 +330,7 @@ int32 read_int(int f) { - char b[4]; + unsigned char b[4]; int3...