use a single function to get netlink connection

Signed-off-by: Jan Dvořák <mordae@anilinux.org>