Searched defs:optp (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dtcp_input.c294 caddr_t optp = NULL; local
429 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr);
441 && optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) &&
442 *(u_int32_t *)optp == RT_H2N_U32_C(TCPOPT_TSTAMP_HDR) &&
446 ts_val = RT_N2H_U32(*(u_int32_t *)(optp + 4));
447 ts_ecr = RT_N2H_U32(*(u_int32_t *)(optp + 8));
448 optp = NULL; / * we have parsed the options * /
595 if (optp && tp->t_state != TCPS_LISTEN)
596 tcp_dooptions(pData, tp, (u_char *)optp, optlen, ti);
850 if (optp)
[all...]

Completed in 33 milliseconds