Click here to Skip to main content
14,637,367 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed help. How to get frames from link-layer in Windows XP Pin
Chuaaico16-Jan-05 14:51
MemberChuaaico16-Jan-05 14:51 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m16-Jan-05 21:08
Membergeo_m16-Jan-05 21:08 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
Chuaaico16-Jan-05 22:43
MemberChuaaico16-Jan-05 22:43 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m17-Jan-05 0:19
Membergeo_m17-Jan-05 0:19 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
Chuaaico26-Jan-05 0:48
MemberChuaaico26-Jan-05 0:48 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m26-Jan-05 1:04
Membergeo_m26-Jan-05 1:04 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
Chuaaico26-Jan-05 15:21
MemberChuaaico26-Jan-05 15:21 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m26-Jan-05 20:05
Membergeo_m26-Jan-05 20:05 
Hm, I think, this is because NDIS sits between ethernet-layer2 and IP. Therefore you need to handle it somehow.

I downloaded the sample you mentioned - this is a sample of VPN tunnel - this is done on the ethernet level, so whole ethernet packet is encapsulated.

What I think you have to do is remove the ethernet frame from the packet, construct new ipinip packet and add an ethernet header again.

Don't know another place, where you can get & modify IP packets.
Generalbeginner question Pin
Anonymous16-Jan-05 14:44
MemberAnonymous16-Jan-05 14:44 
GeneralRe: beginner question Pin
David Crow17-Jan-05 4:21
MemberDavid Crow17-Jan-05 4:21 
GeneralRe: beginner question Pin
Adam Fowler17-Jan-05 5:31
MemberAdam Fowler17-Jan-05 5:31 
GeneralRe: beginner question Pin
David Crow17-Jan-05 6:00
MemberDavid Crow17-Jan-05 6:00 
GeneralRe: beginner question Pin
Adam Fowler17-Jan-05 6:12
MemberAdam Fowler17-Jan-05 6:12 
GeneralRe: beginner question Pin
David Crow17-Jan-05 6:28
MemberDavid Crow17-Jan-05 6:28 
GeneralRe: beginner question Pin
Adam Fowler17-Jan-05 6:43
MemberAdam Fowler17-Jan-05 6:43 
QuestionWhy .net create new project error? Pin
willyfu16-Jan-05 14:40
Memberwillyfu16-Jan-05 14:40 
QuestionModeless dialog receiving unwanted messages? Pin
Cpt Rick16-Jan-05 14:11
MemberCpt Rick16-Jan-05 14:11 
QuestionControl Messages and Direct/Indirect Parent Window? Pin
Maverick16-Jan-05 13:37
MemberMaverick16-Jan-05 13:37 
GeneralCListCtrl ItemSelected Notification... Pin
Maverick16-Jan-05 13:23
MemberMaverick16-Jan-05 13:23 
GeneralRe: CListCtrl ItemSelected Notification... Pin
PJ Arends16-Jan-05 13:47
professionalPJ Arends16-Jan-05 13:47 
GeneralDifference between SBP_LOWERTRACKHORZ and SBP_UPPERTRACKHORZ Pin
Luis Mejia16-Jan-05 12:24
MemberLuis Mejia16-Jan-05 12:24 
GeneralIcon Serialization Pin
smcd16-Jan-05 9:47
Membersmcd16-Jan-05 9:47 
QuestionHow to write an IDE Context Manager Pin
fabiocannizzo16-Jan-05 7:36
Memberfabiocannizzo16-Jan-05 7:36 
AnswerRe: How to write an IDE Context Manager Pin
Roger Allen16-Jan-05 23:27
MemberRoger Allen16-Jan-05 23:27 
GeneralRe: How to write an IDE Context Manager Pin
Anonymous17-Jan-05 5:57
MemberAnonymous17-Jan-05 5:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.