Lines Matching defs:ic

2381 	register struct info_control *ic;
2383 ic = (struct info_control *)prepare_pkt(srcadr, inter, inpkt,
2386 ic->ctltimereset = htonl((u_int32)(current_time - ctltimereset));
2387 ic->numctlreq = htonl((u_int32)numctlreq);
2388 ic->numctlbadpkts = htonl((u_int32)numctlbadpkts);
2389 ic->numctlresponses = htonl((u_int32)numctlresponses);
2390 ic->numctlfrags = htonl((u_int32)numctlfrags);
2391 ic->numctlerrors = htonl((u_int32)numctlerrors);
2392 ic->numctltooshort = htonl((u_int32)numctltooshort);
2393 ic->numctlinputresp = htonl((u_int32)numctlinputresp);
2394 ic->numctlinputfrag = htonl((u_int32)numctlinputfrag);
2395 ic->numctlinputerr = htonl((u_int32)numctlinputerr);
2396 ic->numctlbadoffset = htonl((u_int32)numctlbadoffset);
2397 ic->numctlbadversion = htonl((u_int32)numctlbadversion);
2398 ic->numctldatatooshort = htonl((u_int32)numctldatatooshort);
2399 ic->numctlbadop = htonl((u_int32)numctlbadop);
2400 ic->numasyncmsgs = htonl((u_int32)numasyncmsgs);
2473 register struct info_clock *ic;
2489 ic = (struct info_clock *)prepare_pkt(srcadr, inter, inpkt,
2492 while (items-- > 0 && ic) {
2504 ic->clockadr = NSRCADR(&addr);
2505 ic->type = clock_stat.type;
2506 ic->flags = clock_stat.flags;
2507 ic->lastevent = clock_stat.lastevent;
2508 ic->currentstatus = clock_stat.currentstatus;
2509 ic->polls = htonl((u_int32)clock_stat.polls);
2510 ic->noresponse = htonl((u_int32)clock_stat.noresponse);
2511 ic->badformat = htonl((u_int32)clock_stat.badformat);
2512 ic->baddata = htonl((u_int32)clock_stat.baddata);
2513 ic->timestarted = htonl((u_int32)clock_stat.timereset);
2515 HTONL_FP(&ltmp, &ic->fudgetime1);
2517 HTONL_FP(&ltmp, &ic->fudgetime2);
2518 ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1);
2519 ic->fudgeval2 = htonl(clock_stat.fudgeval2);
2523 ic = (struct info_clock *)more_pkt();
2613 register struct info_clkbug *ic;
2628 ic = (struct info_clkbug *)prepare_pkt(srcadr, inter, inpkt,
2631 while (items-- > 0 && ic) {
2646 ic->clockadr = NSRCADR(&addr);
2650 ic->nvalues = (u_char)i;
2651 ic->svalues = htons((u_short) (bug.svalues & ((1<<i)-1)));
2653 ic->values[i] = htonl(bug.values[i]);
2658 ic->ntimes = (u_char)i;
2659 ic->stimes = htonl(bug.stimes);
2661 HTONL_FP(&bug.times[i], &ic->times[i]);
2664 ic = (struct info_clkbug *)more_pkt();