Searched refs:lshp (Results 1 – 2 of 2) sorted by relevance
/external/tcpdump/ |
D | print-ospf.c | 514 register const struct lsa_hdr *lshp) in ospf_print_lshdr() argument 518 ND_TCHECK(lshp->ls_length); in ospf_print_lshdr() 519 ls_length = EXTRACT_16BITS(&lshp->ls_length); in ospf_print_lshdr() 526 ND_TCHECK(lshp->ls_seq); /* XXX - ls_length check checked this */ in ospf_print_lshdr() 528 ipaddr_string(ndo, &lshp->ls_router), in ospf_print_lshdr() 529 EXTRACT_32BITS(&lshp->ls_seq), in ospf_print_lshdr() 530 EXTRACT_16BITS(&lshp->ls_age), in ospf_print_lshdr() 533 ND_TCHECK(lshp->ls_type); /* XXX - ls_length check checked this */ in ospf_print_lshdr() 534 switch (lshp->ls_type) { in ospf_print_lshdr() 540 tok2str(lsa_values,"unknown",lshp->ls_type), in ospf_print_lshdr() [all …]
|
D | print-ospf6.c | 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 [all …]
|