Lines Matching refs:R
27 #define RETURN(R) return (R); argument
28 #define RETURN_ERROR(C, R) \ argument
31 return (R); \
33 #define RETURN_NL_ERROR(C, NLR, R) \ argument
36 return (R); \
131 #define PUT_FLAG(MSG, TYPE, R) \ argument
133 (R) = nla_put_flag((MSG).get(), TYPE); \
134 if (R) RETURN_NL_ERROR("nla_put_flag(" #TYPE ")", R, nullptr); \
137 #define PUT_DATA(MSG, TYPE, V, SIZE, R) \ argument
139 (R) = nla_put((MSG).get(), TYPE, SIZE, V); \
140 if (R) RETURN_NL_ERROR("nla_put(" #TYPE ")", R, nullptr); \
143 #define PUT_VALUE(MSG, TYPE, V, R) PUT_DATA(MSG, TYPE, &(V), sizeof(V), (R)) argument
151 #define NEST_END(MSG, START, R) \ argument
153 (R) = nla_nest_end((MSG).get(), START); \
154 if (R) RETURN_NL_ERROR("nla_nest_end(" #START ")", R, nullptr); \