Home
last modified time | relevance | path

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

/xnu-8020.101.4/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.c735 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, in tcp_respond() argument
753 isipv6 = IP_VHL_V(((struct ip *)ipgen)->ip_vhl) == 6; in tcp_respond()
754 ip6 = ipgen; in tcp_respond()
755 ip = ipgen; in tcp_respond()
812 m->m_data = (caddr_t)ipgen; in tcp_respond()