summaryrefslogtreecommitdiff
path: root/dissector_netlink.c
blob: 2b23a99e41b0f67075687cd81fcb168e078b4ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * netsniff-ng - the packet sniffing beast
 * Copyright 2014 Tobias Klauser.
 * Subject to the GPL, version 2.
 */

#include "dissector.h"
#include "dissector_netlink.h"

static inline void dissector_init_entry(int type)
{
	dissector_set_print_type(&nlmsg_ops, type);
}

static inline void dissector_init_exit(int type)
{
	dissector_set_print_type(&none_ops, type);
}

void dissector_init_netlink(int fnttype)
{
	dissector_init_entry(fnttype);
	dissector_init_exit(fnttype);
}

void dissector_cleanup_netlink(void)
{
}
ref='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>Diffstat (limited to 'net/bluetooth/hci_request.c')