Logo Search packages:      
Sourcecode: libnl version File versions

struct nl_handle* nl_handle_alloc ( void   )  [read]

Allocate new netlink socket handle.

Newly allocated netlink socket handle or NULL.

Definition at line 194 of file socket.c.

References nl_cb_alloc().

      struct nl_cb *cb;
      cb = nl_cb_alloc(default_cb);
      if (!cb) {
            return NULL;

      return __alloc_handle(cb);

Generated by  Doxygen 1.6.0   Back to index