2 * netlink/genl/genl.h Generic Netlink
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation version 2.1
9 * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch>
12 #ifndef NETLINK_GENL_H_
13 #define NETLINK_GENL_H_
15 #include <netlink/netlink.h>
16 #include <netlink/msg.h>
17 #include <netlink/attr.h>
23 extern int genl_connect(struct nl_sock
*);
25 extern int genl_send_simple(struct nl_sock
*, int, int,
28 extern void * genlmsg_put(struct nl_msg
*, uint32_t, uint32_t,
29 int, int, int, uint8_t, uint8_t);
31 extern int genlmsg_valid_hdr(struct nlmsghdr
*, int);
32 extern int genlmsg_validate(struct nlmsghdr
*, int, int,
34 extern int genlmsg_parse(struct nlmsghdr
*, int, struct nlattr
**,
35 int, struct nla_policy
*);
36 extern void * genlmsg_data(const struct genlmsghdr
*);
37 extern int genlmsg_len(const struct genlmsghdr
*);
38 extern struct nlattr
* genlmsg_attrdata(const struct genlmsghdr
*, int);
39 extern int genlmsg_attrlen(const struct genlmsghdr
*, int);
41 extern char * genl_op2name(int, int, char *, size_t);
This page took 0.064293 seconds and 5 git commands to generate.