how to get ip address of network device in a kernel space
At the current time I am working linux kernel especially network part with arp.c code.
I want to get IP address of my network interface card as a string format. for example 192.168.1.1
Thank you beforehand.