similar to: Help:how to generate different packets?souce code explanation?

Displaying 20 results from an estimated 200 matches similar to: "Help:how to generate different packets?souce code explanation?"

2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
2002 Jun 08
2
New qdisc path, try it (what is the problem)
hello, this is my new qdisc patch, when i recompile the kernel with this patch i dn''nt succeed please look at it and if there are any mistakes plesease send me a mail thanks in advance ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
2003 Jul 18
10
[HTB] htb_dequeue_tree assertion (kernel 2.4.21-ac4)
Hello, I think the BUG_TRAP() in the htb_dequeue_tree() is wrong. First it checks if the class pointer "cl" is NULL, which is obviously right. But I do not understand why we also check whenever the queue length of the leaf queue is zero "cl->un.leaf.q->q.qlen". I would have put that in the expression of the "if" statements that comes afterwards. A queue
2004 May 31
3
Re: Re: how to realize "MLPPP LFI" on linux
Hi,Andy Thank your very much! For the MLPPP LFI,I found that in Cisco configuration,it use "ppp multilink;ppp multilink fragmentation;ppp multilink fragment-delay 20;ppp multilink interleave " command to enable MLPPP LFI.So I think just realizing the same function on my linux router would be fine.But I got no idea how to do this on linux.So is there anything with iproute2?Would you
2005 Mar 30
5
netem with prio hangs on duplicate
hi i tried the example given on the examples page to duplicate selected traffic like tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:3 handle 3: netem duplicate 40% tc filter add dev eth0 protocol ip parent 1:0 prio 3 u32 match ip dst 11.0.2.2 flowid 1:3 when i ping from 11.0.2.2 to this interface my machine hangs. the same thing works for drop or delay. i would
2018 Jul 31
8
[PATCH net-next 1/2] virtio-net: correctly update XDP_TX counters
Commit 5b8f3c8d30a6 ("virtio_net: Add XDP related stats") tries to count TX XDP stats in virtnet_receive(). This will cause several issues: - virtnet_xdp_sq() was called without checking whether or not XDP is set. This may cause out of bound access when there's no enough txq for XDP. - Stats were updated even if there's no XDP/XDP_TX. Fixing this by reusing
2018 Jul 31
8
[PATCH net-next 1/2] virtio-net: correctly update XDP_TX counters
Commit 5b8f3c8d30a6 ("virtio_net: Add XDP related stats") tries to count TX XDP stats in virtnet_receive(). This will cause several issues: - virtnet_xdp_sq() was called without checking whether or not XDP is set. This may cause out of bound access when there's no enough txq for XDP. - Stats were updated even if there's no XDP/XDP_TX. Fixing this by reusing
2004 May 26
4
how to realize "MLPPP LFI"
Hi,all I am using iproute2/tc to manage bandwidth and control traffic.I must realize these two tricky functions in mips linux(kernel 2.4.17): 1.The device MUST support the capability to fragment AF and BE traffic in order to constrain the perturbing impact of AF and BE packets on EF traffic delay, for example using a mechanism such as MLPPP LFI.(RFC1990) 2. The packet size threshold before
2004 Jun 21
2
Help:how to filter P bits and schedule??
Hi,All I'd like to implement the function of "recognize and schedule traffic that makes use of the P bit as defined in IEEE 802.1P" by iproute2/tc in mips linux device.I think I should use iptables or u32 filter to recognize P bits of traffic and then put them into different queues(classes).But how to do this filter function by iptables or u32? Any suggestion is highly
2004 Aug 18
1
Help:how to filter PPP LCP packets?
Hi all, I am using tc htb3.6 on Linux2.4.17,and it works well.I''d like to capture PPP LCP packets and put them into high priority queue.But I don''t know how to use u32 ,iptables or other methods to filter this type packet. Would anyone please provide suggstion?Thank you very much! Best Regards swcims swcims@163.com 2004-08-18
2004 May 25
1
how to borrow bandwith
Hi,All I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following: LAN --- |ADSL Router|------WAN When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script: /usr/sbin/tc qdisc del dev nas0 root
2004 Aug 02
1
Urgen Help:Kernel crashed in HTB.
Hi,All I patched htb3.6 to mips liunx 2.4.17.But when I run htb,the mips linux box will say: "Unhandled kernel unaligned access in unaligned.c:emulate_load_store_insn, line 346".Then the kernel crashed . Would anyone like to tell me how to solve this problem?Thank you very much!   Best Regards         swcims         swcims@163.com           2004-08-02
2004 Aug 03
0
QOS inquiry:WFQ?HTB?DRR?
Hi, I used HTB3.6 on Linux to control traffic.It seems that HTB uses DRR(Dificit Round-Robin) algorithm.I heard that it is difficult for DRR to get a delay bounded and WFQ is better than DRR.Is that right?So,how to implement WFQ in Linux? Thanks a lot! Best Regards swcims swcims@163.com 2004-08-03 _______________________________________________ LARTC mailing list
2004 Jun 10
0
can use iptables to match 802.1Q P bits?
Hi,All I'd like to use iptables to set TOS according to the 802.1Q P bits in ethernet header,but I got no idea.You know,we can use this to match mac:iptables -A FORWARD -m mac --mac-source 00:e0:4c:3b:b6:d5 -j DROP.So can iptables supply commands to match P bits in ethernet header?(If so,I can set:iptables -A FORWARD -p pbits --pbits 0x5 -j TOS --set-tos 0xb8.) Any suggestion is highly
2004 Jun 25
0
Help:how to schedule P bits traffic?
Hi,All I would like to implement this function on mipsel-linux box by using iproute2/tc: "The device MUST recognize and schedule traffice that makes use of the P bits as defined in IEEE802.1p". Would anyone please supply some suggestion?In order to "recognize" the P bits traffice,should I need to set vlan on device? Any advice is highly appreciated! Best regards.
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
This patch updates the network emulation packet scheduler. * name changed from delay to netem since it does more than just delay * Catalin''s merged code to do packet reordering * uses a socket queue''s directly rather than layering on qdisc(fifo) because this is used in performance tests. * adds placeholder in API for future enhancements (rate and duplicate).
2003 Feb 23
1
HTB code :-)
As I understand, in HTB you are able to map traffic to a queue named direct_queue. This queue is initialized in function htb_init(), and is a qdisc not a class, is this right?? Another question of interest is how can I use it. Is this queue associated to the queue with highest prio? And how is this done??
2004 Jul 30
0
Help:how many bandwidth are borrowed in HTB?How to caculate!
Hi,All I use HTB to control traffic.Here is my script: /usr/sbin/tc qdisc del dev nas0 root /usr/sbin/tc qdisc add dev nas0 root handle 1:0 htb default 60 /usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 htb ceil 896kbit rate 896kbit prio 0 burst 60k /usr/sbin/tc class add dev nas0 parent 1:1 classid 1:10 htb ceil 896kbit rate 537kbit prio 1 burst 60k /usr/sbin/tc class add dev
2006 Apr 26
5
how to change classful netem loss probability?
Hi, I am using netem to add loss and then adding another qdisc within netem according to the wiki. Then i want to change the netem drop probability without having to delete the qdisc and recreate it. I try it but I get invalid argument: thorium-ini hedpe # tc qdisc add dev ath0 root handle 1:0 netem drop 1% thorium-ini hedpe # tc qdisc add dev ath0 parent 1:1 handle 10: xcp capacity 54Mbit
2004 Mar 18
6
[PATCH] packet delay scheduler
Okay, here is a very simple QOS scheduler that delays packets for 2.6. It is good for testing, and might be useful for people who want to put some class of traffic into a "penalty box". Alexey''s tc command is really easy to extend to new disciplines. There is a version which knows about this scheduler at: http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2 The