User externs provide an interface between the match-action control block and your own RTL module that resides outside of the VNP4. You can implement whatever function is useful for your design, such as a custom checksum calculation or a hash function.