DEBUG_STR
OSPF6_STR)
{
- vty_out(vty, "OSPF6 debugging status:");
+ vty_out(vty, "OSPF6 debugging status:\n");
config_write_ospf6_debug(vty);
return level;
}
-static u_int16_t parse_type_spec(int idx_lsa, int argc, struct cmd_token **argv)
+static uint16_t parse_type_spec(int idx_lsa, int argc, struct cmd_token **argv)
{
- u_int16_t type = 0;
+ uint16_t type = 0;
if (argc > idx_lsa) {
if (strmatch(argv[idx_lsa]->text, "router"))
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
+ uint16_t type = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int32_t id = 0;
+ uint32_t id = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int32_t adv_router = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
inet_pton(AF_INET, argv[idx_ipv4]->arg, &adv_router);
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t id = 0;
+ uint16_t type = 0;
+ uint32_t id = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t adv_router = 0;
+ uint16_t type = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int32_t id = 0;
- u_int32_t adv_router = 0;
+ uint32_t id = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
inet_pton(AF_INET, argv[idx_ls_id]->arg, &id);
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int32_t id = 0;
- u_int32_t adv_router = 0;
+ uint32_t id = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
inet_pton(AF_INET, argv[idx_adv_rtr]->arg, &adv_router);
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t id = 0;
- u_int32_t adv_router = 0;
+ uint16_t type = 0;
+ uint32_t id = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t id = 0;
- u_int32_t adv_router = 0;
+ uint16_t type = 0;
+ uint32_t id = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int32_t adv_router = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
level = parse_show_level(idx_level, argc, argv);
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t adv_router = 0;
+ uint16_t type = 0;
+ uint32_t adv_router = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t adv_router = 0;
- u_int32_t id = 0;
+ uint16_t type = 0;
+ uint32_t adv_router = 0;
+ uint32_t id = 0;
OSPF6_CMD_CHECK_RUNNING();
struct ospf6 *o = ospf6;
struct ospf6_area *oa;
struct ospf6_interface *oi;
- u_int16_t type = 0;
- u_int32_t adv_router = 0;
- u_int32_t id = 0;
+ uint16_t type = 0;
+ uint32_t adv_router = 0;
+ uint32_t id = 0;
OSPF6_CMD_CHECK_RUNNING();
"Show detailed output\n")
{
int idx_ipv4 = 4;
- u_int32_t adv_router;
+ uint32_t adv_router;
struct ospf6_route *ro;
struct prefix prefix;