About conversion between iphdr->saddr and String-format IP Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I am looking for some functions to convert ip address in string format into=
 unsigned int and versa vice.

Does it have some function like 'inet_addr' inside kernel for that?=A0 Basi=
cally what I want to do is conver iphdr->s_addr into a String type, which w=
ould give me a readable ip address for debugging.


Any idea is well appreciated,


Thanks,


+Kunsheng



      

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux