Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-16 Thread Ignacio, Domingo Jr Ostria - igndo001
rkers@lists.tcpdump.org Subject: Re: [tcpdump-workers] important query on tcpdump header files and source codes On Jul 16, 2008, at 1:08 AM, Ignacio, Domingo Jr Ostria - igndo001 wrote: > I inspected and studied the linux kernel source codes, tcp_input.c, > tcp_ouput.c, tcp_ipv4.c and t

Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-16 Thread Guy Harris
On Jul 16, 2008, at 1:08 AM, Ignacio, Domingo Jr Ostria - igndo001 wrote: I inspected and studied the linux kernel source codes, tcp_input.c, tcp_ouput.c, tcp_ipv4.c and tcp.c and it is only on the tcp_input source code where there is a provision on TCP options to be added. No, the TCP

Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-16 Thread Ignacio, Domingo Jr Ostria - igndo001
D] On Behalf Of Guy Harris Sent: Wednesday, 16 July 2008 5:04 PM To: tcpdump-workers@lists.tcpdump.org Subject: Re: [tcpdump-workers] important query on tcpdump header files and source codes On Jul 16, 2008, at 12:09 AM, Ignacio, Domingo Jr Ostria - igndo001 wrote: > Or 2. When the tcpdum

Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-16 Thread Max Laier
On Wednesday 16 July 2008 09:09:31 Ignacio, Domingo Jr Ostria - igndo001 wrote: > Or 2. When the tcpdump do the packet capture, is it looking/utilizing > the kernel variables within the protocol stacks or it is operating > independently from the kernel?( Sorry about this question guys, just > need

Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-16 Thread Guy Harris
On Jul 16, 2008, at 12:09 AM, Ignacio, Domingo Jr Ostria - igndo001 wrote: Or 2. When the tcpdump do the packet capture, is it looking/utilizing the kernel variables within the protocol stacks or it is operating independently from the kernel? It is *not* utilizing kernel variables in the T

Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-16 Thread Ignacio, Domingo Jr Ostria - igndo001
Hi Guy and the rest of the gang, Thank you very much for the info , it is most helpful. Haven't seen the same syntax errors of bad header length, etc again! Just a bit of clarification: 1. Since srtt(smoothed round trip time has already been defined in tcp.h, line 255, and formula details and def

Re: [tcpdump-workers] important query on tcpdump header files and source codes

2008-07-15 Thread Guy Harris
On Jul 15, 2008, at 12:57 AM, Ignacio, Domingo Jr Ostria - igndo001 wrote: I try to modify print-tcp.c and tcp.h source code and header file file of tcpdump-3.9.8 to include a new option which is th_srtt, a variable I added to my linux kernel protocol stacks. Where did you add that opti

[tcpdump-workers] important query on tcpdump header files and source codes

2008-07-15 Thread Ignacio, Domingo Jr Ostria - igndo001
Hi everyone, I try to modify print-tcp.c and tcp.h source code and header file file of tcpdump-3.9.8 to include a new option which is th_srtt, a variable I added to my linux kernel protocol stacks. I added into the header(tcp.h of tcpdump) my th_srtt variable and on print-tcp.c tcp options field.