Lines Matching refs:nce
95 spoof_prepare_lla(struct nd_opt_lla *llap, struct lif_nd_req *nce, in spoof_prepare_lla() argument
103 nce->lnr_hdw_len + 7) / 8) * 8; in spoof_prepare_lla()
105 bcopy(&nce->lnr_hdw_addr, in spoof_prepare_lla()
106 &llap->nd_opt_lla_hdw_addr, nce->lnr_hdw_len); in spoof_prepare_lla()
169 spoof_bad_lla_optlen_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_bad_lla_optlen_test() argument
179 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_bad_lla_optlen_test()
232 spoof_bad_pi_optlen_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_bad_pi_optlen_test() argument
242 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_bad_pi_optlen_test()
303 spoof_bad_plen_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_bad_plen_test() argument
312 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_bad_plen_test()
334 spoof_link_local_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_link_local_test() argument
343 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_link_local_test()
362 spoof_good_test(int s, struct lif_nd_req *nce, sin6_t *multicast) in spoof_good_test() argument
371 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_good_test()
519 spoof_run_test(spoof_test_f *func, int s, struct lif_nd_req *nce, in spoof_run_test() argument
524 if (func(s, nce, multicast) == 0) { in spoof_run_test()
532 spoof_run_tests(int s, struct lif_nd_req *nce) in spoof_run_tests() argument
552 spoof_run_test(spoof_good_test, s, nce, &multicast); in spoof_run_tests()
560 spoof_run_test(test_cases[cas], s, nce, &multicast); in spoof_run_tests()
574 spoof_run_test(spoof_good_test, s, nce, &multicast); in spoof_run_tests()