Made use of user defined chains in user defined port functions