kni: add function to set link state on kernel interface