Lines Matching refs:lpfx

252 ospf6_print_lsaprefix(int flags, struct lsa6_prefix *lpfx)  in ospf6_print_lsaprefix()  argument
258 k = (lpfx->lsa6_plen + 31)/32; in ospf6_print_lsaprefix()
262 lpfx->lsa6_plen); in ospf6_print_lsaprefix()
267 "Unknown prefix len %d", lpfx->lsa6_plen); in ospf6_print_lsaprefix()
271 memcpy((void *)&prefix, lpfx->lsa6_pfx, k * 4); in ospf6_print_lsaprefix()
275 sprintf(sum_line, "%s/%d", prefixstr, lpfx->lsa6_plen); in ospf6_print_lsaprefix()
280 "%s/%d", prefixstr, lpfx->lsa6_plen); in ospf6_print_lsaprefix()
282 if (lpfx->lsa6_popt != 0) { in ospf6_print_lsaprefix()
284 sprintf(sum_line, "(opt = %x)", lpfx->lsa6_popt); in ospf6_print_lsaprefix()
289 "(opt = %x)", lpfx->lsa6_popt); in ospf6_print_lsaprefix()
292 return (sizeof (*lpfx) - 4 + k * 4); in ospf6_print_lsaprefix()
321 struct lsa6_prefix *lpfx; in interpret_ospf6_lsa() local
497 lpfx = lsa->lsa_un.un_inter_ap.inter_ap_prefix; in interpret_ospf6_lsa()
498 if (lpfx > (struct lsa6_prefix *)ls_end) in interpret_ospf6_lsa()
500 while (lpfx + sizeof (*lpfx) <= (struct lsa6_prefix *)ls_end) { in interpret_ospf6_lsa()
501 k = ospf6_print_lsaprefix(flags, lpfx); in interpret_ospf6_lsa()
502 lpfx = (struct lsa6_prefix *)(((uchar_t *)lpfx) + k); in interpret_ospf6_lsa()
503 if (lpfx > (struct lsa6_prefix *)ls_end) in interpret_ospf6_lsa()
530 lpfx = llsa->llsa_prefix; in interpret_ospf6_lsa()
532 if (TRUNC(lpfx)) in interpret_ospf6_lsa()
534 k = ospf6_print_lsaprefix(flags, lpfx); in interpret_ospf6_lsa()
535 lpfx = (struct lsa6_prefix *)(((uchar_t *)lpfx) + k); in interpret_ospf6_lsa()
558 lpfx = lsa->lsa_un.un_intra_ap.intra_ap_prefix; in interpret_ospf6_lsa()
561 if (TRUNC(lpfx)) in interpret_ospf6_lsa()
563 k = ospf6_print_lsaprefix(flags, lpfx); in interpret_ospf6_lsa()
564 lpfx = (struct lsa6_prefix *)(((uchar_t *)lpfx) + k); in interpret_ospf6_lsa()