On Fri, 20 Jun 2003, Adam Flizikowski wrote: > i have a problem. I need to identify packets (IPv6) across the linux > networking code. > But there is no ID field as it used to be in ipv4.. what would you advice to > distinguish packets on its way through linux router? > One restriction is not to change the payload of the packet bcause it > requires full memory read to get pkt. id from payload data.. > > what is your point of view..? You don't state what *exactly* you want to identify. Because you menation IPv4 ID field, I take it you want to tell "flows" apart. Look at the source/destanation -pair, and in the future, also the 20-bit flow label field (already being set by certain hosts); you can already start looking up at {src,dest,flowid} -tuple, even though the last one is still mostly zero. I don't know if there are any Linux -specific tricks which might help you here. -- Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html