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

Ipv4Decoder unable to listen to Ethernet packets

XMLWordPrintable

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

    • 3000
    • Normal

      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.

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

              Created:
              Updated: