Lines Matching defs:lpfx
254 ospf6_print_lsaprefix(int flags, struct lsa6_prefix *lpfx)
260 k = (lpfx->lsa6_plen + 31)/32;
264 lpfx->lsa6_plen);
269 "Unknown prefix len %d", lpfx->lsa6_plen);
273 memcpy((void *)&prefix, lpfx->lsa6_pfx, k * 4);
277 sprintf(sum_line, "%s/%d", prefixstr, lpfx->lsa6_plen);
282 "%s/%d", prefixstr, lpfx->lsa6_plen);
284 if (lpfx->lsa6_popt != 0) {
286 sprintf(sum_line, "(opt = %x)", lpfx->lsa6_popt);
291 "(opt = %x)", lpfx->lsa6_popt);
294 return (sizeof (*lpfx) - 4 + k * 4);
323 struct lsa6_prefix *lpfx;
499 lpfx = lsa->lsa_un.un_inter_ap.inter_ap_prefix;
500 if (lpfx > (struct lsa6_prefix *)ls_end)
502 while (lpfx + sizeof (*lpfx) <= (struct lsa6_prefix *)ls_end) {
503 k = ospf6_print_lsaprefix(flags, lpfx);
504 lpfx = (struct lsa6_prefix *)(((uchar_t *)lpfx) + k);
505 if (lpfx > (struct lsa6_prefix *)ls_end)
532 lpfx = llsa->llsa_prefix;
534 if (TRUNC(lpfx))
536 k = ospf6_print_lsaprefix(flags, lpfx);
537 lpfx = (struct lsa6_prefix *)(((uchar_t *)lpfx) + k);
560 lpfx = lsa->lsa_un.un_intra_ap.intra_ap_prefix;
563 if (TRUNC(lpfx))
565 k = ospf6_print_lsaprefix(flags, lpfx);
566 lpfx = (struct lsa6_prefix *)(((uchar_t *)lpfx) + k);