Lines Matching refs:lshp
388 register const struct lsa6_hdr *lshp, const u_char *dataend) in ospf6_print_lshdr() argument
390 if ((const u_char *)(lshp + 1) > dataend) in ospf6_print_lshdr()
392 ND_TCHECK(lshp->ls_type); in ospf6_print_lshdr()
393 ND_TCHECK(lshp->ls_seq); in ospf6_print_lshdr()
396 ipaddr_string(ndo, &lshp->ls_router), in ospf6_print_lshdr()
397 EXTRACT_32BITS(&lshp->ls_seq), in ospf6_print_lshdr()
398 EXTRACT_16BITS(&lshp->ls_age), in ospf6_print_lshdr()
399 EXTRACT_16BITS(&lshp->ls_length)-(u_int)sizeof(struct lsa6_hdr))); in ospf6_print_lshdr()
401 ospf6_print_ls_type(ndo, EXTRACT_16BITS(&lshp->ls_type), &lshp->ls_stateid); in ospf6_print_lshdr()
730 register const struct lsa6_hdr *lshp; in ospf6_decode_v3() local
788 lshp = ddp->db_lshdr; in ospf6_decode_v3()
789 while ((const u_char *)lshp < dataend) { in ospf6_decode_v3()
790 if (ospf6_print_lshdr(ndo, lshp++, dataend)) in ospf6_decode_v3()
829 lshp = (const struct lsa6_hdr *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3()
830 while ((const u_char *)lshp < dataend) { in ospf6_decode_v3()
831 if (ospf6_print_lshdr(ndo, lshp++, dataend)) in ospf6_decode_v3()