ng_attach_common
static int ng_attach_common(struct socket *so, int type);
if ((error = ng_attach_common(so, NG_CONTROL)) != 0)
return (ng_attach_common(so, NG_DATA));