HomeSort by relevance Sort by last modified time
    Searched defs:mss (Results 51 - 63 of 63) sorted by null

1 23

  /prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/netfilter_ipv4/
ipt_TCPMSS.h 16 u_int16_t mss; member in struct:ipt_tcpmss_info
  /external/libppp/src/
tcpmss.c 70 * We are in a liberal position about MSS
103 u_int16_t *mss; local
112 /* MSS option only allowed within SYN packets. */
129 mss = (u_int16_t *)(opt + 2);
130 if (ntohs(*mss) > maxmss) {
131 log_Printf(LogDEBUG, "MSS: %u -> %u\n",
132 ntohs(*mss), maxmss);
133 accumulate = *mss;
134 *mss = htons(maxmss);
135 accumulate -= *mss;
    [all...]
  /external/iptables/extensions/
libxt_TCPMSS.c 18 struct xt_tcpmss_info mss; member in struct:mssinfo
25 " --set-mss value explicitly set MSS option to specified value\n"
26 " --clamp-mss-to-pmtu automatically clamp MSS value to (path_MTU - %d)\n",
41 {.name = "set-mss", .id = O_SET_MSS, .type = XTTYPE_UINT16,
43 .flags = XTOPT_PUT, XTOPT_POINTER(struct xt_tcpmss_info, mss)},
44 {.name = "clamp-mss-to-pmtu", .id = O_CLAMP_MSS, .type = XTTYPE_NONE},
49 {.name = "set-mss", .id = O_SET_MSS, .type = XTTYPE_UINT16,
51 .flags = XTOPT_PUT, XTOPT_POINTER(struct xt_tcpmss_info, mss)},
    [all...]
  /external/qemu/slirp/
tcp_output.c 279 u_int16_t mss; local
283 mss = htons((u_int16_t) tcp_mss(tp, 0));
284 memcpy((caddr_t)(opt + 2), (caddr_t)&mss, sizeof(mss));
357 * are big enough to hold one MSS packet + header + ... etc.
socket.c 93 int mss = so->so_tcpcb->t_maxseg; local
111 if (iov[0].iov_len > mss)
112 iov[0].iov_len -= iov[0].iov_len%mss;
125 if (total > mss) {
126 lss = total%mss;
138 if (iov[0].iov_len > mss)
139 iov[0].iov_len -= iov[0].iov_len%mss;
tcp_input.c 1500 u_int16_t mss; local
1700 int mss; local
    [all...]
  /external/qemu/slirp-android/
tcp_output.c 279 u_int16_t mss; local
283 mss = htons((u_int16_t) tcp_mss(tp, 0));
284 memcpy((caddr_t)(opt + 2), (caddr_t)&mss, sizeof(mss));
357 * are big enough to hold one MSS packet + header + ... etc.
socket.c 101 int mss = so->so_tcpcb->t_maxseg; local
119 if (iov[0].iov_len > mss)
120 iov[0].iov_len -= iov[0].iov_len%mss;
133 if (total > mss) {
134 lss = total%mss;
146 if (iov[0].iov_len > mss)
147 iov[0].iov_len -= iov[0].iov_len%mss;
tcp_input.c 1506 u_int16_t mss; local
1706 int mss; local
    [all...]
  /external/ppp/pppd/plugins/rp-pppoe/
common.c 240 * Clamps MSS option if TCP SYN flag is set.
320 /* Look for existing MSS option */
332 /* Something fishy about MSS option length. */
334 "Bogus length for MSS option (%u) from %u.%u.%u.%u",
359 /* Found existing MSS option? */
363 /* If MSS exists and it's low enough, do nothing */
365 unsigned mss = mssopt[2] * 256 + mssopt[3]; local
366 if (mss <= clampMss) {
373 /* No MSS option. Don't add one; we'll have to use 536. */
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
MulticastSocketTest.java 164 MulticastSocket mss = new MulticastSocket(groupPort); local
166 assertTrue(mss.getInterface().isAnyLocalAddress());
173 mss.setInterface(firstAddress);
174 assertEquals("getNetworkInterface did not return interface set by setInterface", firstAddress, mss.getInterface());
177 mss = new MulticastSocket(groupPort);
178 mss.setNetworkInterface(networkInterface1);
179 assertEquals("getInterface did not return interface set by setNetworkInterface", networkInterface1, NetworkInterface.getByInetAddress(mss.getInterface()));
182 mss.close();
189 MulticastSocket mss = new MulticastSocket(groupPort); local
190 NetworkInterface theInterface = mss.getNetworkInterface()
230 MulticastSocket mss = new MulticastSocket(); local
238 MulticastSocket mss = new MulticastSocket(); local
259 MulticastSocket mss = new MulticastSocket(ports[1]); local
270 MulticastSocket mss = new MulticastSocket(0); local
280 MulticastSocket mss = new MulticastSocket(0); local
290 MulticastSocket mss = new MulticastSocket(0); local
315 MulticastSocket mss = new MulticastSocket(groupPort); local
424 MulticastSocket mss = new MulticastSocket(groupPort); local
456 MulticastSocket mss = new MulticastSocket(groupPort); local
481 MulticastSocket mss = new MulticastSocket(ports[1]); local
494 MulticastSocket mss = new MulticastSocket(0); local
504 MulticastSocket mss = new MulticastSocket(0); local
514 MulticastSocket mss = new MulticastSocket(0); local
541 MulticastSocket mss = new MulticastSocket(groupPort); local
583 MulticastSocket mss = new MulticastSocket(ports[1]); local
598 MulticastSocket mss = new MulticastSocket(); local
622 MulticastSocket mss = new MulticastSocket(); local
633 MulticastSocket mss = new MulticastSocket(); local
644 MulticastSocket mss = new MulticastSocket(); local
678 MulticastSocket mss = new MulticastSocket(groupPort); local
696 MulticastSocket mss = new MulticastSocket(); local
705 MulticastSocket mss = new MulticastSocket(); local
    [all...]
  /external/iptables/include/linux/netfilter/
xt_osf.h 49 * Wildcard MSS (kind of).
51 * of the MSS and window sizes.
71 __u16 ss, mss; member in struct:xt_osf_user_finger
108 * Initial window size option state machine: multiple of mss, mtu or
  /external/iproute2/ip/
iproute.c 803 unsigned mss; local
809 if (get_unsigned(&mss, *argv, 0))
810 invarg("\"mss\" value is invalid\n", *argv);
811 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_ADVMSS, mss);
    [all...]

Completed in 341 milliseconds

1 23