Lines Matching refs:rdnss_info
309 struct nd_opt_rdnss_info_local *rdnss_info;
401 rdnss_info = (struct nd_opt_rdnss_info_local *) opt_str;
405 print_addr(&rdnss_info->nd_opt_rdnssi_addr1, prefix_str);
408 if (rdnss_info->nd_opt_rdnssi_len >= 5) {
409 print_addr(&rdnss_info->nd_opt_rdnssi_addr2, prefix_str);
412 if (rdnss_info->nd_opt_rdnssi_len >= 7) {
413 print_addr(&rdnss_info->nd_opt_rdnssi_addr3, prefix_str);
419 || ((rdnss_info->nd_opt_rdnssi_pref_flag_reserved & ND_OPT_RDNSSI_PREF_MASK) >> ND_OPT_RDNSSI_PREF_SHIFT) != DFLT_AdvRDNSSPreference)
421 (rdnss_info->nd_opt_rdnssi_pref_flag_reserved & ND_OPT_RDNSSI_PREF_MASK) >> ND_OPT_RDNSSI_PREF_SHIFT);
424 || ((rdnss_info->nd_opt_rdnssi_pref_flag_reserved & ND_OPT_RDNSSI_FLAG_S) == 0 ) == DFLT_AdvRDNSSOpenFlag)
425 printf("\t\tAdvRDNSSOpen %s;\n", rdnss_info->nd_opt_rdnssi_pref_flag_reserved & ND_OPT_RDNSSI_FLAG_S ? "on" : "off");
428 if (ntohl(rdnss_info->nd_opt_rdnssi_lifetime) == 0xffffffff)
431 printf("\t\tAdvRDNSSLifetime %u;\n", ntohl(rdnss_info->nd_opt_rdnssi_lifetime));