genl.h 581 B

1234567891011121314151617181920212223
  1. /*
  2. * netlink-private/genl.h Local Generic Netlink Interface
  3. *
  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
  7. * of the License.
  8. *
  9. * Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch>
  10. */
  11. #ifndef NETLINK_GENL_PRIV_H_
  12. #define NETLINK_GENL_PRIV_H_
  13. #include <netlink-private/netlink.h>
  14. #include <netlink/netlink.h>
  15. #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen))
  16. extern int genl_resolve_id(struct genl_ops *ops);
  17. #endif