Lines Matching defs:pIp
78 fingerprint(struct libalias *la, struct ip *pIp, struct alias_data *ah)
82 NOREF(pIp);
98 static void doanswer(union dnsmsg_header *pHdr, struct dns_meta_data *pReqMeta, char *pszQname, struct ip *pIp, struct hostent *pHostent)
124 packet_len = (pIp->ip_hl << 2)
189 pIp->ip_len = htons(packet_len);
194 protohandler(struct libalias *la, struct ip *pIp, struct alias_data *ah)
208 udp = (struct udphdr *)ip_next(pIp);
254 doanswer(pHdr, meta, qw_qname, pIp, pHostent);
262 udp->uh_ulen = ntohs(htons(pIp->ip_len) - (pIp->ip_hl << 2));
263 pIp->ip_sum = 0;
264 pIp->ip_sum = LibAliasInternetChecksum(la, (uint16_t *)pIp, pIp->ip_hl << 2);