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
int nl_socket_modify_cb(struct nl_sock* sk, enum nl_cb_type type,
                        enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func,
                        void* arg)
{
    return nl_cb_set(sk->s_cb, type, kind, func, arg);
}
/**
 * Modify the callback handler associated with the socket
 * @arg sk		Netlink socket.
 * @arg type		which type callback to set
 * @arg kind		kind of callback
 * @arg func		callback function
 * @arg arg		argument to be passed to callback function
 *
 * @see nl_cb_set
 */
Modify the callback handler associated with the socket
@arg sk              Netlink socket.
@arg type            which type callback to set
@arg kind            kind of callback
@arg func            callback function
@arg arg             argument to be passed to callback function


Modify the callback handler associated with the socket @arg sk Netlink socket . @arg type which type callback to set @arg kind kind of callback @arg func callback function @arg arg argument to be passed to callback function
int nl_socket_modify_cb(struct nl_sock* sk, enum nl_cb_type type,
                        enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func,
                        void* arg)
{
    return nl_cb_set(sk->s_cb, type, kind, func, arg);
}
int nl_socket_modify_cb ( struct nl_sock * sk , enum nl_cb_type type , enum nl_cb_kind kind , nl_recvmsg_msg_cb_t func , void * arg ) { return nl_cb_set ( sk -> s_cb , type , kind , func , arg ) ; }
Modify the callback handler associated with the socket
 @arg sk              Netlink socket.
Modify the callback handler associated with the socket @arg sk Netlink socket .