Searched refs:ipgen (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/netinet/ |
| H A D | tcp_debug.c | 99 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, in tcp_trace() argument 115 isipv6 = (ipgen != NULL && ((struct ip *)ipgen)->ip_v == 6) ? 1 : 0; in tcp_trace() 130 if (ipgen != NULL) { in tcp_trace() 134 bcopy(ipgen, &td->td_ti.ti_i, sizeof(td->td_ti.ti_i)); in tcp_trace() 139 bcopy(ipgen, td->td_ip6buf, sizeof(td->td_ip6buf)); in tcp_trace() 172 if (ipgen == NULL || th == NULL) in tcp_trace() 178 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) : in tcp_trace() 180 ntohs(((struct ip *)ipgen)->ip_len); in tcp_trace()
|
| H A D | tcp_subr.c | 1396 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, in tcp_respond() argument 1416 isipv6 = ((struct ip *)ipgen)->ip_v == (IPV6_VERSION >> 4); in tcp_respond() 1417 ip6 = ipgen; in tcp_respond() 1419 ip = ipgen; in tcp_respond() 1505 m->m_data = (caddr_t)ipgen; in tcp_respond()
|