Lines Matching refs:ERRMSG
24 #define ERRMSG(v...) printf("%s-%d: error=%s %s\n", __func__, __LINE__, strerror(errno), ##v) macro
117 ERRMSG("mnl_socket_open"); in if_act_on_link()
123 ERRMSG(" mnl_socket_bind"); in if_act_on_link()
130 ERRMSG(" mnl_socket_sendto"); in if_act_on_link()
137 ERRMSG(" mnl_socket_recvfrom"); in if_act_on_link()
144 ERRMSG(" mnl_cb_run"); in if_act_on_link()
181 ERRMSG(" if_nametoindex"); in if_set_mtu()
200 ERRMSG(" mnl_socket_open"); in if_set_mtu()
206 ERRMSG(" mnl_socket_bind"); in if_set_mtu()
213 ERRMSG(" mnl_socket_sendto"); in if_set_mtu()
220 ERRMSG(" mnl_socket_recvfrom"); in if_set_mtu()
227 ERRMSG(" mnl_cb_run"); in if_set_mtu()
261 ERRMSG(" if_nametoindex"); in if_act_on_addr()
303 ERRMSG(" mnl_socket_open"); in if_act_on_addr()
309 ERRMSG(" mnl_socket_bind"); in if_act_on_addr()
316 ERRMSG(" mnl_socket_sendto"); in if_act_on_addr()
323 ERRMSG(" mnl_socket_recvfrom"); in if_act_on_addr()
330 ERRMSG(" mnl_cb_run"); in if_act_on_addr()
381 ERRMSG(" mnl_attr_validate"); in data_attr_cb()
405 ERRMSG("inet_ntop"); in data_cb()
450 ERRMSG(" if_nametoindex"); in if_get_addr()
467 ERRMSG(" mnl_socket_open"); in if_get_addr()
473 ERRMSG(" mnl_socket_bind"); in if_get_addr()
480 ERRMSG(" mnl_socket_sendto"); in if_get_addr()
494 ERRMSG(" error"); in if_get_addr()
559 ERRMSG(" if_nametoindex"); in if_act_on_route()
603 ERRMSG(" mnl_socket_open"); in if_act_on_route()
609 ERRMSG(" mnl_socket_bind"); in if_act_on_route()
616 ERRMSG(" mnl_socket_sendto"); in if_act_on_route()
623 ERRMSG(" mnl_socket_recvfrom"); in if_act_on_route()
630 ERRMSG(" mnl_cb_run"); in if_act_on_route()
707 ERRMSG(" fail to open /etc/resolv.conf"); in if_set_dns()
718 ERRMSG(" write dns"); in if_set_dns()