Assign IP address to a P4 switch
I want to write a P4 program which performs some header modifications. I want my P4 switch to change (Source IP, Source Port) of the arrived packet into its own IP address and a psudo Port number and relay the packet towards its ultimate destination.