ghTemp123 / wiresharkplugin

Automatically exported from code.google.com/p/wiresharkplugin
0 stars 0 forks source link

flow_t structure #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
  /* fill in the flow_t structure with info that identifies this flow */
  this_flow.src = src;
  this_flow.dst = dst;
  this_flow.sport = ntohs(tcp_header->th_sport);
  this_flow.dport = ntohs(tcp_header->th_dport);
  seq = ntohl(tcp_header->th_seq);

Original issue reported on code.google.com by cn.wei.hp@gmail.com on 4 Mar 2011 at 8:45

GoogleCodeExporter commented 9 years ago
        # Build a distinctive key for this pair of peers.
        src = (ip.get_ip_src(), tcp.get_th_sport() )
        dst = (ip.get_ip_dst(), tcp.get_th_dport() )
        con = Connection(src,dst)

Original comment by cn.wei.hp@gmail.com on 4 Mar 2011 at 8:47