source: trunk/package/libnl/patches/140-fix-linking-libnl-genl.patch @ 14233

Last change on this file since 14233 was 14233, checked in by juhosg, 8 years ago

[package] libnl: refresh patches

File size: 1.2 KB
  • include/netlink/genl/mngt.h

    a b extern "C" { 
    2222 
    2323struct nl_cache_ops; 
    2424 
     25struct genl_info 
     26{ 
     27        struct sockaddr_nl *    who; 
     28        struct nlmsghdr *       nlh; 
     29        struct genlmsghdr *     genlhdr; 
     30        void *                  userhdr; 
     31        struct nlattr **        attrs; 
     32}; 
     33 
    2534/** 
    2635 * @ingroup genl_mngt 
    2736 * Generic Netlink Command 
  • include/netlink-types.h

    a b struct nl_cache_mngr 
    9595 
    9696struct nl_parser_param; 
    9797 
    98 struct genl_info 
    99 { 
    100         struct sockaddr_nl *    who; 
    101         struct nlmsghdr *       nlh; 
    102         struct genlmsghdr *     genlhdr; 
    103         void *                  userhdr; 
    104         struct nlattr **        attrs; 
    105 }; 
    106  
    10798#define LOOSE_FLAG_COMPARISON   1 
    10899 
    109100#define NL_OBJ_MARK             1 
  • src/nl-list-caches.c

    a b  
    1010 */ 
    1111 
    1212#include "utils.h" 
     13#include <netlink-local.h> 
    1314 
    1415static void print_usage(void) 
    1516{ 
  • src/utils.c

    a b  
    1212#include "utils.h" 
    1313 
    1414#include <stdlib.h> 
     15#include <stdarg.h> 
    1516 
    1617int nltool_init(int argc, char *argv[]) 
    1718{ 
  • src/utils.h

    a b  
    2222#include <sys/types.h> 
    2323#include <sys/socket.h> 
    2424 
    25 #include <netlink-local.h> 
    2625#include <netlink/netlink.h> 
    2726#include <netlink/utils.h> 
    2827#include <netlink/addr.h> 
Note: See TracBrowser for help on using the repository browser.