openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/socket.c
struct nl_sock* nl_socket_alloc_cb(struct nl_cb* cb)
{
    if (cb == NULL)
        BUG();

    return __alloc_socket(cb);
}
/**
 * Allocate new socket with custom callbacks
 * @arg cb		Callback handler
 *
 * The reference to the callback handler is taken into account
 * automatically, it is released again upon calling nl_socket_free().
 *
 *@return Newly allocted socket handle or NULL.
 */
Allocate new socket with custom callbacks
@arg cb              Callback handler

The reference to the callback handler is taken into account
automatically, it is released again upon calling nl_socket_free().

@return Newly allocted socket handle or NULL.
Allocate new socket with custom callbacks @arg cb Callback handler The reference to the callback handler is taken into account automatically it is released again upon calling nl_socket_free () . @return Newly allocted socket handle or NULL .
struct nl_sock* nl_socket_alloc_cb(struct nl_cb* cb)
{
    if (cb == NULL)
        BUG();
    return __alloc_socket(cb);
}
struct nl_sock * nl_socket_alloc_cb ( struct nl_cb * cb ) { if ( cb == NULL ) BUG ( ) ; return __alloc_socket ( cb ) ; }
Allocate new socket with custom callbacks
 @arg cb              Callback handler
Allocate new socket with custom callbacks @arg cb Callback handler