Searched refs:lshp (Results 1 – 2 of 2) sorted by relevance
/external/tcpdump/ |
D | print-ospf.c | 463 ospf_print_lshdr(register const struct lsa_hdr *lshp) in ospf_print_lshdr() argument 467 TCHECK(lshp->ls_length); in ospf_print_lshdr() 468 ls_length = EXTRACT_16BITS(&lshp->ls_length); in ospf_print_lshdr() 475 TCHECK(lshp->ls_seq); /* XXX - ls_length check checked this */ in ospf_print_lshdr() 477 ipaddr_string(&lshp->ls_router), in ospf_print_lshdr() 478 EXTRACT_32BITS(&lshp->ls_seq), in ospf_print_lshdr() 479 EXTRACT_16BITS(&lshp->ls_age), in ospf_print_lshdr() 482 TCHECK(lshp->ls_type); /* XXX - ls_length check checked this */ in ospf_print_lshdr() 483 switch (lshp->ls_type) { in ospf_print_lshdr() 489 tok2str(lsa_values,"unknown",lshp->ls_type), in ospf_print_lshdr() [all …]
|
D | print-ospf6.c | 139 ospf6_print_lshdr(register const struct lsa6_hdr *lshp) in ospf6_print_lshdr() argument 142 TCHECK(lshp->ls_type); in ospf6_print_lshdr() 143 TCHECK(lshp->ls_seq); in ospf6_print_lshdr() 146 ipaddr_string(&lshp->ls_router), in ospf6_print_lshdr() 147 EXTRACT_32BITS(&lshp->ls_seq), in ospf6_print_lshdr() 148 EXTRACT_16BITS(&lshp->ls_age), in ospf6_print_lshdr() 149 EXTRACT_16BITS(&lshp->ls_length)-(u_int)sizeof(struct lsa6_hdr)); in ospf6_print_lshdr() 151 ospf6_print_ls_type(EXTRACT_16BITS(&lshp->ls_type), &lshp->ls_stateid); in ospf6_print_lshdr() 476 register const struct lsa6_hdr *lshp; in ospf6_decode_v3() local 528 lshp = op->ospf6_db.db_lshdr; in ospf6_decode_v3() [all …]
|