From 455716301fe6e34d210cf89b989175c6cc7ffadf Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Fri, 13 Aug 2010 16:04:16 +0900 Subject: [PATCH] update CHANGES.html for Bug 671 --- CHANGES.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/CHANGES.html b/CHANGES.html index 57d6f865a..0fece7e35 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -84,6 +84,9 @@ destinations by default; SetAllowBroadcast must be called beforehand if we wish to send broadcast packets. +
  • Deliver of packet ancillary information to sockets: A method to deliver ancillary information +to the socket interface (fixed in bug 671):
    void Socket::SetRecvPktInfo (bool flag);
    +

    Changes to existing API:

    @@ -117,6 +120,49 @@ the base classes (WifiInformationElement and WifiInformationElementVector) into the wifi module. This change is intended to ease the addition of support for modelling of further Wi-Fi functionality.
  • + +
  • Changed for {Ipv4,Ipv6}PacketInfoTag delivery: In order to +deliver ancillary information to the socket interface (fixed in bug 671), +Ipv4PacketInfoTag and Ipv6PacketInfoTag are implemented. +For the delivery of this information, the following changes are made into +existing class. + +In Ipv4EndPoint class, +
    +-  void SetRxCallback (Callback<void,Ptr<Packet>, Ipv4Address, Ipv4Address, uint16_t> callback);
    ++  void SetRxCallback (Callback<void,Ptr<Packet>, Ipv4Header, uint16_t, Ptr<Ipv4Interface> > callback);
    +
    +-  void ForwardUp (Ptr<Packet> p, Ipv4Address saddr, Ipv4Address daddr, uint16_t sport);
    ++  void ForwardUp (Ptr<Packet> p, const Ipv4Header& header, uint16_t sport, 
    ++                  Ptr<Ipv4Interface> incomingInterface);
    +
    +In Ipv4L4Protocol class, +
    +   virtual enum RxStatus Receive(Ptr<Packet> p, 
    +-                                Ipv4Address const &source,
    +-                                Ipv4Address const &destination,
    ++                                Ipv4Header const &header,
    +                                 Ptr<Ipv4Interface> incomingInterface) = 0;
    +
    +
    +-Ipv4RawSocketImpl::ForwardUp (Ptr<const Packet> p, Ipv4Header ipHeader, Ptr<NetDevice> device)
    ++Ipv4RawSocketImpl::ForwardUp (Ptr<const Packet> p, Ipv4Header ipHeader, Ptr<Ipv4Interface> incomingInterface)
    +
    +-NscTcpSocketImpl::ForwardUp (Ptr<Packet> packet, Ipv4Address saddr, Ipv4Address daddr, uint16_t port)
    ++NscTcpSocketImpl::ForwardUp (Ptr<Packet> packet, Ipv4Header header, uint16_t port,
    ++                             Ptr<Ipv4Interface> incomingInterface)
    +
    +-TcpSocketImpl::ForwardUp (Ptr<Packet> packet, Ipv4Address saddr, Ipv4Address daddr, uint16_t port)
    ++TcpSocketImpl::ForwardUp (Ptr<Packet> packet, Ipv4Header header, uint16_t port,
    ++                          Ptr<Ipv4Interface> incomingInterface)
    +
    +-UdpSocketImpl::ForwardUp (Ptr<Packet> packet, Ipv4Address saddr, Ipv4Address daddr, uint16_t port)
    ++UdpSocketImpl::ForwardUp (Ptr<Packet> packet, Ipv4Header header, uint16_t port,
    ++                          Ptr<Ipv4Interface> incomingInterface)
    +
    +
    + +
  • Changed behavior: