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

(-)a/RELEASE_NOTES (+1 lines)
 Lines 34-39    Link Here 
34
- Bug 1943 - Waveform generator signal duration calc error
34
- Bug 1943 - Waveform generator signal duration calc error
35
- Bug 1951 - AODV does not update nexthop for 1-hop nodes
35
- Bug 1951 - AODV does not update nexthop for 1-hop nodes
36
- Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple
36
- Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple
37
- Bug 1858 - wireless examples not correctly recording packet reception
37
38
38
Known issues
39
Known issues
39
------------
40
------------
(-)a/examples/wireless/wifi-simple-adhoc-grid.cc (-1 / +4 lines)
 Lines 90-96    Link Here 
90
90
91
void ReceivePacket (Ptr<Socket> socket)
91
void ReceivePacket (Ptr<Socket> socket)
92
{
92
{
93
  NS_LOG_UNCOND ("Received one packet!");
93
  while (socket->Recv ())
94
    {
95
      NS_LOG_UNCOND ("Received one packet!");
96
    }
94
}
97
}
95
98
96
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize, 
99
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize, 
(-)a/examples/wireless/wifi-simple-adhoc.cc (-1 / +4 lines)
 Lines 69-75    Link Here 
69
69
70
void ReceivePacket (Ptr<Socket> socket)
70
void ReceivePacket (Ptr<Socket> socket)
71
{
71
{
72
  NS_LOG_UNCOND ("Received one packet!");
72
  while (socket->Recv ())
73
    {
74
      NS_LOG_UNCOND ("Received one packet!");
75
    }
73
}
76
}
74
77
75
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize, 
78
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize, 
(-)a/examples/wireless/wifi-simple-infra.cc (-1 / +4 lines)
 Lines 70-76    Link Here 
70
70
71
void ReceivePacket (Ptr<Socket> socket)
71
void ReceivePacket (Ptr<Socket> socket)
72
{
72
{
73
  NS_LOG_UNCOND ("Received one packet!");
73
  while (socket->Recv ())
74
    {
75
      NS_LOG_UNCOND ("Received one packet!");
76
    }
74
}
77
}
75
78
76
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize, 
79
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize, 
(-)a/examples/wireless/wifi-simple-interference.cc (-3 / +8 lines)
 Lines 99-109    Link Here 
99
static inline std::string PrintReceivedPacket (Ptr<Socket> socket)
99
static inline std::string PrintReceivedPacket (Ptr<Socket> socket)
100
{
100
{
101
  Address addr;
101
  Address addr;
102
  socket->GetSockName (addr);
103
  InetSocketAddress iaddr = InetSocketAddress::ConvertFrom (addr);
104
102
105
  std::ostringstream oss;
103
  std::ostringstream oss;
106
  oss << "Received one packet!  Socket: " << iaddr.GetIpv4 () << " port: " << iaddr.GetPort ();
104
105
  while (socket->Recv ())
106
    {
107
      socket->GetSockName (addr);
108
      InetSocketAddress iaddr = InetSocketAddress::ConvertFrom (addr);
109
110
      oss << "Received one packet!  Socket: " << iaddr.GetIpv4 () << " port: " << iaddr.GetPort ();
111
    }
107
112
108
  return oss.str ();
113
  return oss.str ();
109
}
114
}
(-)a/src/wave/examples/wave-simple-80211p.cc (-1 / +4 lines)
 Lines 75-81    Link Here 
75
75
76
void ReceivePacket (Ptr<Socket> socket)
76
void ReceivePacket (Ptr<Socket> socket)
77
{
77
{
78
  NS_LOG_UNCOND ("Received one packet!");
78
  while (socket->Recv ())
79
    {
80
      NS_LOG_UNCOND ("Received one packet!");
81
    }
79
}
82
}
80
83
81
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize,
84
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize,

Return to bug 1858