Lines Matching refs:pip
115 fingerprint(struct libalias *la, struct ip *pip, struct alias_data *ah)
120 NOREF(pip);
132 protohandler(struct libalias *la, struct ip *pip, struct alias_data *ah)
135 AliasHandleFtpOut(la, pip, ah->lnk, ah->maxpktsize);
250 struct ip *pip, /* IP packet to examine/patch */
261 tc = (struct tcphdr *)ip_next(pip);
262 hlen = (pip->ip_hl + tc->th_off) << 2;
263 tlen = ntohs(pip->ip_len);
267 sptr = (char *)pip;
294 la->true_addr.s_addr = pip->ip_src.s_addr;
299 NewFtpMessage(la, pip, lnk, maxpacketsize, ftp_message_type);
304 sptr = (char *)pip; /* start over at beginning */
305 tlen = ntohs(pip->ip_len); /* recalc tlen, pkt may
624 NewFtpMessage(struct libalias *la, struct ip *pip,
632 if (pip->ip_src.s_addr != la->true_addr.s_addr)
652 tc = (struct tcphdr *)ip_next(pip);
653 hlen = (pip->ip_hl + tc->th_off) << 2;
654 tlen = ntohs(pip->ip_len);
733 sptr = (char *)pip;
743 delta = GetDeltaSeqOut(pip, lnk);
744 AddSeq(pip, lnk, delta + slen - dlen);
752 DifferentialChecksum(&pip->ip_sum,
754 &pip->ip_len,
756 pip->ip_len = new_len;
764 tc->th_sum = TcpChecksum(pip);