Deleted Added
full compact
print-icmp6.c (235530) print-icmp6.c (241235)
1/*
2 * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and

--- 738 unchanged lines hidden (view full) ---

747 TCHECK(oprd->nd_opt_rdnss_addr[i]);
748 printf(" addr: %s",
749 ip6addr_string(&oprd->nd_opt_rdnss_addr[i]));
750 }
751 break;
752 case ND_OPT_ADVINTERVAL:
753 opa = (struct nd_opt_advinterval *)op;
754 TCHECK(opa->nd_opt_adv_interval);
1/*
2 * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and

--- 738 unchanged lines hidden (view full) ---

747 TCHECK(oprd->nd_opt_rdnss_addr[i]);
748 printf(" addr: %s",
749 ip6addr_string(&oprd->nd_opt_rdnss_addr[i]));
750 }
751 break;
752 case ND_OPT_ADVINTERVAL:
753 opa = (struct nd_opt_advinterval *)op;
754 TCHECK(opa->nd_opt_adv_interval);
755 printf(" %us", EXTRACT_32BITS(&opa->nd_opt_adv_interval));
755 printf(" %ums", EXTRACT_32BITS(&opa->nd_opt_adv_interval));
756 break;
757 case ND_OPT_HOMEAGENT_INFO:
758 oph = (struct nd_opt_homeagent_info *)op;
759 TCHECK(oph->nd_opt_hai_lifetime);
760 printf(" preference %u, lifetime %u",
761 EXTRACT_16BITS(&oph->nd_opt_hai_preference),
762 EXTRACT_16BITS(&oph->nd_opt_hai_lifetime));
763 break;

--- 609 unchanged lines hidden ---
756 break;
757 case ND_OPT_HOMEAGENT_INFO:
758 oph = (struct nd_opt_homeagent_info *)op;
759 TCHECK(oph->nd_opt_hai_lifetime);
760 printf(" preference %u, lifetime %u",
761 EXTRACT_16BITS(&oph->nd_opt_hai_preference),
762 EXTRACT_16BITS(&oph->nd_opt_hai_lifetime));
763 break;

--- 609 unchanged lines hidden ---