Lines Matching refs:yse
16 #define __yerr_msg(yse, _msg...) \ argument
18 struct ynl_error *_yse = (yse); \
26 #define __yerr_code(yse, _code...) \ argument
28 struct ynl_error *_yse = (yse); \
35 #define __yerr(yse, _code, _msg...) \ argument
37 __yerr_msg(yse, _msg); \
38 __yerr_code(yse, _code); \
41 #define __perr(yse, _msg) __yerr(yse, errno, _msg) argument
661 ynl_sock_create(const struct ynl_family *yf, struct ynl_error *yse) in ynl_sock_create() argument
680 __perr(yse, "failed to create a netlink socket"); in ynl_sock_create()
686 __perr(yse, "failed to enable netlink ACK"); in ynl_sock_create()
691 __perr(yse, "failed to enable netlink ext ACK"); in ynl_sock_create()
698 __perr(yse, "unable to bind to a socket address"); in ynl_sock_create()
705 __perr(yse, "unable to read socket address"); in ynl_sock_create()
713 if (yse) in ynl_sock_create()
714 memcpy(yse, &ys->err, sizeof(*yse)); in ynl_sock_create()