I was using nf_ct_get(skb, &ctinfo) function in net/ipv4/udp.c and net/ipv6/udp.c files to get the conntract reference of udp packets. I noticed that I was able to fetch the 'struct conn' reference of IPV4 udp packet in net/ipv4/udp.c but cannot get reference of 'struct conn' of IPV6 udp in net/ipv6/udp.c. Can you please give some insights on this. For your reference I have put the hook in __udp4_lib_rcv() and __udp6_lib_rcv() functions to get conntrack reference to incoming udp packets.