View | Details | Raw Unified | Return to bug 106802
Collapse All | Expand All

(-)tcptrack/files/patch-src-IPv4Address.h (+12 lines)
Line 0 Link Here
1
diff -u src/IPv4Address.h.orig src/IPv4Address.h
2
--- src/IPv4Address.h.orig	Sat Dec 16 00:42:10 2006
3
+++ src/IPv4Address.h	Sat Dec 16 00:42:51 2006
4
@@ -13,7 +13,7 @@
5
 	IPv4Address(IPv4Address &na) { a=na.toStruct(); }
6
 	bool operator==( const IPv4Address & ) const;
7
 	bool operator!=( const IPv4Address & ) const;
8
-	char * IPv4Address::ptr() const;
9
+	char * ptr() const;
10
 	friend ostream & operator<<( ostream &, const IPv4Address &);
11
 	struct in_addr toStruct() const;
12
 private:
(-)tcptrack/files/patch-src-TCPPacket.h (+40 lines)
Line 0 Link Here
1
diff -u src/TCPPacket.h.orig src/TCPPacket.h
2
--- src/TCPPacket.h.orig	Sat Dec 16 00:56:26 2006
3
+++ src/TCPPacket.h	Sat Dec 16 00:59:55 2006
4
@@ -29,24 +29,24 @@
5
 class TCPPacket
6
 {
7
 public:
8
-	TCPPacket::TCPPacket( const u_char *data, unsigned int data_len );
9
-	TCPPacket::TCPPacket( TCPPacket & orig );
10
-	seq_t TCPPacket::getSeq() const;
11
-	seq_t TCPPacket::getAck() const;
12
+	TCPPacket( const u_char *data, unsigned int data_len );
13
+	TCPPacket( TCPPacket & orig );
14
+	seq_t getSeq() const;
15
+	seq_t getAck() const;
16
 	bool isFlagSet(unsigned int);
17
 	unsigned short headerLen() const { return header_len; };
18
19
 	portnum_t srcPort() const;
20
 	portnum_t dstPort() const;
21
22
-	bool TCPPacket::fin() const;
23
-	bool TCPPacket::syn() const;
24
-	bool TCPPacket::rst() const;
25
-	bool TCPPacket::psh() const;
26
-	bool TCPPacket::ack() const;
27
-	bool TCPPacket::urg() const;
28
-	bool TCPPacket::ece() const;
29
-	bool TCPPacket::cwr() const;
30
+	bool fin() const;
31
+	bool syn() const;
32
+	bool rst() const;
33
+	bool psh() const;
34
+	bool ack() const;
35
+	bool urg() const;
36
+	bool ece() const;
37
+	bool cwr() const;
38
39
 	friend ostream & operator<<( ostream &, const TCPPacket &);
40
 private:

Return to bug 106802