Skip to contentSkip to conversation

adding IPv6 address in the kernel

DISCUSSION Roman Chertov 1 participant 1 message Oct 31, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,
I am trying to create a virtual interface by using new_device kernel
call. I would like to be able to specify an IPv6 address for this device immediately after its creation in the module code. I have seen an example of how this can be done via the (struct ifreq) and devinet_ioctl call for IPv4. What is the equivalent functionality for IPv6?

Thanks in advance,

Roman