Pergunta de entrevista da empresa Arista Networks

How would you design a NAT in C.