Lines Matching refs:attrs
174 * @arg attrs inetdiag attribute (e.g., IDIAG_ATTR_MEMINFO)
178 * @return string representation of attrs or an empty string.
180 char *idiagnl_attrs2str(int attrs, char *buf, size_t len)
182 return __type2str(attrs, buf, len, idiag_attrs, ARRAY_SIZE(idiag_attrs));
214 * @arg attrs TCP option attributes to convert (e.g., TCPI_OPT_SACK |
221 char *idiagnl_tcpopts2str(uint8_t attrs, char *buf, size_t len)
223 return __flags2str(attrs, buf, len, idiagnl_tcpopt_attrs,
263 * @arg attrs inet diag extension flags (e.g., (IDIAG_ATTR_MEMINFO |
268 char *idiagnl_exts2str(uint8_t attrs, char *buf, size_t len)
270 return __flags2str(attrs, buf, len, idiag_exts, ARRAY_SIZE(idiag_exts));