As i could see the creation of the file (/proc/net/if_inet6) has been done in addrconf.c file, which is in read mode(0444).

I just want to know which part of the kernel source the /proc/net/if_inet6 file will be written with the ipv6 address.