[Winpcap-users] RE: Winpcap-users Digest, Vol 37, Issue 10

Paul Rocca Paul.Rocca at audiosoft.co.uk
Tue Apr 8 13:39:23 GMT 2008


 

   1. RE: first ethernet pkt gobbled by the next	one...solved
      (Har Yash Bahadur)
----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Apr 2008 13:29:01 +0530
From: Har Yash Bahadur <har.bahadur at conexant.com>
Subject: [Winpcap-users] RE: first ethernet pkt gobbled by the next
	one...solved
To: Har Yash Bahadur <har.bahadur at conexant.com>,
	"winpcap-users at winpcap.org"	<winpcap-users at winpcap.org>
Message-ID:
	<9A42B16CBB815A4790B607652CD2DCB301F9FB5042 at noidahub1.bbnet.ad>
Content-Type: text/plain; charset="iso-8859-1"

>Hi All,

>I found that WinPcap is not able to send or receive Ethernet packets of size >1514 bytes (inclusive of 14 byte MAC header).
>The packet lost was of 1518 bytes which is the standard size in case of Ethernet packets. It means the payload cannot be more >than 1500 (=1514 - 14) bytes.

>I tried the same thing while sending a packet and I got an error from function "pcap_sendpacket". When I reduced
>the total size to 1514 it works fine!

>Anybody has any idea why this LIMIT? Ahs anybody else faced this issue?

>Regards,
>Har Yash

Unless I'm missing something really obvious, looking at your code
snippet, isn't it becasuse you have set the snaplen to 1530?


Paul

_______________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
_______________________________________________________________________



More information about the Winpcap-users mailing list