Hi, NTDEV.
Subj. I have Packet Filter adapter that appends own control parts to packets. Sometimes it can run out of MTU length and, therefore, not capable to transmit near-MTU size packets.
If somebody know how to change adapter’s MTU w/o indicating it to upper drivers/filters? I need exactly to do following:
- Get adapetr’s MTU
- Tell upper drivers, that it’s MTU is MTU-x.
Please, help.
B.T.W.: Does anybody have a source code of packet filter that does some sort of repacketerization ( creates it’s own packets and forwards it up and down )? I wrote two letters but nobody answered :((((
Best regards,
Dan.
Hi Dan,
You have to process OID_GEN_MAXIMUM_FRAME_SIZE and
OID_GEN_MAXIMUM_TOTAL_SIZE requests(for Ethernet) and WAN_LINE_UP status
indication (for NDISWANIP).
Regards,
Vadim
http://www.ntndis.com
“Dan E. Barvitsky” wrote in message
news:xxxxx@ntdev…
Hi, NTDEV.
Subj. I have Packet Filter adapter that appends own control parts to
packets. Sometimes it can run out of MTU length and, therefore, not capable
to transmit near-MTU size packets.
If somebody know how to change adapter’s MTU w/o indicating it to upper
drivers/filters? I need exactly to do following:
1) Get adapetr’s MTU
2) Tell upper drivers, that it’s MTU is MTU-x.
Please, help.
B.T.W.: Does anybody have a source code of packet filter that does some sort
of repacketerization ( creates it’s own packets and forwards it up and
down )? I wrote two letters but nobody answered :((((
Best regards,
Dan.
Thanks a lot. It was very helpful.
B.T.W.: Have you got any examples of intermediate driver, which uses partial
receives (with lookahead buffer) and performs some repacketization? Or maybe
any hints how to make an ethernet frame from scratch? I make packets, but
they are dropped when I perform forwarding UP (on receive), so upper drivers
do not get them.
What is wrong? It seems that I do everything according to MSDN help.
Thanks a lot,
Dan Barvitsky.
ïÇÒÏÍÎÏÅ ×ÁÍ ÓÐÁÓÉÂÏ, ÷ÁÄÉÍ. åÓÌÉ ÅÓÔØ Ó×ÏÂÏÄÎÁÑ ÍÉÎÕÔËÁ, ÐÏÍÏÇÉÔÅ
ÐÏÖÁÌÕÊÓÔÁ. õÖÅ Ä×Å ÎÅÄÅÌÉ Ó ÜÔÉÍ ÍÕÞÁÀÓØ.
----- Original Message -----
From: “Vadim V. Smirnov”
Newsgroups: ntdev
To: “NT Developers Interest List”
Sent: Friday, January 17, 2003 3:40 PM
Subject: [ntdev] Re: Does anybody know how to change adapter’s MTU from
protocol filter?
> Hi Dan,
>
> You have to process OID_GEN_MAXIMUM_FRAME_SIZE and
> OID_GEN_MAXIMUM_TOTAL_SIZE requests(for Ethernet) and WAN_LINE_UP status
> indication (for NDISWANIP).
>
> Regards,
> Vadim
> http://www.ntndis.com
>
>
> “Dan E. Barvitsky” wrote in message
> news:xxxxx@ntdev…
> Hi, NTDEV.
>
> Subj. I have Packet Filter adapter that appends own control parts to
> packets. Sometimes it can run out of MTU length and, therefore, not
capable
> to transmit near-MTU size packets.
> If somebody know how to change adapter’s MTU w/o indicating it to upper
> drivers/filters? I need exactly to do following:
> 1) Get adapetr’s MTU
> 2) Tell upper drivers, that it’s MTU is MTU-x.
> Please, help.
>
> B.T.W.: Does anybody have a source code of packet filter that does some
sort
> of repacketerization ( creates it’s own packets and forwards it up and
> down )? I wrote two letters but nobody answered :((((
>
> Best regards,
> Dan.
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> B.T.W.: Have you got any examples of intermediate driver, which uses
partial
receives (with lookahead buffer) and performs some repacketization?
Or maybe
MUX sample from the DDK.
Max