NM_BDG_IFNAMSIZ
for (i = 0; i < NM_BDG_IFNAMSIZ && name[i]; i++) {
char bdg_basename[NM_BDG_IFNAMSIZ];