Searched refs:optp (Results 1 – 2 of 2) sorted by relevance
1434 tcp_addoptions(struct tcpopt *to, uint8_t *optp) in tcp_addoptions() argument1447 *optp++ = TCPOPT_NOP; in tcp_addoptions()1452 *optp++ = TCPOPT_MAXSEG; in tcp_addoptions()1453 *optp++ = TCPOLEN_MAXSEG; in tcp_addoptions()1455 bcopy((uint8_t *)&to->to_mss, optp, sizeof(to->to_mss)); in tcp_addoptions()1456 optp += sizeof(to->to_mss); in tcp_addoptions()1461 *optp++ = TCPOPT_NOP; in tcp_addoptions()1466 *optp++ = TCPOPT_WINDOW; in tcp_addoptions()1467 *optp++ = TCPOLEN_WINDOW; in tcp_addoptions()1468 *optp++ = to->to_wscale; in tcp_addoptions()[all …]
467 uint8_t* optp = NULL; in tcp_input() local509 optp = (uint8_t *)(th + 1); in tcp_input()783 tcp_dooptions(&to, optp, optlen, TO_SYN); in tcp_input()