Searched refs:lsap (Results 1 – 2 of 2) sorted by relevance
199 ospf6_print_lsa(register const struct lsa6 *lsap) in ospf6_print_lsa() argument221 if (ospf6_print_lshdr(&lsap->ls_hdr)) in ospf6_print_lsa()223 TCHECK(lsap->ls_hdr.ls_length); in ospf6_print_lsa()224 length = EXTRACT_16BITS(&lsap->ls_hdr.ls_length); in ospf6_print_lsa()235 tptr = (u_int8_t *)lsap+sizeof(struct lsa6_hdr); in ospf6_print_lsa()237 switch (EXTRACT_16BITS(&lsap->ls_hdr.ls_type)) { in ospf6_print_lsa()239 if (lsa_length < sizeof (lsap->lsa_un.un_rla.rla_options)) in ospf6_print_lsa()241 lsa_length -= sizeof (lsap->lsa_un.un_rla.rla_options); in ospf6_print_lsa()242 TCHECK(lsap->lsa_un.un_rla.rla_options); in ospf6_print_lsa()245 EXTRACT_32BITS(&lsap->lsa_un.un_rla.rla_options))); in ospf6_print_lsa()[all …]
559 ospf_print_lsa(register const struct lsa *lsap) in ospf_print_lsa() argument571 tptr = (u_int8_t *)lsap->lsa_un.un_unknown; /* squelch compiler warnings */ in ospf_print_lsa()572 ls_length = ospf_print_lshdr(&lsap->ls_hdr); in ospf_print_lsa()575 ls_end = (u_int8_t *)lsap + ls_length; in ospf_print_lsa()578 switch (lsap->ls_hdr.ls_type) { in ospf_print_lsa()581 TCHECK(lsap->lsa_un.un_rla.rla_flags); in ospf_print_lsa()582 …\n\t Router LSA Options: [%s]", bittok2str(ospf_rla_flag_values,"none",lsap->lsa_un.un_rla.rla_… in ospf_print_lsa()584 TCHECK(lsap->lsa_un.un_rla.rla_count); in ospf_print_lsa()585 j = EXTRACT_16BITS(&lsap->lsa_un.un_rla.rla_count); in ospf_print_lsa()586 TCHECK(lsap->lsa_un.un_rla.rla_link); in ospf_print_lsa()[all …]