Searched refs:lshp (Results 1 – 2 of 2) sorted by relevance
/external/tcpdump/ |
D | print-ospf.c | 452 register const struct lsa_hdr *lshp) in ospf_print_lshdr() argument 456 ND_TCHECK(lshp->ls_length); in ospf_print_lshdr() 457 ls_length = EXTRACT_16BITS(&lshp->ls_length); in ospf_print_lshdr() 464 ND_TCHECK(lshp->ls_seq); /* XXX - ls_length check checked this */ in ospf_print_lshdr() 466 ipaddr_string(ndo, &lshp->ls_router), in ospf_print_lshdr() 467 EXTRACT_32BITS(&lshp->ls_seq), in ospf_print_lshdr() 468 EXTRACT_16BITS(&lshp->ls_age), in ospf_print_lshdr() 471 ND_TCHECK(lshp->ls_type); /* XXX - ls_length check checked this */ in ospf_print_lshdr() 472 switch (lshp->ls_type) { in ospf_print_lshdr() 478 tok2str(lsa_values,"unknown",lshp->ls_type), in ospf_print_lshdr() [all …]
|
D | print-ospf6.c | 387 register const struct lsa6_hdr *lshp, const u_char *dataend) in ospf6_print_lshdr() argument 389 if ((u_char *)(lshp + 1) > dataend) in ospf6_print_lshdr() 391 ND_TCHECK(lshp->ls_type); in ospf6_print_lshdr() 392 ND_TCHECK(lshp->ls_seq); in ospf6_print_lshdr() 395 ipaddr_string(ndo, &lshp->ls_router), in ospf6_print_lshdr() 396 EXTRACT_32BITS(&lshp->ls_seq), in ospf6_print_lshdr() 397 EXTRACT_16BITS(&lshp->ls_age), in ospf6_print_lshdr() 398 EXTRACT_16BITS(&lshp->ls_length)-(u_int)sizeof(struct lsa6_hdr))); in ospf6_print_lshdr() 400 ospf6_print_ls_type(ndo, EXTRACT_16BITS(&lshp->ls_type), &lshp->ls_stateid); in ospf6_print_lshdr() 728 register const struct lsa6_hdr *lshp; in ospf6_decode_v3() local [all …]
|