• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/tcpdump-56/tcpdump/

Lines Matching refs:op

475 ospf6_decode_v3(register const struct ospf6hdr *op,
484 switch (op->ospf6_type) {
489 EXTRACT_32BITS(&op->ospf6_hello.hello_options)));
491 TCHECK(op->ospf6_hello.hello_deadint);
493 EXTRACT_16BITS(&op->ospf6_hello.hello_helloint),
494 EXTRACT_16BITS(&op->ospf6_hello.hello_deadint),
495 ipaddr_string(&op->ospf6_hello.hello_ifid),
496 op->ospf6_hello.hello_priority);
498 TCHECK(op->ospf6_hello.hello_dr);
499 if (op->ospf6_hello.hello_dr != 0)
501 ipaddr_string(&op->ospf6_hello.hello_dr));
502 TCHECK(op->ospf6_hello.hello_bdr);
503 if (op->ospf6_hello.hello_bdr != 0)
505 ipaddr_string(&op->ospf6_hello.hello_bdr));
508 ap = op->ospf6_hello.hello_neighbor;
518 TCHECK(op->ospf6_db.db_options);
521 EXTRACT_32BITS(&op->ospf6_db.db_options)));
522 TCHECK(op->ospf6_db.db_flags);
524 bittok2str(ospf6_dd_flag_values,"none",op->ospf6_db.db_flags));
526 TCHECK(op->ospf6_db.db_seq);
528 EXTRACT_16BITS(&op->ospf6_db.db_mtu),
529 EXTRACT_32BITS(&op->ospf6_db.db_seq));
532 lshp = op->ospf6_db.db_lshdr;
540 lsrp = op->ospf6_lsr;
554 lsap = op->ospf6_lsu.lsu_lsa;
555 TCHECK(op->ospf6_lsu.lsu_count);
556 i = EXTRACT_32BITS(&op->ospf6_lsu.lsu_count);
569 lshp = op->ospf6_lsa.lsa_lshdr;
588 register const struct ospf6hdr *op;
592 op = (struct ospf6hdr *)bp;
596 TCHECK(op->ospf6_type);
597 cp = tok2str(ospf6_type_values, "unknown LS-type", op->ospf6_type);
598 printf("OSPFv%u, %s, length %d", op->ospf6_version, cp, length);
607 TCHECK(op->ospf6_len);
608 if (length != EXTRACT_16BITS(&op->ospf6_len)) {
609 printf(" [len %d]", EXTRACT_16BITS(&op->ospf6_len));
615 TCHECK(op->ospf6_routerid);
616 printf("\n\tRouter-ID %s", ipaddr_string(&op->ospf6_routerid));
618 TCHECK(op->ospf6_areaid);
619 if (op->ospf6_areaid != 0)
620 printf(", Area %s", ipaddr_string(&op->ospf6_areaid));
623 TCHECK(op->ospf6_instanceid);
624 if (op->ospf6_instanceid)
625 printf(", Instance %u", op->ospf6_instanceid);
628 switch (op->ospf6_version) {
632 if (ospf6_decode_v3(op, dataend))
637 printf(" ospf [version %d]", op->ospf6_version);