Lines Matching defs:up
171 /* Round up the value to the nearest mss. */
225 * ASSUMED to be rounded up to the nearest MSS before the calculation.
226 * We cannot find the scale value and then do a round up of tcp_rwnd
595 /* The other side has closed the connection, report this up. */
694 /* Free up all TCP related stuff */
1291 * instead. The kernel usually ends up
1346 * large, and round up to the nearest
1349 * We do the round up here because
1352 * round up.
1456 * Free up the acceptor template and allocate one
1537 * window size changed via SO_RCVBUF option. First round up the
1980 /* MSS may have changed, do a round up again. */
2026 uchar_t *up = (uchar_t *)tcph;
2032 endp = up + TCP_HDR_LENGTH(tcph);
2033 up += TCP_MIN_HEADER_LENGTH;
2034 while (up < endp) {
2035 len = endp - up;
2036 switch (*up) {
2041 up++;
2046 up[1] != TCPOPT_MAXSEG_LEN)
2049 mss = BE16_TO_U16(up+2);
2054 up += TCPOPT_MAXSEG_LEN;
2058 if (len < TCPOPT_WS_LEN || up[1] != TCPOPT_WS_LEN)
2061 if (up[2] > TCP_MAX_WINSHIFT)
2064 tcpopt->tcp_opt_wscale = up[2];
2067 up += TCPOPT_WS_LEN;
2072 up[1] != TCPOPT_SACK_OK_LEN)
2075 up += TCPOPT_SACK_OK_LEN;
2079 if (len <= 2 || up[1] <= 2 || len < up[1])
2084 up += up[1];
2087 sack_len = up[1] - TCPOPT_HEADER_LEN;
2088 up += TCPOPT_HEADER_LEN;
2107 up += sack_len;
2114 if (up + 8 > endp) {
2115 up = endp;
2118 sack_begin = BE32_TO_U32(up);
2119 up += 4;
2120 sack_end = BE32_TO_U32(up);
2121 up += 4;
2148 up[1] != TCPOPT_TSTAMP_LEN)
2151 tcpopt->tcp_opt_ts_val = BE32_TO_U32(up+2);
2152 tcpopt->tcp_opt_ts_ecr = BE32_TO_U32(up+6);
2156 up += TCPOPT_TSTAMP_LEN;
2160 if (len <= 1 || len < (int)up[1] || up[1] == 0)
2162 up += up[1];
2224 * This function sets up the correct tcp_mss value according to the
2225 * MSS option value and our header size. It also sets up the window scale
2349 * by tcp_adapt_ire(). tcp_mss_set() will also set up the
2368 uint8_t *up;
2378 OK_32PTR((up = ((uint8_t *)tcph) +
2380 *(uint32_t *)up == TCPOPT_NOP_NOP_TSTAMP) {
2381 tcpoptp->tcp_opt_ts_val = ABE32_TO_U32((up+4));
2382 tcpoptp->tcp_opt_ts_ecr = ABE32_TO_U32((up+8));
3547 * paper "Improving the Start-up Behavior
4002 * the FIN to arrive. If it doesn't show up,
5662 /* Set up the TCP flag field. */
5714 * non-NULL, then up to max_to_send bytes of data will be dup'ed off that
5926 * Set up all the bits to tell other side
6149 * IP will not pass up a packet with a broadcast dest address
6735 * Send up all messages queued on tcp_rcv_list.