Home | History | Annotate | Download | only in android-clat

Lines Matching full:callbacks

122  * sends a netlink message, reads a response, and hands the response(s) to the callbacks
124 * callbacks - callbacks to use on responses
126 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) {
142 nl_recvmsgs(nl_sk, callbacks);
150 * sends a netlink/ifaddrmsg message and hands the responses to the callbacks
154 * callbacks - callbacks to use with the responses
156 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) {
163 send_netlink_msg(msg, callbacks);
173 struct nl_cb *callbacks = NULL;
176 callbacks = alloc_ack_callbacks(&retval);
177 if(!callbacks) {
181 send_netlink_msg(msg, callbacks);
183 nl_cb_put(callbacks);