#port structure definition