6#ifndef NETLINK_IDIAGNL_REQ_H_
7#define NETLINK_IDIAGNL_REQ_H_
9#include <netlink/netlink.h>
16extern struct nl_object_ops idiagnl_req_obj_ops;
18extern struct idiagnl_req * idiagnl_req_alloc(
void);
19extern void idiagnl_req_get(
struct idiagnl_req *);
20extern void idiagnl_req_put(
struct idiagnl_req *);
21extern uint8_t idiagnl_req_get_family(
const struct idiagnl_req *);
22extern void idiagnl_req_set_family(
struct idiagnl_req *,
24extern uint8_t idiagnl_req_get_ext(
const struct idiagnl_req *);
25extern void idiagnl_req_set_ext(
struct idiagnl_req *, uint8_t);
26extern uint32_t idiagnl_req_get_ifindex(
const struct idiagnl_req *);
27extern void idiagnl_req_set_ifindex(
struct idiagnl_req *,
29extern uint32_t idiagnl_req_get_states(
const struct idiagnl_req *);
30extern void idiagnl_req_set_states(
struct idiagnl_req *,
32extern uint32_t idiagnl_req_get_dbs(
const struct idiagnl_req *);
33extern void idiagnl_req_set_dbs(
struct idiagnl_req *, uint32_t);
34extern struct nl_addr * idiagnl_req_get_src(
const struct idiagnl_req *);
35extern int idiagnl_req_set_src(
struct idiagnl_req *,
37extern struct nl_addr * idiagnl_req_get_dst(
const struct idiagnl_req *);
38extern int idiagnl_req_set_dst(
struct idiagnl_req *,
41extern int idiagnl_req_parse(
struct nlmsghdr *nlh,
42 struct idiagnl_req **result);