Searched refs:values_on_off (Results 1 – 2 of 2) sorted by relevance
/external/iproute2/ip/ |
D | ipmacsec.c | 26 static const char *values_on_off[] = { "off", "on" }; variable 565 const char *v = values_on_off[!!rta_getattr_u8(attrs[field])]; in print_flag() 798 values_on_off[state], in print_tx_sc() 854 values_on_off[!!active]); in print_rx_sc() 867 values_on_off[state], in print_rx_sc() 1182 ret = one_of("encrypt", *argv, values_on_off, in macsec_parse_opt() 1183 ARRAY_SIZE(values_on_off), &i); in macsec_parse_opt() 1191 ret = one_of("send_sci", *argv, values_on_off, in macsec_parse_opt() 1192 ARRAY_SIZE(values_on_off), &i); in macsec_parse_opt() 1202 ret = one_of("end_station", *argv, values_on_off, in macsec_parse_opt() [all …]
|
/external/libnl/lib/route/link/ |
D | macsec.c | 203 static const char *values_on_off[] = { "off", "on" }; variable 274 …ntohll(info->sci), values_on_off[info->protect], info->encoding_sa, values_on_off[info->encrypt], … in macsec_dump_details()
|