Lines Matching refs:ipc
988 ip_t *ipc, *ip;
1177 ipc = &ic->icmp_ip;
1178 i = ntohs(ipc->ip_len);
1184 i = ipc->ip_len;
1185 ipoff = ntohs(ipc->ip_off);
1186 proto = getproto(ipc->ip_p);
1189 ((ipc->ip_p == IPPROTO_TCP) ||
1190 (ipc->ip_p == IPPROTO_UDP))) {
1191 tp = (tcphdr_t *)((char *)ipc + hl);
1194 HOSTNAME_V4(res, ipc->ip_src),
1199 HOSTNAME_V4(res, ipc->ip_dst),
1202 proto, IP_HL(ipc) << 2, i);
1204 (ipc->ip_p == IPPROTO_ICMP)) {
1205 icmp = (icmphdr_t *)((char *)ipc + hl);
1209 HOSTNAME_V4(res, ipc->ip_src));
1213 HOSTNAME_V4(res, ipc->ip_dst),
1214 IP_HL(ipc) << 2, i,
1219 HOSTNAME_V4(res, ipc->ip_src));
1222 HOSTNAME_V4(res, ipc->ip_dst), proto,
1223 IP_HL(ipc) << 2, i);
1228 ntohs(ipc->ip_id),
1229 i - (IP_HL(ipc) << 2),