Re: Path of network packet in kernel

2014-07-15 Thread Anupam Kapoor
a 'slightly' more indepth look: http://www.linuxfoundation.org/images/1/1c/Network_data_flow_through_kernel.png kind regards anupam On Tue, Jul 15, 2014 at 10:33 PM, Jeff Haran wrote: > This helps me to see the forest for the trees. And it's pretty current: > > > > http://upload.wikimedia.org/wi

Re: Path of network packet in kernel

2014-07-15 Thread Anand Moon
Hi Anil, You need to use "trace-cmd record" command and run you client. For example. I chose to write a tcp simple client server application. Server running on remote machine listening on some port I executed below command to connect to the server using trace-cmd record Below command records all

RE: Path of network packet in kernel

2014-07-15 Thread Jeff Haran
This helps me to see the forest for the trees. And it’s pretty current: http://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg Jeff Haran From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Anil Joshi Sent: Tuesday,

Re: Problems with Linux next tree

2014-07-15 Thread Kinka Huang
ok, got it. Thanks! 2014-7-15 下午3:48于 "Prabhakar Lad" 写道: > Hi, > > On Tue, Jul 15, 2014 at 5:52 AM, 黄钦佳 wrote: > >> Due to the way the linux-next tree is built, 'git pull' won't work. > >> > >> You want to 'git clone' Linus's master tree, then 'git remote add' > >> the Linux-next tree. Then use

Re: Path of network packet in kernel

2014-07-15 Thread Anand Moon
Hi Anil, You can use trace-cmd to trace kernel function flow for any application Below link will help you. http://elinux.org/Ftrace -Anand Moon On Tuesday, July 15, 2014 8:07 PM, Anil Joshi wrote: Hi All, I am just new to all this,just wanted to trace the path of the packet since it e

Re: Path of network packet in kernel

2014-07-15 Thread Mohammad Merajul Islam Molla
This may help - http://hsnlab.tmit.bme.hu/twiki/pub/Targyak/Mar11Cikkek/Network_stack.pdf -- -Meraj On Tue, Jul 15, 2014 at 8:37 PM, Anil Joshi wrote: > Hi All, > > I am just new to all this,just wanted to trace the path of the packet since > it enter the system(inside the kernel (functions and

Path of network packet in kernel

2014-07-15 Thread Anil Joshi
Hi All, I am just new to all this,just wanted to trace the path of the packet since it enter the system(inside the kernel (functions and system calls)) and reaches the destination application. How to do that. Regards ___ Kernelnewbies mailing list Ker

Re: Problems with Linux next tree

2014-07-15 Thread Lucas Tanure
So the best way is from Alexey Tulia. My setup: Clone linux-next tree. Never ever commit something in master branch. Or even modify files. Just keep master branch sync with remote linux-next. $ git remote update $ git reset --hard origin/master Thanks! -- Lucas Tanure +55 (19) 988176559 On T

Re: Problems with Linux next tree

2014-07-15 Thread Varka Bhadram
On 07/15/2014 01:28 AM, Lucas Tanure wrote: > Hi, > > My local clone of linux-tree always fails to update. > When I run git pull origin master, I got a : > Automatic merge failed; fix conflicts and then commit the result. > I think on your local tree you are having uncommitted changes.. check with

Problems with Linux next tree

2014-07-15 Thread Lucas Tanure
Hi, My local clone of linux-tree always fails to update. When I run git pull origin master, I got a : Automatic merge failed; fix conflicts and then commit the result. So, How I can keep my local tree updated ? Thanks -- Lucas A. Tanure Alves +55 (19) 988176559

Re: Problems with Linux next tree

2014-07-15 Thread Prabhakar Lad
Hi, On Tue, Jul 15, 2014 at 5:52 AM, 黄钦佳 wrote: >> Due to the way the linux-next tree is built, 'git pull' won't work. >> >> You want to 'git clone' Linus's master tree, then 'git remote add' >> the Linux-next tree. Then use 'git remote update' instead of 'git pull' >> when you want to refresh t

Re: Problems with Linux next tree

2014-07-15 Thread Prabhakar Lad
Hi Lucas, On Mon, Jul 14, 2014 at 9:57 PM, Lucas Tanure wrote: > Hi, > > No I didn't. It is a clean linux-next tree. > Turns out that if I don't update every day I got this issue. > > So, no solution yet. > If it is a clean then just try $ git clean -fxd $ git pull Thanks, --Prabhakar Lad _