Lines Matching refs:ipc
1026 ip_t *ipc, *ip; in print_ipflog() local
1241 ipc = &ic->icmp_ip; in print_ipflog()
1242 i = ntohs(ipc->ip_len); in print_ipflog()
1248 i = ipc->ip_len; in print_ipflog()
1249 ipoff = ntohs(ipc->ip_off); in print_ipflog()
1250 proto = getlocalproto(ipc->ip_p); in print_ipflog()
1253 ((ipc->ip_p == IPPROTO_TCP) || in print_ipflog()
1254 (ipc->ip_p == IPPROTO_UDP))) { in print_ipflog()
1255 tp = (tcphdr_t *)((char *)ipc + hl); in print_ipflog()
1258 HOSTNAMEV4(ipc->ip_src), in print_ipflog()
1263 HOSTNAMEV4(ipc->ip_dst), in print_ipflog()
1266 proto, IP_HL(ipc) << 2, i); in print_ipflog()
1268 (ipc->ip_p == IPPROTO_ICMP)) { in print_ipflog()
1269 icmp = (icmphdr_t *)((char *)ipc + hl); in print_ipflog()
1273 HOSTNAMEV4(ipc->ip_src)); in print_ipflog()
1277 HOSTNAMEV4(ipc->ip_dst), in print_ipflog()
1278 IP_HL(ipc) << 2, i, in print_ipflog()
1283 HOSTNAMEV4(ipc->ip_src)); in print_ipflog()
1286 HOSTNAMEV4(ipc->ip_dst), proto, in print_ipflog()
1287 IP_HL(ipc) << 2, i); in print_ipflog()
1291 ntohs(ipc->ip_id), in print_ipflog()
1292 i - (IP_HL(ipc) << 2), in print_ipflog()