Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/netinet/
H A Dtcp_debug.c108 tcp_trace(act, ostate, tp, ipgen, th, req) in tcp_trace() argument
111 void *ipgen;
120 isipv6 = (ipgen != NULL && ((struct ip *)ipgen)->ip_v == 6) ? 1 : 0;
134 if (ipgen) {
137 bcopy((caddr_t)ipgen, (caddr_t)&td->td_ti.ti_i,
142 bcopy((caddr_t)ipgen, (caddr_t)td->td_ip6buf,
193 if (ipgen == NULL || th == NULL) {
198 len = isipv6 ? ((struct ip6_hdr *)ipgen)->ip6_plen : ((struct ip *)ipgen)->ip_len;
H A Dtcp_subr.c739 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, in tcp_respond() argument
757 isipv6 = IP_VHL_V(((struct ip *)ipgen)->ip_vhl) == 6; in tcp_respond()
758 ip6 = ipgen; in tcp_respond()
759 ip = ipgen; in tcp_respond()
816 m->m_data = (uintptr_t)ipgen; in tcp_respond()