Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if received_on_port == EXT_DEVICE and flow_emap.has(internal_flow):
fl_id = flow_emap.get(internal_flow)
flow_emap.refresh_idx(fl_id, now)
out_port = vector_get(int_devices, fl_id)
return ([out_port],[ether(h1, saddr=..., daddr=...), ipv4(h2, cksum=...), tcpudp(h3)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.