sapopulateprots
sapopulateprots(&new_state, prot_ents, SA_NUM_PROT_ENTS);
static void sapopulateprots(struct sa_prot_state *cur_state,