Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storage of IPv6 Address on the stack???

Status
Not open for further replies.

jimeeg

IS-IT--Management
Oct 10, 2006
1
0
0
US
i am trying to research how the IPv6 address is stored into memory. the IPv4 address is easy, because we can load it directly into an register such as eax and push it onto the stack. works great, but how are the IPv6 stuffed on there?

i am guessing that it takes 4 pushes onto the stack and somehow that is all popped back off into the AF_INET6 structure, but HOW???? does anyone have a disassembled copy of that code?

a sample of the ipv4 code is:

mov ebp-4Ch, eax ;store ip address from eax into ebp
push 10h
lea eax, [ebp-50h] ;load address up
push eax

anyone have an idea or a good place to look - my searches are failing me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top