summaryrefslogtreecommitdiff
path: root/oui.h
blob: 564e4a1e5c77e750839ed028660b40452a40c7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef OUI_H
#define OUI_H

extern const char *lookup_vendor(unsigned int id);
extern void dissector_init_oui(void);
extern void dissector_cleanup_oui(void);

static inline const char *lookup_vendor_str(unsigned int id)
{
	return lookup_vendor(id) ? : "Unknown";
}

#endif /* OUI_H */
David S. Miller <davem@davemloft.net>2016-06-03 19:24:04 -0400 commit8d5958f424b62060a8696b12c17dad198d5d386f (patch) tree62d069f12c323b06fbfc4a89aeeea751d24485ea parentd7f4f332f082c4d4ba53582f902ed6b44fd6f45e (diff)
sch_tbf: update backlog as well
Fixes: 2ccccf5fb43f ("net_sched: update hierarchical backlog too") Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat