Searched refs:ipgen (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/sys/netinet/
H A Dtcp_debug.c97 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, argument
113 isipv6 = (ipgen != NULL && ((struct ip *)ipgen)->ip_v == 6) ? 1 : 0;
128 if (ipgen != NULL) {
132 bcopy(ipgen, &td->td_ti.ti_i, sizeof(td->td_ti.ti_i));
137 bcopy(ipgen, td->td_ip6buf, sizeof(td->td_ip6buf));
170 if (ipgen == NULL || th == NULL)
176 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) :
178 ntohs(((struct ip *)ipgen)->ip_len);
H A Dtcp_subr.c556 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, argument
575 isipv6 = ((struct ip *)ipgen)->ip_v == (IPV6_VERSION >> 4);
576 ip6 = ipgen;
578 ip = ipgen;
664 m->m_data = (caddr_t)ipgen;

Completed in 67 milliseconds