Commit Graph

807 Commits

Author SHA1 Message Date
Mathieu Lacage
3d9d4ce7be I wonder what the point of that code was: why should you test for zero _after_ using the pointer ? It needs to be tested _before_. 2007-07-31 10:47:29 +02:00
Mathieu Lacage
530b65e51d add license headers 2007-07-31 10:46:43 +02:00
Mathieu Lacage
af6bed4995 an eui 64 address type 2007-07-31 10:45:37 +02:00
Mathieu Lacage
f7f981d549 fix bugless in address allocation 2007-07-31 10:45:15 +02:00
Mathieu Lacage
1454050eef forgot to set the interface id 2007-07-31 09:21:40 +02:00
Mathieu Lacage
8c80e6c2f8 remove now-unused ArpPrivate class 2007-07-31 09:17:05 +02:00
Mathieu Lacage
b4237e51dc implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +02:00
Mathieu Lacage
7af432c313 small cleanups 2007-07-31 07:54:26 +02:00
Mathieu Lacage
80bf1491e1 add doxygen 2007-07-30 13:59:13 +02:00
Mathieu Lacage
22cf3afdfa add Ipv4Address::IsMatchingType and Eui48Address::IsMatchingType 2007-07-30 13:58:39 +02:00
Mathieu Lacage
f2084098e2 add InetSocketAddress::IsMatchingType and use it 2007-07-30 13:55:28 +02:00
Mathieu Lacage
df7f115415 InetAddress -> InetSocketAddress 2007-07-30 13:29:36 +02:00
Mathieu Lacage
41074331ed fix optimized build 2007-07-30 11:07:56 +02:00
Mathieu Lacage
034469197c fix address deserialization 2007-07-30 11:03:13 +02:00
Mathieu Lacage
c80acdf88f remove dead files after merge 2007-07-30 10:35:40 +02:00
Mathieu Lacage
7b9fbc36e1 merge 2007-07-30 10:35:03 +02:00
Tom Henderson
ecd4f30e41 Fix lengthType initialization for optimized build 2007-07-28 23:20:58 -07:00
Gustavo J. A. M. Carneiro
8682d0293a WAF: remove the obj.includes = '.' part from modules, since it causes build failure in OS X, and waf was just fixed to enable header files dependency tracking by default without needing to change obj.includes 2007-07-28 14:14:16 +01:00
Mathieu Lacage
9e23045867 fix basic coding style issues 2007-07-28 13:25:10 +02:00
Mathieu Lacage
08758e9129 fix indent, basic coding style issues 2007-07-28 13:22:47 +02:00
Mathieu Lacage
14404dff66 protocol number is a 16 bit unsigned integer 2007-07-28 13:20:47 +02:00
Mathieu Lacage
7b0e63b123 param is a 16 bit integer. implement proper llc encapsulation/decapsulation 2007-07-28 13:15:04 +02:00
Mathieu Lacage
3b52247058 small cleanups 2007-07-28 13:14:24 +02:00
Mathieu Lacage
4c5fe41f2b pktType -> encapMode 2007-07-28 12:41:53 +02:00
Mathieu Lacage
b4ebd87229 disable copy constructor and operator = for CsmaCdNetDevice 2007-07-28 12:30:31 +02:00
Tom Henderson
9f8910c258 return ifIndex when adding netdevice to node (topology) 2007-07-27 14:40:50 -07:00
Mathieu Lacage
3cec6af4a8 add doxygen 2007-07-27 09:44:24 +02:00
Mathieu Lacage
8474486b74 add extra conveniance constructors and use them 2007-07-27 08:47:58 +02:00
Mathieu Lacage
695119b3a5 Ipv4TransportAddress -> InetAddress 2007-07-27 08:44:26 +02:00
Mathieu Lacage
863de62880 ipv4-transport-address -> inet-address 2007-07-27 08:32:34 +02:00
Mathieu Lacage
c716994cab convert Socket to use Address class 2007-07-27 08:23:20 +02:00
Mathieu Lacage
db6a90d956 replace MacAddress by Address 2007-07-26 17:36:53 +02:00
Mathieu Lacage
4d847a04a7 merge 2007-07-26 17:23:55 +02:00
Mathieu Lacage
a60ac679a0 disable copying PointToPointNetDevice 2007-07-26 16:04:54 +02:00
Mathieu Lacage
8a5f927d8d improve type checking 2007-07-26 14:47:05 +02:00
Mathieu Lacage
073e685b0d new address types 2007-07-26 14:03:41 +02:00
Gustavo J. A. M. Carneiro
f35ff8f583 Add Ipv4Address::CombineMask, and implement Ipv4Address::IsBroadcast. 2007-07-26 12:11:37 +01:00
Gustavo J. A. M. Carneiro
6b29b3c817 Add documentation for the dynamic routing interfaces. Change Ipv4::AddRoutingProtocol priority parameter type from int to int16_t to make way for in the future providing stable sorting of routing protocols of the same priority. 2007-07-27 15:38:04 +01:00
Gustavo J. A. M. Carneiro
317f336c76 Allow UDP sockets to receive broadcast (bug #51) 2007-07-26 12:27:49 +01:00
Gustavo J. A. M. Carneiro
ddd0dc6dff Support dynamic routing and multiple routing protocols; static routing table is refactored as a "routing protocol".
Support sending IP broadcast (255.255.255.255) packets (bug #36).
2007-07-26 12:26:21 +01:00
Gustavo J. A. M. Carneiro
1da64ebbd6 Allow ARP resolution to work with broadcast IPv4 (dest=255.255.255.255) packets; Partially fixes bug #36. 2007-07-26 12:12:51 +01:00
Gustavo J. A. M. Carneiro
41c4b6453a EvenId const fixes. 2007-07-26 12:05:31 +01:00
Tom Henderson
fda49d72c1 merge 2007-07-27 10:49:29 -07:00
Emmanuelle Laprise
31530c7311 a csma/cd NetDevice subclass and a test script 2007-07-27 21:17:14 +02:00
Emmanuelle Laprise
ad5f36f2ac ethernet Header and Trailer classes 2007-07-27 21:16:40 +02:00
Emmanuelle Laprise
718ec64593 Move LLC encapsulation from NetDevice to subclasses. 2007-07-27 20:45:18 +02:00
Emmanuelle Laprise
b078d91894 cleanup the wscripts 2007-07-27 20:45:07 +02:00
Emmanuelle Laprise
0e21d85be1 src/devices/point-to-point/p2p-* -> src/devices/point-to-point/point-to-point-* 2007-07-27 20:26:36 +02:00
Emmanuelle Laprise
54af49fe40 src/devices/p2p -> src/devices/point-to-point 2007-07-27 20:17:23 +02:00
Tom Henderson
2d950869f8 Add patch 49 (add/remove network route when bringing interface up/down) 2007-07-27 10:48:10 -07:00