Lines Matching defs:error
269 int error = 0;
283 error = sooptcopyin(sopt, &optval, sizeof(optval),
285 if (error)
287 error = ip6_mrouter_init(so, optval, sopt->sopt_name);
290 error = ip6_mrouter_done();
293 error = sooptcopyin(sopt, &mifc, sizeof(mifc), sizeof(mifc));
294 if (error)
296 error = add_m6if(&mifc);
299 error = sooptcopyin(sopt, &mfcc, sizeof(mfcc), sizeof(mfcc));
300 if (error)
302 error = add_m6fc(&mfcc);
305 error = sooptcopyin(sopt, &mfcc, sizeof(mfcc), sizeof(mfcc));
306 if (error)
308 error = del_m6fc(&mfcc);
311 error = sooptcopyin(sopt, &mifi, sizeof(mifi), sizeof(mifi));
312 if (error)
314 error = del_m6if(&mifi);
317 error = sooptcopyin(sopt, &optval, sizeof(optval),
319 if (error)
321 error = set_pim6(&optval);
324 error = EOPNOTSUPP;
328 return (error);
339 int error = 0;
345 error = sooptcopyout(sopt, &pim6, sizeof(pim6));
348 return (error);
359 int error = 0;
372 return error;
593 int error;
623 error = if_allmulti(ifp, 1);
624 if (error)
625 return error;
1450 int error = 0;
1484 error = ip6_output(mb_copy, NULL, &ro,
1491 mifp - mif6table, error);
1528 error = dlil_output(ifp, PF_INET6, mb_copy,
1532 error = (*ifp->if_output)(ifp, mb_copy,
1539 mifp - mif6table, error);