Re: [tcpdump-workers] request for a DLT value for wireshark DVB-CI dissector

2011-02-25 Thread Guy Harris
On Feb 13, 2011, at 3:14 PM, Martin Kaiser wrote: > I'm working on a wireshark dissector for DVB-CI (Common Interface). The > dissector analyzes the communication between a PC-Card module and a DVB > receiver. It's not based on any other data link layer protocol. > > I defined the pcap packet da

[tcpdump-workers] libpcap , snaplen is set to a value but my packets in .pcap are cut shorter (no cooked device)

2011-02-25 Thread Laurent Debricon
Hello, I wrote a program using libpcap 1.1.1. The problem is that I uses pcap_set_snaplen and if i set it to for exemple 120, pkt_hdr->caplen is set at max to 106 other exemple : 128 -> 122 120 -> 106 68 -> 58 64 -> 58 32 -> 26 Am i missing something ? (i don't use cooked device, it is from eth0