struct net_device { ... struct in_device __rcu *ip_ptr; /* IPv4 specific data */ struct inet6_dev __rcu *ip6_ptr; /* IPv6 specific data */ ... }