Lines Matching refs:ic
304 struct icmp *ic;
308 ic = (struct icmp *)ip_next(pip);
311 lnk = FindIcmpIn(la, pip->ip_src, pip->ip_dst, ic->icmp_id, 1);
319 accumulate = ic->icmp_id;
321 ADJUST_CHECKSUM(accumulate, ic->icmp_cksum);
324 ic->icmp_id = original_id;
350 struct icmp *ic, *ic2;
357 ic = (struct icmp *)ip_next(pip);
358 ip = &ic->icmp_ip;
398 ADJUST_CHECKSUM(accumulate2, ic->icmp_cksum);
426 ADJUST_CHECKSUM(accumulate2, ic->icmp_cksum);
448 struct icmp *ic;
455 ic = (struct icmp *)ip_next(pip);
458 switch (ic->icmp_type) {
461 if (ic->icmp_code == 0) {
488 struct icmp *ic;
491 ic = (struct icmp *)ip_next(pip);
494 lnk = FindIcmpOut(la, pip->ip_src, pip->ip_dst, ic->icmp_id, create);
502 accumulate = ic->icmp_id;
504 ADJUST_CHECKSUM(accumulate, ic->icmp_cksum);
507 ic->icmp_id = alias_id;
533 struct icmp *ic, *ic2;
539 ic = (struct icmp *)ip_next(pip);
540 ip = &ic->icmp_ip;
576 ADJUST_CHECKSUM(accumulate, ic->icmp_cksum);
604 ADJUST_CHECKSUM(accumulate, ic->icmp_cksum);
630 struct icmp *ic;
639 ic = (struct icmp *)ip_next(pip);
642 switch (ic->icmp_type) {
645 if (ic->icmp_code == 0) {
1476 struct icmp *ic;
1492 ic = (struct icmp *)ip_next(pip);
1504 lnk = FindIcmpIn(la, pip->ip_dst, pip->ip_src, ic->icmp_id, 0);
1557 accumulate += ic->icmp_id;
1559 ADJUST_CHECKSUM(accumulate, ic->icmp_cksum);
1567 ic->icmp_id = original_id;