NDN API to support flow transmission