summaryrefslogtreecommitdiffstats
path: root/src/ctrl-utils.c
blob: 5309c23c7e3949e88116b762e545cf9ad5f819f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * src/ctrl-utils.c		Generic Ctrl Netlink Helpers
 *
 *	This library is free software; you can redistribute it and/or
 *	modify it under the terms of the GNU Lesser General Public
 *	License as published by the Free Software Foundation version 2.1
 *	of the License.
 *
 * Copyright (c) 2008 Thomas Graf <tgraf@suug.ch>
 */

#include "ctrl-utils.h"

struct nl_cache *nlt_alloc_genl_family_cache(struct nl_sock *sk)
{
	return alloc_cache(sk, "generic netlink family",
			   genl_ctrl_alloc_cache);
}