Lines Matching defs:pip
1377 ip_t *pip;
1390 pip = (ip_t *)tbuf;
1397 for (s = (u_char *)pip, j = 0; j < sizeof(tbuf); j++, s++)
1399 IP_V_A(pip, IPVERSION);
1400 bcopy((char *)&ip->ip_dst, (char *)&pip->ip_dst,
1402 pip->ip_sum = 0;
1403 pip->ip_len &= 0xff;
1404 (void) send_ip(nfd, mtu, pip, gwip, 0);
1412 for (s = (u_char *)pip, j = 0; j < sizeof(tbuf); j++, s++)
1414 IP_V_A(pip, IPVERSION);
1415 pip->ip_off &= htons(0xc000);
1416 bcopy((char *)&ip->ip_dst, (char *)&pip->ip_dst,
1418 pip->ip_sum = 0;
1419 pip->ip_len &= 0xff;
1420 (void) send_ip(nfd, mtu, pip, gwip, 0);