Searched refs:ipgen (Results 1 – 2 of 2) sorted by relevance
/dragonfly/sys/netinet/ |
H A D | tcp_debug.c | 76 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, in tcp_trace() argument 87 isipv6 = (ipgen != NULL && ((struct ip *)ipgen)->ip_v == 6) ? 1 : 0; in tcp_trace() 104 if (ipgen) { in tcp_trace() 107 bcopy(ipgen, &td->td_ti.ti_i, sizeof(td->td_ti.ti_i)); in tcp_trace() 112 bcopy(ipgen, td->td_ip6buf, sizeof td->td_ip6buf); in tcp_trace() 159 if (ipgen == NULL || th == NULL) in tcp_trace() 165 isipv6 ? ((struct ip6_hdr *)ipgen)->ip6_plen : in tcp_trace() 167 ntohs(((struct ip *)ipgen)->ip_len); in tcp_trace()
|
H A D | tcp_subr.c | 556 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, in tcp_respond() argument 563 struct ip *ip = ipgen; in tcp_respond() 568 struct ip6_hdr *ip6 = ipgen; in tcp_respond() 627 m->m_data = (caddr_t)ipgen; in tcp_respond()
|