Lines Matching refs:ndpc
2469 } ndpc; in in6_lltable_dump_entry() local
2473 bzero(&ndpc, sizeof(ndpc)); in in6_lltable_dump_entry()
2478 lltable_fill_sa_entry(lle, (struct sockaddr *)&ndpc.sin6); in in6_lltable_dump_entry()
2479 if (prison_if(wr->td->td_ucred, (struct sockaddr *)&ndpc.sin6) != 0) in in6_lltable_dump_entry()
2487 ndpc.rtm.rtm_msglen = sizeof(ndpc); in in6_lltable_dump_entry()
2488 ndpc.rtm.rtm_version = RTM_VERSION; in in6_lltable_dump_entry()
2489 ndpc.rtm.rtm_type = RTM_GET; in in6_lltable_dump_entry()
2490 ndpc.rtm.rtm_flags = RTF_UP; in in6_lltable_dump_entry()
2491 ndpc.rtm.rtm_addrs = RTA_DST | RTA_GATEWAY; in in6_lltable_dump_entry()
2492 sa6_recoverscope(&ndpc.sin6); in in6_lltable_dump_entry()
2496 ndpc.rtm.rtm_flags |= RTF_ANNOUNCE; in in6_lltable_dump_entry()
2498 sdl = &ndpc.sdl; in in6_lltable_dump_entry()
2511 ndpc.rtm.rtm_rmx.rmx_expire = lle->la_expire + in in6_lltable_dump_entry()
2513 ndpc.rtm.rtm_flags |= (RTF_HOST | RTF_LLDATA); in in6_lltable_dump_entry()
2515 ndpc.rtm.rtm_flags |= RTF_STATIC; in in6_lltable_dump_entry()
2517 ndpc.rtm.rtm_flags |= RTF_PINNED; in in6_lltable_dump_entry()
2519 ndpc.rtm.rtm_flags |= RTF_GATEWAY; in in6_lltable_dump_entry()
2520 ndpc.rtm.rtm_rmx.rmx_pksent = lle->la_asked; in in6_lltable_dump_entry()
2522 ndpc.rtm.rtm_rmx.rmx_state = lle->ln_state; in in6_lltable_dump_entry()
2523 ndpc.rtm.rtm_index = ifp->if_index; in in6_lltable_dump_entry()
2524 error = SYSCTL_OUT(wr, &ndpc, sizeof(ndpc)); in in6_lltable_dump_entry()