get the ipv6 source address
I need to get the ipv6 source address at the kernel level (Debian machine).
what is the eroor with this? code: struct ipv6_pinfo *np = inet_sk(sk); addr = np->saddr; |
What error are you getting?
|
in fact i am making changes in the kernel tcp stack in file tcp_output.c, and i am using the ipv6 source address to inject in the tcp header.
after recompiling the kernel, when i launch the browser epiphany, i get a kernel failure message: BUG: unable to handle kernel NULL pointer dereference... Thanks |
All times are GMT -5. The time now is 12:25 PM. |