]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipl2tp.c
libgenl: introduce genl_init_handle
authorSabrina Dubroca <sd@queasysnail.net>
Tue, 16 Aug 2016 14:26:55 +0000 (16:26 +0200)
committerStephen Hemminger <sthemmin@microsoft.com>
Wed, 17 Aug 2016 20:59:21 +0000 (13:59 -0700)
commit2b68cb77cde32f5cba5f984e15fc402758edea76
tree3140144246454b1e0dddb198bec26a0f40ed8961
parent08c0466b11b79107740226052a27279034eb3768
libgenl: introduce genl_init_handle

All users of genl have the same code to open a genl socket and resolve
the family for their specific protocol.  Introduce a helper to initialize
the handle, and use it in all the genl code.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
include/libgenl.h
ip/ipfou.c
ip/ipila.c
ip/ipl2tp.c
ip/ipmacsec.c
ip/tcp_metrics.c
lib/libgenl.c