Lines Matching refs:ipc
992 ip_t *ipc, *ip; local
1181 ipc = &ic->icmp_ip;
1182 i = ntohs(ipc->ip_len);
1188 i = ipc->ip_len;
1189 ipoff = ntohs(ipc->ip_off);
1190 proto = getproto(ipc->ip_p);
1193 ((ipc->ip_p == IPPROTO_TCP) ||
1194 (ipc->ip_p == IPPROTO_UDP))) {
1195 tp = (tcphdr_t *)((char *)ipc + hl);
1198 HOSTNAME_V4(res, ipc->ip_src),
1203 HOSTNAME_V4(res, ipc->ip_dst),
1206 proto, IP_HL(ipc) << 2, i);
1208 (ipc->ip_p == IPPROTO_ICMP)) {
1209 icmp = (icmphdr_t *)((char *)ipc + hl);
1213 HOSTNAME_V4(res, ipc->ip_src));
1217 HOSTNAME_V4(res, ipc->ip_dst),
1218 IP_HL(ipc) << 2, i,
1223 HOSTNAME_V4(res, ipc->ip_src));
1226 HOSTNAME_V4(res, ipc->ip_dst), proto,
1227 IP_HL(ipc) << 2, i);
1232 ntohs(ipc->ip_id),
1233 i - (IP_HL(ipc) << 2),