usr/src/cmd/mdb/common/modules/ip/ip.c
1468
nce_t nce;
usr/src/cmd/mdb/common/modules/ip/ip.c
1502
(void) mdb_vread(&nce, sizeof (nce_t), addr);
usr/src/cmd/mdb/common/modules/ip/ip.c
1503
(void) nce_format(addr, &nce, &nce_cb);
usr/src/cmd/mdb/common/modules/ip/ip.c
1937
"display interface-specific Neighbor Cache structures", nce },
usr/src/cmd/mdb/common/modules/ip/ip.c
2116
nce_l2_addr(const nce_t *nce, const ill_t *ill)
usr/src/cmd/mdb/common/modules/ip/ip.c
2123
if (nce->nce_dlur_mp == NULL)
usr/src/cmd/mdb/common/modules/ip/ip.c
2128
(uintptr_t)nce->nce_dlur_mp) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
2130
nce->nce_dlur_mp);
usr/src/cmd/mdb/common/modules/ip/ip.c
730
nce_t nce;
usr/src/cmd/mdb/common/modules/ip/ip.c
732
if (mdb_vread(&nce, sizeof (nce), wsp->walk_addr) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
737
return (wsp->walk_callback(wsp->walk_addr, &nce, wsp->walk_cbdata));
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
103
nce->lnr_hdw_len + 7) / 8) * 8;
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
105
bcopy(&nce->lnr_hdw_addr,
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
106
&llap->nd_opt_lla_hdw_addr, nce->lnr_hdw_len);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
169
spoof_bad_lla_optlen_test(int s, struct lif_nd_req *nce, sin6_t *multicast)
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
179
spoof_prepare_lla(&lla, nce, &iovs[1]);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
232
spoof_bad_pi_optlen_test(int s, struct lif_nd_req *nce, sin6_t *multicast)
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
242
spoof_prepare_lla(&lla, nce, &iovs[1]);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
303
spoof_bad_plen_test(int s, struct lif_nd_req *nce, sin6_t *multicast)
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
312
spoof_prepare_lla(&lla, nce, &iovs[1]);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
334
spoof_link_local_test(int s, struct lif_nd_req *nce, sin6_t *multicast)
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
343
spoof_prepare_lla(&lla, nce, &iovs[1]);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
362
spoof_good_test(int s, struct lif_nd_req *nce, sin6_t *multicast)
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
371
spoof_prepare_lla(&lla, nce, &iovs[1]);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
519
spoof_run_test(spoof_test_f *func, int s, struct lif_nd_req *nce,
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
524
if (func(s, nce, multicast) == 0) {
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
532
spoof_run_tests(int s, struct lif_nd_req *nce)
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
552
spoof_run_test(spoof_good_test, s, nce, &multicast);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
560
spoof_run_test(test_cases[cas], s, nce, &multicast);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
574
spoof_run_test(spoof_good_test, s, nce, &multicast);
usr/src/test/os-tests/tests/spoof-ras/spoof-ras.c
95
spoof_prepare_lla(struct nd_opt_lla *llap, struct lif_nd_req *nce,
usr/src/uts/common/inet/ip/ip.c
11687
ip_fragment_v4(mblk_t *mp_orig, nce_t *nce, iaflags_t ixaflags,
usr/src/uts/common/inet/ip/ip.c
11699
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip.c
11795
error = postfragfn(mp, nce, ixaflags, i1, xmit_hint, szone, nolzid,
usr/src/uts/common/inet/ip/ip.c
11909
error = postfragfn(mp, nce, ixaflags, ip_len, xmit_hint, szone,
usr/src/uts/common/inet/ip/ip.c
12135
ip_xmit_attach_llhdr(mblk_t *mp, nce_t *nce)
usr/src/uts/common/inet/ip/ip.c
12147
ASSERT(nce != NULL);
usr/src/uts/common/inet/ip/ip.c
12148
if ((mp1 = nce->nce_fp_mp) != NULL) {
usr/src/uts/common/inet/ip/ip.c
12166
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip.c
12190
mp1 = copyb(nce->nce_dlur_mp);
usr/src/uts/common/inet/ip/ip.c
12193
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip.c
14499
ip_xmit(mblk_t *mp, nce_t *nce, iaflags_t ixaflags, uint_t pkt_len,
usr/src/uts/common/inet/ip/ip.c
14503
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip.c
14508
ncec_t *ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip.c
14512
DTRACE_PROBE1(ip__xmit, nce_t *, nce);
usr/src/uts/common/inet/ip/ip.c
14612
mp = ip_xmit_attach_llhdr(mp, nce);
usr/src/uts/common/inet/ip/ip.c
14663
nce->nce_fp_mp != NULL ?
usr/src/uts/common/inet/ip/ip.c
14664
MBLKL(nce->nce_fp_mp) : 0);
usr/src/uts/common/inet/ip/ip.c
14774
is_probe = ipmp_packet_is_probe(mp, nce->nce_ill);
usr/src/uts/common/inet/ip/ip.c
14792
is_probe = ipmp_packet_is_probe(mp, nce->nce_ill);
usr/src/uts/common/inet/ip/ip.c
3400
nce_t *nce;
usr/src/uts/common/inet/ip/ip.c
3536
nce = ire_to_nce(ire, firsthop, NULL);
usr/src/uts/common/inet/ip/ip.c
3537
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip.c
3543
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip.c
3629
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip.c
3630
if (nce != NULL && nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip.c
3631
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip.c
3694
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip.c
3695
if (nce != NULL && nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip.c
3696
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip.c
3742
nce_t *nce;
usr/src/uts/common/inet/ip/ip.c
3748
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip.c
3832
} else if (nce != NULL) {
usr/src/uts/common/inet/ip/ip.c
3840
if (nce->nce_common->ncec_ill->ill_mc_mtu < pmtu)
usr/src/uts/common/inet/ip/ip.c
3841
pmtu = nce->nce_common->ncec_ill->ill_mc_mtu;
usr/src/uts/common/inet/ip/ip.c
3842
if (nce->nce_common->ncec_ill != nce->nce_ill &&
usr/src/uts/common/inet/ip/ip.c
3843
nce->nce_ill->ill_mc_mtu < pmtu) {
usr/src/uts/common/inet/ip/ip.c
3850
pmtu = nce->nce_ill->ill_mc_mtu;
usr/src/uts/common/inet/ip/ip.c
3853
if (nce->nce_common->ncec_ill->ill_mtu < pmtu)
usr/src/uts/common/inet/ip/ip.c
3854
pmtu = nce->nce_common->ncec_ill->ill_mtu;
usr/src/uts/common/inet/ip/ip.c
3855
if (nce->nce_common->ncec_ill != nce->nce_ill &&
usr/src/uts/common/inet/ip/ip.c
3856
nce->nce_ill->ill_mtu < pmtu) {
usr/src/uts/common/inet/ip/ip.c
3863
pmtu = nce->nce_ill->ill_mtu;
usr/src/uts/common/inet/ip/ip2mac.c
181
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip2mac.c
219
nce = nce_lookup_v6(ill, &sin6->sin6_addr);
usr/src/uts/common/inet/ip/ip2mac.c
223
&sin6->sin6_addr, 0, ND_UNCHANGED, &nce);
usr/src/uts/common/inet/ip/ip2mac.c
228
nce = nce_lookup_v4(ill, &sin->sin_addr.s_addr);
usr/src/uts/common/inet/ip/ip2mac.c
232
&sin->sin_addr.s_addr, 0, ND_UNCHANGED, &nce);
usr/src/uts/common/inet/ip/ip2mac.c
236
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip2mac.c
240
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip2mac.c
258
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip2mac.c
319
if (nce != NULL)
usr/src/uts/common/inet/ip/ip2mac.c
320
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6.c
1011
nce_t *nce;
usr/src/uts/common/inet/ip/ip6.c
1117
gateway, ncec_flags, ND_STALE, &nce);
usr/src/uts/common/inet/ip/ip6.c
1120
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6.c
1127
nce_process(nce->nce_common,
usr/src/uts/common/inet/ip/ip6.c
1129
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6.c
1970
nce_t *nce;
usr/src/uts/common/inet/ip/ip6.c
2120
nce = ire_to_nce(ire, 0, firsthop);
usr/src/uts/common/inet/ip/ip6.c
2121
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip6.c
2127
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip6.c
2202
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip6.c
2203
if (nce != NULL && nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip6.c
2204
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6.c
2266
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip6.c
2267
if (nce != NULL && nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip6.c
2268
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6.c
4003
ip_fragment_v6(mblk_t *mp, nce_t *nce, iaflags_t ixaflags, uint_t pkt_len,
usr/src/uts/common/inet/ip/ip6.c
4018
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip6.c
4187
error = postfragfn(hmp0, nce, ixaflags,
usr/src/uts/common/inet/ip/ip6_if.c
1223
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip6_if.c
1303
&ipif->ipif_v6lcl_addr, flags, state, &nce);
usr/src/uts/common/inet/ip/ip6_if.c
1310
nce->nce_ipif_cnt++;
usr/src/uts/common/inet/ip/ip6_if.c
1316
nce->nce_ipif_cnt++;
usr/src/uts/common/inet/ip/ip6_if.c
1321
if (!NCE_MYADDR(nce->nce_common)) {
usr/src/uts/common/inet/ip/ip6_if.c
1326
ncec_delete(nce->nce_common);
usr/src/uts/common/inet/ip/ip6_if.c
1327
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_if.c
1328
nce = NULL;
usr/src/uts/common/inet/ip/ip6_if.c
1332
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_if.c
1333
nce = NULL;
usr/src/uts/common/inet/ip/ip6_if.c
1349
nce->nce_ipif_cnt++;
usr/src/uts/common/inet/ip/ip6_if.c
1361
if (nce != NULL)
usr/src/uts/common/inet/ip/ip6_if.c
1362
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_if.c
2771
nce_t *nce;
usr/src/uts/common/inet/ip/ip6_if.c
2795
nce = nce_lookup_v6(ill, &sin6->sin6_addr);
usr/src/uts/common/inet/ip/ip6_if.c
2796
if (nce == NULL)
usr/src/uts/common/inet/ip/ip6_if.c
2799
if (NCE_MYADDR(nce->nce_common)) {
usr/src/uts/common/inet/ip/ip6_if.c
2800
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_if.c
2808
ncec_delete(nce->nce_common);
usr/src/uts/common/inet/ip/ip6_if.c
2809
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
1000
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
1022
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
1043
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
1062
ip_forward_xmit_v6(nce, mp, ip6h, ira, mtu, added_tx_len);
usr/src/uts/common/inet/ip/ip6_input.c
1063
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
1073
ip_forward_xmit_v6(nce_t *nce, mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira,
usr/src/uts/common/inet/ip/ip6_input.c
1076
ill_t *dst_ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip6_input.c
1130
(void) ip_postfrag_loopcheck(mp, nce,
usr/src/uts/common/inet/ip/ip6_input.c
1134
(void) ip_xmit(mp, nce, IXAF_NO_DEV_FLOW_CTL,
usr/src/uts/common/inet/ip/ip6_input.c
834
nce_t *nce;
usr/src/uts/common/inet/ip/ip6_input.c
866
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip6_input.c
867
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip6_input.c
872
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip6_input.c
873
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip6_input.c
882
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip6_input.c
885
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip6_input.c
888
nce1 = ire_handle_condemned_nce(nce, ire, NULL, ip6h, B_FALSE);
usr/src/uts/common/inet/ip/ip6_input.c
889
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
896
nce = nce1;
usr/src/uts/common/inet/ip/ip6_input.c
898
dst_ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip6_input.c
911
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
930
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
948
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_input.c
966
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_output.c
1147
ip_postfrag_multirt_v6(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
usr/src/uts/common/inet/ip/ip6_output.c
1157
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip6_output.c
1179
ip_postfrag_loopback(mp1, nce, ixaflags, pkt_len,
usr/src/uts/common/inet/ip/ip6_output.c
118
nce_t *nce;
usr/src/uts/common/inet/ip/ip6_output.c
1192
if (IN6_ARE_ADDR_EQUAL(&nce->nce_addr, &ip6h->ip6_dst)) {
usr/src/uts/common/inet/ip/ip6_output.c
1198
ire = ire_ftable_lookup_v6(&ip6h->ip6_dst, 0, &nce->nce_addr,
usr/src/uts/common/inet/ip/ip6_output.c
1207
mp, nce->nce_ill);
usr/src/uts/common/inet/ip/ip6_output.c
1258
if (nce->nce_common->ncec_flags & NCE_F_MCAST) {
usr/src/uts/common/inet/ip/ip6_output.c
1314
err = ip_xmit(mp, nce, ixaflags, pkt_len, xmit_hint, szone, 0,
usr/src/uts/common/inet/ip/ip6_output.c
182
nce = ire_to_nce(ire, INADDR_ANY, &ip6h->ip6_dst);
usr/src/uts/common/inet/ip/ip6_output.c
183
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip6_output.c
190
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip6_output.c
193
nce1 = ire_handle_condemned_nce(nce, ire, NULL, ip6h, B_TRUE);
usr/src/uts/common/inet/ip/ip6_output.c
194
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip6_output.c
209
nce = nce1;
usr/src/uts/common/inet/ip/ip6_output.c
226
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip6_output.c
233
ifindex = nce->nce_common->ncec_ill->ill_phyint->phyint_ifindex;
usr/src/uts/common/inet/ip/ip6_output.c
256
ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ip6_output.c
260
fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ip6_output.c
266
ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ip_arp.c
1125
&src_paddr, 0, ND_STALE, &nce);
usr/src/uts/common/inet/ip/ip_arp.c
1133
src_ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_arp.c
1147
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_arp.c
826
nce_t *nce;
usr/src/uts/common/inet/ip/ip_attr.c
1157
nce_t *nce;
usr/src/uts/common/inet/ip/ip_attr.c
1161
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip_attr.c
1176
if (nce != NULL && nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_attr.c
1178
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_attr.c
240
nce_t *nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip_attr.c
242
ASSERT(nce != NULL);
usr/src/uts/common/inet/ip/ip_attr.c
255
ixm->ixm_ifindex = nce->nce_ill->ill_phyint->phyint_ifindex;
usr/src/uts/common/inet/ip/ip_attr.c
256
ixm->ixm_nceaddr_v6 = nce->nce_addr;
usr/src/uts/common/inet/ip/ip_attr.c
338
nce_t *nce;
usr/src/uts/common/inet/ip/ip_attr.c
375
nce = nce_lookup_v4(ill, &ixm->ixm_nceaddr_v4);
usr/src/uts/common/inet/ip/ip_attr.c
377
nce = nce_lookup_v6(ill, &ixm->ixm_nceaddr_v6);
usr/src/uts/common/inet/ip/ip_attr.c
382
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_attr.c
398
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip_ftable.c
1074
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ftable.c
1321
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_ftable.c
1322
if (nce == NULL || nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_if.c
1236
nce_t *nce;
usr/src/uts/common/inet/ip/ip_if.c
1239
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_if.c
1240
if (nce != NULL && nce->nce_ill == ill)
usr/src/uts/common/inet/ip/ip_if.c
1243
nce = NULL;
usr/src/uts/common/inet/ip/ip_if.c
1245
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_if.c
1246
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
18366
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip_if.c
18436
addr, flags, state, &nce);
usr/src/uts/common/inet/ip/ip_if.c
18445
nce->nce_ipif_cnt++;
usr/src/uts/common/inet/ip/ip_if.c
18450
if (!NCE_MYADDR(nce->nce_common)) {
usr/src/uts/common/inet/ip/ip_if.c
18455
ncec_delete(nce->nce_common);
usr/src/uts/common/inet/ip/ip_if.c
18456
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
18457
nce = NULL;
usr/src/uts/common/inet/ip/ip_if.c
18461
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
18462
nce = NULL;
usr/src/uts/common/inet/ip/ip_if.c
18479
nce->nce_ipif_cnt++;
usr/src/uts/common/inet/ip/ip_if.c
18483
ASSERT(nce == NULL);
usr/src/uts/common/inet/ip/ip_if.c
18496
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_if.c
18497
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
18972
nce_t *nce;
usr/src/uts/common/inet/ip/ip_if.c
18978
nce = nce_lookup_v6(ill, &ipif->ipif_v6lcl_addr);
usr/src/uts/common/inet/ip/ip_if.c
18980
nce = nce_lookup_v4(ill, &ipif->ipif_lcl_addr);
usr/src/uts/common/inet/ip/ip_if.c
18981
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_if.c
18982
if (--nce->nce_ipif_cnt == 0)
usr/src/uts/common/inet/ip/ip_if.c
18983
ncec_delete(nce->nce_common);
usr/src/uts/common/inet/ip/ip_if.c
18985
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
2746
nce_t *nce;
usr/src/uts/common/inet/ip/ip_if.c
2754
nce = nce_lookup_v6(ill, &ipif->ipif_v6lcl_addr);
usr/src/uts/common/inet/ip/ip_if.c
2755
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_if.c
2756
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_if.c
2763
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
8198
nce_t *nce;
usr/src/uts/common/inet/ip/ip_if.c
8299
nce = nce_lookup_v4(ill, &ipaddr);
usr/src/uts/common/inet/ip/ip_if.c
8300
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_if.c
8301
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_if.c
8315
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
8349
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
8366
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_if.c
8367
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
8368
nce = NULL;
usr/src/uts/common/inet/ip/ip_if.c
8376
&nce);
usr/src/uts/common/inet/ip/ip_if.c
8378
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_if.c
8386
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_if.c
8387
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_if.c
8388
nce = NULL;
usr/src/uts/common/inet/ip/ip_if.c
8402
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_if.c
8403
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
1028
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
1041
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
1070
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
1083
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
1107
ip_forward_xmit_v4(nce, ill, mp, ipha, ira, mtu, added_tx_len);
usr/src/uts/common/inet/ip/ip_input.c
1108
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
1116
ip_forward_xmit_v4(nce_t *nce, ill_t *ill, mblk_t *mp, ipha_t *ipha,
usr/src/uts/common/inet/ip/ip_input.c
1119
ill_t *dst_ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_input.c
1214
(void) ip_fragment_v4(mp, nce, ixaflags, pkt_len, mtu,
usr/src/uts/common/inet/ip/ip_input.c
1225
(void) ip_postfrag_loopcheck(mp, nce,
usr/src/uts/common/inet/ip/ip_input.c
1229
(void) ip_xmit(mp, nce, ixaflags, pkt_len, ira->ira_xmit_hint,
usr/src/uts/common/inet/ip/ip_input.c
1317
nce_t *nce;
usr/src/uts/common/inet/ip/ip_input.c
1476
nce = arp_nce_init(dst_ill, ipha->ipha_dst, IRE_BROADCAST);
usr/src/uts/common/inet/ip/ip_input.c
1477
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_input.c
1484
ip_forward_xmit_v4(nce, ill, mp, ipha, ira, dst_ill->ill_mc_mtu, 0);
usr/src/uts/common/inet/ip/ip_input.c
1485
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
844
nce_t *nce;
usr/src/uts/common/inet/ip/ip_input.c
877
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_input.c
878
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_input.c
883
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_input.c
884
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_input.c
893
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_input.c
896
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_input.c
899
nce1 = ire_handle_condemned_nce(nce, ire, ipha, NULL, B_FALSE);
usr/src/uts/common/inet/ip/ip_input.c
900
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
907
nce = nce1;
usr/src/uts/common/inet/ip/ip_input.c
909
dst_ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_input.c
921
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
927
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
954
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
973
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_input.c
991
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
2482
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip_ire.c
2520
ncec_flags, ND_UNCHANGED, &nce);
usr/src/uts/common/inet/ip/ip_ire.c
2523
ncec_flags, ND_UNCHANGED, &nce);
usr/src/uts/common/inet/ip/ip_ire.c
2534
if (((ncec_flags ^ nce->nce_common->ncec_flags) &
usr/src/uts/common/inet/ip/ip_ire.c
2537
ncec_delete(nce->nce_common);
usr/src/uts/common/inet/ip/ip_ire.c
2538
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
2571
nce_delete(nce);
usr/src/uts/common/inet/ip/ip_ire.c
2574
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
2585
ASSERT(nce->nce_ill == ill);
usr/src/uts/common/inet/ip/ip_ire.c
2588
return (nce);
usr/src/uts/common/inet/ip/ip_ire.c
2613
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ire.c
2622
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_ire.c
2625
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ire.c
2626
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
2858
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ire.c
2898
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_ire.c
2901
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ire.c
2902
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3066
ire_handle_condemned_nce(nce_t *nce, ire_t *ire, ipha_t *ipha, ip6_t *ip6h,
usr/src/uts/common/inet/ip/ip_ire.c
3069
if (nce->nce_common->ncec_state == ND_UNREACHABLE) {
usr/src/uts/common/inet/ip/ip_ire.c
3085
nce = ire_to_nce(ire, ipha->ipha_dst, NULL);
usr/src/uts/common/inet/ip/ip_ire.c
3088
nce = ire_to_nce(ire, INADDR_ANY, &ip6h->ip6_dst);
usr/src/uts/common/inet/ip/ip_ire.c
3091
if (nce == NULL)
usr/src/uts/common/inet/ip/ip_ire.c
3093
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_ire.c
3094
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3097
return (nce);
usr/src/uts/common/inet/ip/ip_ire.c
3125
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ire.c
3161
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_ire.c
3162
if (nce != NULL && nce->nce_is_condemned &&
usr/src/uts/common/inet/ip/ip_ire.c
3163
nce->nce_common->ncec_state == ND_UNREACHABLE)
usr/src/uts/common/inet/ip/ip_ire.c
3166
nce = NULL;
usr/src/uts/common/inet/ip/ip_ire.c
3168
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ire.c
3169
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3325
nce_t *nce, *old_nce;
usr/src/uts/common/inet/ip/ip_ire.c
3348
nce = nce_lookup_v4(ire->ire_ill, &ire->ire_addr);
usr/src/uts/common/inet/ip/ip_ire.c
3350
nce = nce_lookup_v6(ire->ire_ill, &ire->ire_addr_v6);
usr/src/uts/common/inet/ip/ip_ire.c
3354
nce = arp_nce_init(nexthop->ire_ill, nexthop->ire_addr,
usr/src/uts/common/inet/ip/ip_ire.c
3357
nce = ndp_nce_init(nexthop->ire_ill,
usr/src/uts/common/inet/ip/ip_ire.c
3361
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ire.c
3375
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3376
nexthop->ire_nce_cache = nce;
usr/src/uts/common/inet/ip/ip_ire.c
3389
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3390
ire->ire_nce_cache = nce;
usr/src/uts/common/inet/ip/ip_ire.c
3398
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3414
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ire.c
3423
nce = ire->ire_nce_cache;
usr/src/uts/common/inet/ip/ip_ire.c
3424
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ire.c
3425
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ire.c
3427
return (nce);
usr/src/uts/common/inet/ip/ip_ire.c
3437
nce = arp_nce_init(ire->ire_ill, v4nexthop,
usr/src/uts/common/inet/ip/ip_ire.c
3442
nce = ndp_nce_init(ire->ire_ill, v6nexthop,
usr/src/uts/common/inet/ip/ip_ire.c
3445
return (nce);
usr/src/uts/common/inet/ip/ip_mroute.c
3151
nce_t *nce;
usr/src/uts/common/inet/ip/ip_mroute.c
3177
nce = arp_nce_init(ill, dst, ill->ill_net_type);
usr/src/uts/common/inet/ip/ip_mroute.c
3179
nce = arp_nce_init(ill, dst, IRE_MULTICAST);
usr/src/uts/common/inet/ip/ip_mroute.c
3181
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_mroute.c
3194
ip_forward_xmit_v4(nce, ill, mp, ipha, &iras, ill->ill_mc_mtu,
usr/src/uts/common/inet/ip/ip_mroute.c
3198
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
1043
nce_t *nce, *deadman;
usr/src/uts/common/inet/ip/ip_ndp.c
1070
nce = list_tail(&ill->ill_nce);
usr/src/uts/common/inet/ip/ip_ndp.c
1073
while (nce != NULL &&
usr/src/uts/common/inet/ip/ip_ndp.c
1074
(nce->nce_common->ncec_flags & NCE_F_MCAST) == 0) {
usr/src/uts/common/inet/ip/ip_ndp.c
1075
nce = list_prev(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
1077
if (nce == NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
1085
deadman = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
1086
nce = list_prev(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
1249
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
1256
nce = nce_lookup_addr(ill, dst);
usr/src/uts/common/inet/ip/ip_ndp.c
1257
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
1280
ND_UNCHANGED, &nce);
usr/src/uts/common/inet/ip/ip_ndp.c
1283
err = (nce != NULL) ? nce_add_v6_postprocess(nce) : ENOMEM;
usr/src/uts/common/inet/ip/ip_ndp.c
1291
ASSERT(nce->nce_common->ncec_state == ND_REACHABLE);
usr/src/uts/common/inet/ip/ip_ndp.c
1293
*newnce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
1295
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
229
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
235
&nce);
usr/src/uts/common/inet/ip/ip_ndp.c
239
*newnce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
249
nce_add_v6_postprocess(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
251
ncec_t *ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
272
nce_fastpath_trigger(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
2916
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
2977
nce = nce_fastpath(ncec, B_TRUE, NULL);
usr/src/uts/common/inet/ip/ip_ndp.c
2978
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
2979
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3104
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3143
nce = nce_lookup(ill, &ncec->ncec_addr);
usr/src/uts/common/inet/ip/ip_ndp.c
3146
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3164
(void) ip_xmit(mp, nce, ixaflags, pkt_len, 0,
usr/src/uts/common/inet/ip/ip_ndp.c
3166
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3185
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3203
nce = nce_lookup_addr(ill, addr);
usr/src/uts/common/inet/ip/ip_ndp.c
3204
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
3205
new_flags = nce->nce_common->ncec_flags;
usr/src/uts/common/inet/ip/ip_ndp.c
3216
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
3217
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3232
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
3233
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3237
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3244
&nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3253
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
3259
err = nce_add_v6_postprocess(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3260
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3266
err = nce_add_v6_postprocess(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3283
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3296
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3298
nce = nce_ill_lookup_then_add(ill, ncec);
usr/src/uts/common/inet/ip/ip_ndp.c
3300
if (nce == NULL || IS_LOOPBACK(nce->nce_ill) || IS_VNI(nce->nce_ill))
usr/src/uts/common/inet/ip/ip_ndp.c
3301
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3312
bcopy(ncec->ncec_lladdr, nce->nce_dlur_mp->b_rptr +
usr/src/uts/common/inet/ip/ip_ndp.c
3315
nce->nce_dlur_mp = ill_dlur_gen(NULL, 0, ill->ill_sap,
usr/src/uts/common/inet/ip/ip_ndp.c
3319
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3338
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
335
nce_t *nce, *upper_nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
3355
nce = nce_fastpath_create(ill, ncec);
usr/src/uts/common/inet/ip/ip_ndp.c
3357
nce = ncec_nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3359
if (nce == NULL || IS_LOOPBACK(nce->nce_ill) || IS_VNI(nce->nce_ill))
usr/src/uts/common/inet/ip/ip_ndp.c
3360
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3363
nce_fastpath_trigger(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3364
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3371
nce_fastpath_trigger(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
3374
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_ndp.c
3375
ncec_t *ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
3377
res = ill_fastpath_probe(ill, nce->nce_dlur_mp);
usr/src/uts/common/inet/ip/ip_ndp.c
3395
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
3410
nce = nce_lookup(ill, &ncec->ncec_addr);
usr/src/uts/common/inet/ip/ip_ndp.c
3411
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
3413
nce = nce_add(ill, ncec, graveyard);
usr/src/uts/common/inet/ip/ip_ndp.c
3417
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3423
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3428
nce = nce_ill_lookup_then_add_locked(ill, ncec, &graveyard);
usr/src/uts/common/inet/ip/ip_ndp.c
3431
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3443
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3453
for (nce = list_head(&ill->ill_nce); nce != NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
3454
nce = list_next(&ill->ill_nce, nce)) {
usr/src/uts/common/inet/ip/ip_ndp.c
3455
if (nce->nce_common == ncec) {
usr/src/uts/common/inet/ip/ip_ndp.c
3456
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3457
nce_delete(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3462
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3464
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3466
list_insert_tail(dead, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3477
nce_delete_then_add(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
3479
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_ndp.c
3485
(void *)nce, ill->ill_name));
usr/src/uts/common/inet/ip/ip_ndp.c
3487
mutex_enter(&nce->nce_common->ncec_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
3488
nce_delete(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3494
if (!NCE_ISCONDEMNED(nce->nce_common))
usr/src/uts/common/inet/ip/ip_ndp.c
3495
newnce = nce_add(ill, nce->nce_common, &graveyard);
usr/src/uts/common/inet/ip/ip_ndp.c
3496
mutex_exit(&nce->nce_common->ncec_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
3499
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3510
nce_fastpath_match_dlur(ill_t *ill, nce_t *nce, void *arg)
usr/src/uts/common/inet/ip/ip_ndp.c
3513
ncec_t *ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
3516
mblk_t *ud_mp = nce->nce_dlur_mp;
usr/src/uts/common/inet/ip/ip_ndp.c
3543
nce_fp_marg->nce_fp_match_res = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3545
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3563
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3571
if ((nce = nce_fp_marg.nce_fp_match_res) == NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
3574
mutex_enter(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
3575
nce_fp_mp = nce->nce_fp_mp;
usr/src/uts/common/inet/ip/ip_ndp.c
358
nce = nce_lookup_addr(ill, addr);
usr/src/uts/common/inet/ip/ip_ndp.c
3581
mutex_exit(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
3582
nce = nce_delete_then_add(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3583
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3586
mutex_enter(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
3587
nce_fp_mp = nce->nce_fp_mp;
usr/src/uts/common/inet/ip/ip_ndp.c
359
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3594
nce->nce_fp_mp = fp_mp;
usr/src/uts/common/inet/ip/ip_ndp.c
3598
nce->nce_fp_mp->b_wptr = nce->nce_fp_mp->b_rptr
usr/src/uts/common/inet/ip/ip_ndp.c
3601
mutex_exit(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
3602
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
361
&nce);
usr/src/uts/common/inet/ip/ip_ndp.c
367
err = nce_add_v6_postprocess(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
368
if (in_ill != ill && nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
378
DTRACE_PROBE2(ill__not__in__group, nce_t *, nce,
usr/src/uts/common/inet/ip/ip_ndp.c
3817
nce_t *nce, *upper_nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
382
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
383
nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
386
under_nce = nce_fastpath_create(in_ill, nce->nce_common);
usr/src/uts/common/inet/ip/ip_ndp.c
3861
nce = nce_lookup_addr(ill, &addr6);
usr/src/uts/common/inet/ip/ip_ndp.c
3862
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3864
state, &nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3870
err = nce_add_v4_postprocess(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3872
if (in_ill != ill && nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3882
DTRACE_PROBE2(ill__not__in__group, nce_t *, nce,
usr/src/uts/common/inet/ip/ip_ndp.c
3886
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3887
nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
3890
under_nce = nce_fastpath_create(in_ill, nce->nce_common);
usr/src/uts/common/inet/ip/ip_ndp.c
3894
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3895
nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
3899
upper_nce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
390
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
3900
nce = under_nce; /* will be returned to caller */
usr/src/uts/common/inet/ip/ip_ndp.c
3901
if (NCE_ISREACHABLE(nce->nce_common))
usr/src/uts/common/inet/ip/ip_ndp.c
3904
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
3906
*newnce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3908
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
391
nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
3941
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3949
&nce);
usr/src/uts/common/inet/ip/ip_ndp.c
395
upper_nce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
3951
*newnce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
396
nce = under_nce; /* will be returned to caller */
usr/src/uts/common/inet/ip/ip_ndp.c
3964
nce_add_v4_postprocess(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
3966
ncec_t *ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
397
if (NCE_ISREACHABLE(nce->nce_common))
usr/src/uts/common/inet/ip/ip_ndp.c
3986
nce_fastpath_trigger(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
401
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
403
*newnce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
405
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
4177
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
4183
if ((nce = nce_lookup_addr(ill, &dst6)) != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
4210
ND_UNCHANGED, &nce);
usr/src/uts/common/inet/ip/ip_ndp.c
4213
err = (nce != NULL) ? nce_add_v4_postprocess(nce) : ENOMEM;
usr/src/uts/common/inet/ip/ip_ndp.c
4222
*newnce = nce;
usr/src/uts/common/inet/ip/ip_ndp.c
4224
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
4246
ncec_reschedule(ill_t *ill, nce_t *nce, void *arg)
usr/src/uts/common/inet/ip/ip_ndp.c
4252
ncec_t *ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
4574
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
4582
nce = nce_lookup_v4(ill, addr);
usr/src/uts/common/inet/ip/ip_ndp.c
4583
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
4584
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_ndp.c
4593
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
4637
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
4878
nce = kmem_cache_alloc(nce_cache, KM_NOSLEEP);
usr/src/uts/common/inet/ip/ip_ndp.c
4879
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
4931
*retnce = nce_add_impl(ill, ncec, nce, dlur_mp, &graveyard);
usr/src/uts/common/inet/ip/ip_ndp.c
4942
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
4943
kmem_cache_free(nce_cache, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
4954
nce_refhold(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
4956
mutex_enter(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
4957
nce->nce_refcnt++;
usr/src/uts/common/inet/ip/ip_ndp.c
4958
ASSERT((nce)->nce_refcnt != 0);
usr/src/uts/common/inet/ip/ip_ndp.c
4959
mutex_exit(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
4972
nce_refrele(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
4974
ASSERT((nce)->nce_refcnt != 0);
usr/src/uts/common/inet/ip/ip_ndp.c
4975
mutex_enter(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
4976
if (--nce->nce_refcnt == 0)
usr/src/uts/common/inet/ip/ip_ndp.c
4977
nce_inactive(nce); /* destroys the mutex */
usr/src/uts/common/inet/ip/ip_ndp.c
4979
mutex_exit(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
4986
nce_inactive(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
4988
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_ndp.c
4990
ASSERT(nce->nce_refcnt == 0);
usr/src/uts/common/inet/ip/ip_ndp.c
4992
ncec_refrele_notr(nce->nce_common);
usr/src/uts/common/inet/ip/ip_ndp.c
4993
nce->nce_common = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
4994
freemsg(nce->nce_fp_mp);
usr/src/uts/common/inet/ip/ip_ndp.c
4995
freemsg(nce->nce_dlur_mp);
usr/src/uts/common/inet/ip/ip_ndp.c
4999
(char *), "nce", (void *), nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5001
nce->nce_ill = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
5014
mutex_destroy(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
5015
kmem_cache_free(nce_cache, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5026
nce_add_impl(ill_t *ill, ncec_t *ncec, nce_t *nce, mblk_t *dlur_mp,
usr/src/uts/common/inet/ip/ip_ndp.c
5033
kmem_cache_free(nce_cache, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5039
bzero(nce, sizeof (*nce));
usr/src/uts/common/inet/ip/ip_ndp.c
5040
mutex_init(&nce->nce_lock, NULL, MUTEX_DEFAULT, NULL);
usr/src/uts/common/inet/ip/ip_ndp.c
5041
nce->nce_common = ncec;
usr/src/uts/common/inet/ip/ip_ndp.c
5042
nce->nce_addr = ncec->ncec_addr;
usr/src/uts/common/inet/ip/ip_ndp.c
5043
nce->nce_ill = ill;
usr/src/uts/common/inet/ip/ip_ndp.c
5045
(char *), "nce", (void *), nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5048
nce->nce_refcnt = 1; /* for the thread */
usr/src/uts/common/inet/ip/ip_ndp.c
5050
nce->nce_dlur_mp = dlur_mp;
usr/src/uts/common/inet/ip/ip_ndp.c
5053
nce->nce_refcnt++; /* for the list */
usr/src/uts/common/inet/ip/ip_ndp.c
5054
list_insert_head(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5055
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5061
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
5067
nce = kmem_cache_alloc(nce_cache, KM_NOSLEEP);
usr/src/uts/common/inet/ip/ip_ndp.c
5068
if (nce == NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
5076
kmem_cache_free(nce_cache, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5084
return (nce_add_impl(ill, ncec, nce, dlur_mp, graveyard));
usr/src/uts/common/inet/ip/ip_ndp.c
5091
nce_delete(nce_t *nce)
usr/src/uts/common/inet/ip/ip_ndp.c
5093
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_ndp.c
5097
mutex_enter(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
5098
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_ndp.c
5102
mutex_exit(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
5105
nce->nce_is_condemned = B_TRUE;
usr/src/uts/common/inet/ip/ip_ndp.c
5106
mutex_exit(&nce->nce_lock);
usr/src/uts/common/inet/ip/ip_ndp.c
5109
if ((nce->nce_common->ncec_flags & NCE_F_MCAST) == NCE_F_MCAST)
usr/src/uts/common/inet/ip/ip_ndp.c
5112
list_remove(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5120
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5126
nce_t *nce = NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
5131
for (nce = list_head(&ill->ill_nce); nce != NULL;
usr/src/uts/common/inet/ip/ip_ndp.c
5132
nce = list_next(&ill->ill_nce, nce)) {
usr/src/uts/common/inet/ip/ip_ndp.c
5133
if (IN6_ARE_ADDR_EQUAL(&nce->nce_addr, addr))
usr/src/uts/common/inet/ip/ip_ndp.c
5141
if (nce != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
5142
ASSERT(!nce->nce_is_condemned);
usr/src/uts/common/inet/ip/ip_ndp.c
5143
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5145
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5155
nce_t *nce = NULL, *nce_next;
usr/src/uts/common/inet/ip/ip_ndp.c
5158
for (nce = list_head(&ill->ill_nce); nce != NULL; ) {
usr/src/uts/common/inet/ip/ip_ndp.c
5159
nce_next = list_next(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5160
if (func(ill, nce, arg) != 0)
usr/src/uts/common/inet/ip/ip_ndp.c
5162
nce = nce_next;
usr/src/uts/common/inet/ip/ip_ndp.c
5177
nce_t *nce, *nce_next;
usr/src/uts/common/inet/ip/ip_ndp.c
5182
for (nce = list_head(&ill->ill_nce); nce != NULL; ) {
usr/src/uts/common/inet/ip/ip_ndp.c
5183
nce_next = list_next(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5184
if (!flushall && NCE_PUBLISH(nce->nce_common)) {
usr/src/uts/common/inet/ip/ip_ndp.c
5185
nce = nce_next;
usr/src/uts/common/inet/ip/ip_ndp.c
5194
nce_refhold(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5195
nce_delete(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5196
list_insert_tail(&dead, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5197
nce = nce_next;
usr/src/uts/common/inet/ip/ip_ndp.c
5200
while ((nce = list_head(&dead)) != NULL) {
usr/src/uts/common/inet/ip/ip_ndp.c
5201
list_remove(&dead, nce);
usr/src/uts/common/inet/ip/ip_ndp.c
5202
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_ndp.c
782
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
788
nce = nce_lookup_addr(ill, &addr6);
usr/src/uts/common/inet/ip/ip_ndp.c
790
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
801
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
805
nce = nce_lookup_addr(ill, addr6);
usr/src/uts/common/inet/ip/ip_ndp.c
807
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
813
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
823
nce = nce_lookup(ill, addr);
usr/src/uts/common/inet/ip/ip_ndp.c
825
return (nce);
usr/src/uts/common/inet/ip/ip_ndp.c
870
nce_t *nce;
usr/src/uts/common/inet/ip/ip_ndp.c
895
nce = nce_fastpath(ncec, B_TRUE, NULL);
usr/src/uts/common/inet/ip/ip_ndp.c
897
if (nce != NULL)
usr/src/uts/common/inet/ip/ip_ndp.c
898
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_output.c
142
nce_t *nce;
usr/src/uts/common/inet/ip/ip_output.c
2065
ip_postfrag_loopback(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
usr/src/uts/common/inet/ip/ip_output.c
2069
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_output.c
2073
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ip_output.c
2145
ip_postfrag_loopcheck(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
usr/src/uts/common/inet/ip/ip_output.c
2149
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_output.c
2166
ip_postfrag_loopback(mp1, nce, ixaflags, pkt_len,
usr/src/uts/common/inet/ip/ip_output.c
2196
if (nce->nce_ill->ill_wq == NULL) {
usr/src/uts/common/inet/ip/ip_output.c
2203
return (ip_xmit(mp, nce, ixaflags, pkt_len, xmit_hint, szone, 0,
usr/src/uts/common/inet/ip/ip_output.c
2216
ip_postfrag_multirt_v4(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
usr/src/uts/common/inet/ip/ip_output.c
2226
ill_t *ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_output.c
2248
ip_postfrag_loopback(mp1, nce, ixaflags, pkt_len,
usr/src/uts/common/inet/ip/ip_output.c
2261
if (V4_PART_OF_V6(nce->nce_addr) == ipha->ipha_dst) {
usr/src/uts/common/inet/ip/ip_output.c
2266
ipaddr_t v4addr = V4_PART_OF_V6(nce->nce_addr);
usr/src/uts/common/inet/ip/ip_output.c
2278
mp, nce->nce_ill);
usr/src/uts/common/inet/ip/ip_output.c
229
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip_output.c
230
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_output.c
2334
if (nce->nce_common->ncec_flags & NCE_F_BCAST) {
usr/src/uts/common/inet/ip/ip_output.c
2337
} else if (nce->nce_common->ncec_flags & NCE_F_MCAST) {
usr/src/uts/common/inet/ip/ip_output.c
2393
err = ip_xmit(mp, nce, ixaflags, pkt_len, xmit_hint, szone, 0,
usr/src/uts/common/inet/ip/ip_output.c
270
nce = ixa->ixa_nce;
usr/src/uts/common/inet/ip/ip_output.c
327
ill = nce->nce_ill;
usr/src/uts/common/inet/ip/ip_output.c
451
nce_t *nce;
usr/src/uts/common/inet/ip/ip_output.c
499
nce = ire_to_nce_pkt(ire, mp);
usr/src/uts/common/inet/ip/ip_output.c
500
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_output.c
509
if (nce == ixa->ixa_nce) {
usr/src/uts/common/inet/ip/ip_output.c
511
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_output.c
524
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip_output.c
535
nce_t *nce;
usr/src/uts/common/inet/ip/ip_output.c
545
nce = ire_handle_condemned_nce(ixa->ixa_nce, ire, ipha, ip6h, B_TRUE);
usr/src/uts/common/inet/ip/ip_output.c
546
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_output.c
556
if (!ip_verify_lso(nce->nce_ill, ixa)) {
usr/src/uts/common/inet/ip/ip_output.c
572
if (!ip_verify_zcopy(nce->nce_ill, ixa)) {
usr/src/uts/common/inet/ip/ip_output.c
589
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip_output.c
819
nce_t *nce;
usr/src/uts/common/inet/ip/ip_output.c
873
nce = NULL;
usr/src/uts/common/inet/ip/ip_output.c
883
nce = ire_to_nce(ire, ipha->ipha_dst, NULL);
usr/src/uts/common/inet/ip/ip_output.c
884
if (nce == NULL) {
usr/src/uts/common/inet/ip/ip_output.c
891
if (nce->nce_is_condemned) {
usr/src/uts/common/inet/ip/ip_output.c
894
nce1 = ire_handle_condemned_nce(nce, ire, ipha, NULL, B_TRUE);
usr/src/uts/common/inet/ip/ip_output.c
895
nce_refrele(nce);
usr/src/uts/common/inet/ip/ip_output.c
910
nce = nce1;
usr/src/uts/common/inet/ip/ip_output.c
928
ixa->ixa_nce = nce;
usr/src/uts/common/inet/ip/ip_output.c
937
ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ip_output.c
954
ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ip_output.c
958
fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ip_output.c
964
ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
usr/src/uts/common/inet/ip/ipmp.c
2202
nce_t *nce;
usr/src/uts/common/inet/ip/ipmp.c
2220
while ((nce = list_remove_head(&dead)) != NULL)
usr/src/uts/common/inet/ip/ipmp.c
2221
nce_refrele(nce);
usr/src/uts/common/inet/ip/ipmp.c
2236
nce_t *nce, *nce_next;
usr/src/uts/common/inet/ip/ipmp.c
2259
nce = list_head(&ill->ill_nce);
usr/src/uts/common/inet/ip/ipmp.c
2260
for (; nce != NULL; nce = nce_next) {
usr/src/uts/common/inet/ip/ipmp.c
2261
nce_next = list_next(&ill->ill_nce, nce);
usr/src/uts/common/inet/ip/ipmp.c
2262
if (IN6_ARE_ADDR_EQUAL(&nce->nce_addr,
usr/src/uts/common/inet/ip/ipmp.c
2264
nce_refhold(nce);
usr/src/uts/common/inet/ip/ipmp.c
2265
nce_delete(nce);
usr/src/uts/common/inet/ip/ipmp.c
2266
list_insert_tail(&replace, nce);
usr/src/uts/common/inet/ip/ipmp.c
2277
while ((nce = list_remove_head(&replace)) != NULL) {
usr/src/uts/common/inet/ip/ipmp.c
2279
(void) nce_lookup_then_add_v6(nce->nce_ill,
usr/src/uts/common/inet/ip/ipmp.c
2281
&nce->nce_addr, ncec->ncec_flags, ND_UNCHANGED,
usr/src/uts/common/inet/ip/ipmp.c
2287
(void) nce_lookup_then_add_v4(nce->nce_ill,
usr/src/uts/common/inet/ip/ipmp.c
2291
nce_refrele(nce);
usr/src/uts/common/inet/ip/ipmp.c
924
nce_t *nce;
usr/src/uts/common/inet/ip/ipmp.c
953
&nce);
usr/src/uts/common/inet/ip/ipmp.c
954
if (nce == NULL || !entp->ia_proxyarp) {
usr/src/uts/common/inet/ip/ipmp.c
955
if (nce != NULL)
usr/src/uts/common/inet/ip/ipmp.c
956
nce_refrele(nce);
usr/src/uts/common/inet/ip/ipmp.c
959
ncec = nce->nce_common;
usr/src/uts/common/inet/ip/ipmp.c
963
nce_refrele(nce);