Lines Matching defs:niph
1263 struct ip *oiph, *niph;
1589 niph = (struct ip *)(nmp->b_rptr + ehlen);
1590 niph->ip_len = htons(mss + iphlen + tcphlen);
1591 ip_id = ntohs(niph->ip_id);
1607 niph->ip_sum = 0;
1608 niph->ip_sum = (uint16_t)nxge_csgen((uint16_t *)niph, iphlen);
1628 niph->ip_sum,
1631 nxge_dump_packet((char *)niph, 52)));
1639 niph = (struct ip *)(nmp->b_rptr + ehlen);
1640 niph->ip_id = htons(++ip_id);
1641 niph->ip_len = htons(mss + iphlen + tcphlen);
1658 niph->ip_sum = 0;
1659 niph->ip_sum = (uint16_t)nxge_csgen((uint16_t *)niph, iphlen);
1667 niph->ip_sum,
1680 niph = (struct ip *)(nmp->b_rptr + ehlen);
1681 niph->ip_id = htons(++ip_id);
1682 niph->ip_len = htons(msgsize(nmp->b_cont) + iphlen + tcphlen);
1698 niph->ip_sum = 0;
1699 niph->ip_sum = (uint16_t)nxge_csgen((uint16_t *)niph, iphlen);
1701 l4_len = ntohs(niph->ip_len) - iphlen;
1708 "niph->ip_sum 0x%x "
1714 niph->ip_sum,
1716 nxge_dump_packet((char *)niph, 52),