Lines Matching +full:check +full:- +full:pr

4  * SPDX-License-Identifier: Apache-2.0
83 PR("Valid flag keywords are:\n"); in cm_print_flags()
85 PR("\t%s,\n", flag_strings[i].name); in cm_print_flags()
89 /* Verify that a provided string consists only of the characters 0-9*/
106 PR("Valid target specifiers are 'ifi [index]', 'if [name]', or '[index]'.\n"); in cm_target_help()
134 target->iface = net_if_get_by_index(iface_index); in parse_ifi_target()
136 if (target->iface == NULL) { in parse_ifi_target()
142 target->type = CM_TARG_IFACE; in parse_ifi_target()
146 target->type = CM_TARG_INVALID; in parse_ifi_target()
147 return -EINVAL; in parse_ifi_target()
163 target->iface = net_if_get_by_index(net_if_get_by_name(arg)); in parse_if_target()
165 if (target->iface == NULL) { in parse_if_target()
171 target->type = CM_TARG_IFACE; in parse_if_target()
179 target->type = CM_TARG_INVALID; in parse_if_target()
180 return -EINVAL; in parse_if_target()
191 target->type = CM_TARG_NONE; in parse_target()
200 target->type = CM_TARG_ALL; in parse_target()
206 target->type = CM_TARG_NONE; in parse_target()
228 target->type = CM_TARG_INVALID; in parse_target()
230 return -EINVAL; in parse_target()
259 return -EINVAL; in parse_getset()
272 return -EINVAL; in parse_flag()
286 return -EINVAL; in parse_flag()
320 return -EINVAL; in parse_bool()
333 return -EINVAL; in parse_timeout()
338 /* Check for special keyword "none" */ in parse_timeout()
348 return -EINVAL; in parse_timeout()
354 return -EINVAL; in parse_timeout()
371 snprintk(buf, len, "%d (%p - %s - %s)", net_if_get_by_iface(iface), iface, name, in cm_get_iface_info()
374 snprintk(buf, len, "%d (%p - %s)", net_if_get_by_iface(iface), iface, in cm_get_iface_info()
397 PR("iface %s not tracked.\n", iface_info); in cm_iface_status()
417 PR("iface %s status: %s, %s, %s, %s, %s, %s.\n", iface_info, in cm_iface_status()
420 admin_up ? "admin-up" : "admin-down", in cm_iface_status()
421 oper_up ? "oper-up" : "oper-down", in cm_iface_status()
435 PR("iface %s now ignored.\n", iface_info); in cm_iface_ignore()
446 PR("iface %s now watched.\n", iface_info); in cm_iface_watch()
521 PR("Ignoring all ifaces.\n"); in cmd_net_cm_ignore()
563 PR("Watching all ifaces.\n"); in cmd_net_cm_watch()
606 PR("Instructing all non-ignored ifaces to connect.\n"); in cmd_net_cm_connect()
620 PR("Instructing iface %s to connect.\n", iface_info); in cmd_net_cm_connect()
658 PR("Instructing all non-ignored ifaces to disconnect.\n"); in cmd_net_cm_disconnect()
672 PR("Instructing iface %s to disonnect.\n", iface_info); in cmd_net_cm_disconnect()
709 PR("Taking all non-ignored ifaces admin-up.\n"); in cmd_net_cm_up()
716 PR("Taking iface %s admin-up.\n", iface_info); in cmd_net_cm_up()
756 PR("Taking all non-ignored ifaces admin-down.\n"); in cmd_net_cm_down()
763 PR("Taking iface %s admin-down.\n", iface_info); in cmd_net_cm_down()
837 PR("Set the connectivity %s flag to %s on iface %s.\n", flag_name(flag), in cmd_net_cm_flag()
841 PR("The current value of the %s connectivity flag on iface %s is %s.\n", in cmd_net_cm_flag()
905 PR("Set the connectivity timeout for iface %s to %d%s.\n", iface_info, value, in cmd_net_cm_timeout()
909 PR("The connectivity timeout for iface %s is %d%s.\n", iface_info, value, in cmd_net_cm_timeout()
936 "'net cm up [target]' takes the specified iface(s) admin-up.",
939 "'net cm down [target]' takes the specified iface(s) admin-down.",