net-caif: add CAIF generic caif support functions