DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Assembly (http://www.daniweb.com/forums/forum125.html)
-   -   IPv6 Address Storage in Memory? (http://www.daniweb.com/forums/thread57851.html)

jimeeg Oct 12th, 2006 12:45 pm
IPv6 Address Storage in Memory?
 
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.


All times are GMT -4. The time now is 1:47 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC