Uploaded image for project: 'l2switch'
  1. l2switch
  2. L2SWITCH-40

Ipv4Decoder unable to listen to Ethernet packets

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • Resolution: Unresolved
    • unspecified
    • None
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 3000
    • Normal

    Description

      Since the ArpDecoder, Ipv4Decoder and Ipv6Decoder subscribe for Ethernet packets, on receiving an Ethernet packet, all 3 must receive the Ethernet packet. On adding logs, only the onEthernetPacketReceived(EthernetPacketReceived notification) in the ArpDecoder gets invoked. I added logs to obtain the notificationListeners in onNotificationSubscribtion(Class<? extends Notification> aClass) in class AbstractPacketDecoder, only the EthernetDecoder and ArpDecoder get listed. On commenting .add(new ArpDecoder(notificationProviderService)) in initiateDecoders(NotificationProviderService notificationProviderService) in PacketHandlerModule, the EthernetDecoder,Ipv4Decoder and Ipv6Decoder get listed as notificationListeners.

      I am using the stable/helium version of l2switch.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            sanjivininaikar@tataelxsi.co.in Sanjivini Naikar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: