Displaying 2 results from an estimated 2 matches for "htid".
Did you mean:
hid
2003 Feb 05
1
cbq.init for one port on a subnet
Sub:[LARTC] cbq init for one port on a subnet
Hello,
We use cbq.init to limit bandwidth. It works great on a per-user basis.
Now I''d like to limit traffic from a netblock to the Internet on port
6699.
Network is 192.168.0.160 mask 255.255.255.224
eth0 is the gateway
eth1 connects the netblock in question
Is this the proper syntax;
DEVICE=eth0,10Mbit,1Mbit
RATE=100Kbit
2006 Feb 10
14
[PATCH] TC: bug fixes to the "sample" clause
...51007/tc/f_u32.c 2006-02-07 17:10:29.000000000 +1000
@@ -17,6 +17,7 @@
#include <syslog.h>
#include <fcntl.h>
#include <sys/socket.h>
+#include <sys/utsname.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
@@ -874,6 +875,7 @@
htid = (handle&0xFFFFF000);
} else if (strcmp(*argv, "sample") == 0) {
__u32 hash;
+ struct utsname utsname;
struct {
struct tc_u32_sel sel;
struct tc_u32_key keys[4];
@@ -889,8 +891,19 @@
return -1;
}
hash = sel2.sel.keys[0].val&sel2.sel.keys[0].mas...