openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/idiag/idiag.c
char* idiagnl_tcpopts2str(uint8_t attrs, char* buf, size_t len)
{
    return __flags2str(attrs, buf, len, idiagnl_tcpopt_attrs,
                       ARRAY_SIZE(idiagnl_tcpopt_attrs));
}
/**
 * Convert TCP option attributes to string
 * @arg attrs	  TCP option attributes to convert (e.g., TCPI_OPT_SACK |
 *  TCPI_OPT_WSCALE)
 * @arg	buf	  Output buffer for string
 * @arg len	  Length in bytes of output buffer
 *
 * @return buffer with string representation or empty string
 */
Convert TCP option attributes to string
@arg attrs     TCP option attributes to convert
@arg buf       Output buffer for string
@arg len       Length in bytes of output buffer

@return buffer with string representation or empty string
Convert TCP option attributes to string @arg attrs TCP option attributes to convert @arg buf Output buffer for string @arg len Length in bytes of output buffer @return buffer with string representation or empty string
char* idiagnl_tcpopts2str(uint8_t attrs, char* buf, size_t len)
{
    return __flags2str(attrs, buf, len, idiagnl_tcpopt_attrs,
                       ARRAY_SIZE(idiagnl_tcpopt_attrs));
}
char * idiagnl_tcpopts2str ( uint8_t attrs , char * buf , size_t len ) { return __flags2str ( attrs , buf , len , idiagnl_tcpopt_attrs , ARRAY_SIZE ( idiagnl_tcpopt_attrs ) ) ; }
Convert TCP option attributes to string
 @arg attrs     TCP option attributes to convert (e.g., TCPI_OPT_SACK |
  TCPI_OPT_WSCALE)
 @arg buf       Output buffer for string
 @arg len       Length in bytes of output buffer
Convert TCP option attributes to string @arg attrs TCP option attributes to convert ( e . g . TCPI_OPT_SACK | TCPI_OPT_WSCALE ) @arg buf Output buffer for string @arg len Length in bytes of output buffer