[P4-dev] Custom Hash Functions

Vibhaalakshmi Sivaraman vibhaa at princeton.edu
Fri Jun 17 16:18:52 EDT 2016


How can we add our own custom hash functions to the existing set of field
list calculations? Flow Radar
<https://github.com/USC-NSL/p4c-behavioral/blob/9a4c17c42a0de05f14aa9a0b9d0abf19b5d6129b/p4c_bm/templates/src/checksums_algos.h>
seems
to have done this, but I am not sure what the procedure for compiling it,
which is the right place to make the addition or if there are any
restrictions on the format. Any help on this would be great!

Thanks,
Vibhaa

-- 
Vibhaalakshmi Sivaraman
Computer Science
Princeton University '17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20160617/3129a9e1/attachment-0002.html>


More information about the P4-dev mailing list