Ethereal-dev: [Ethereal-dev] packet is not captured

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "bunty " <bunty123_4@xxxxxxxxxxxxxx>
Date: 4 Apr 2005 07:45:07 -0000

  Hello,
        I have implemented new header in TCP/IP stack as ETH+MYIP+IP+TCP/UDP headers in packet and also with changes to Ethernet header that i included new protocol ID instead of 8 for IP packets. when i receives packet instead of going to eth capture by satisfying condition in function capture_loop_packet_cb in capture_loop.c  as
case WTAP_ENCAP_ETHERNET:
      capture_eth(pd, 0, whdr.caplen, &ld->counts);
      break;
it uses
  case WTAP_ENCAP_SLL:
      capture_sll(pd, whdr.caplen, &ld->counts);
      break;
      why is uses that?
reagards,
bunty.