Rename some variable names in Ports.{c,h}