HomeSort by: relevance | last modified time | path
    Searched defs:mss (Results 1 - 21 of 21) sorted by relevancy

  /src/external/ibm-public/postfix/dist/src/util/
vstream_tweak.c 96 int mss = 0; local
97 SOCKOPT_SIZE mss_len = sizeof(mss);
101 * Avoid Nagle delays when VSTREAM buffers are smaller than the MSS.
104 * common case where VSTREAM buffers are larger than the MSS.
106 * Instead we ask the kernel what the current MSS is, and take appropriate
112 * leaving the mss parameter value unchanged. To work around these two
113 * getsockopt() bugs we set mss = 0, which is a harmless value.
116 (void *) &mss, &mss_len)) < 0
122 msg_info("%s: TCP_MAXSEG %d", myname, mss);
126 * it is smaller than the MSS. Note: the MSS may change when the rout
    [all...]
  /src/sys/netinet6/
in6_offload.c 48 * size MSS, and return mbuf chain consists of them.
53 int mss; local
98 mss = m->m_pkthdr.segsz;
99 KASSERT(mss != 0);
109 KASSERT(len % mss == 0);
112 iph->ip6_plen = htons(thlen + mss);
113 phsum = in6_cksum_phdr(&iph->ip6_src, &iph->ip6_dst, htonl(thlen + mss),
116 for (nsegs = len / mss; nsegs > 0; nsegs--) {
126 t = m_split(m, mss, M_NOWAIT);
144 n->m_pkthdr.len = hlen + mss;
    [all...]
  /src/sys/net/npf/
npf_ext_normalize.c 79 /* Minimum IP TTL and maximum TCP MSS. */
81 np->n_maxmss = dnvlist_get_number(params, "max-mss", 0);
148 uint16_t cksum, mss, maxmss = np->n_maxmss; local
166 * TCP Maximum Segment Size (MSS) "clamping". Only if SYN packet.
167 * Fetch MSS and check whether rewrite to lower is needed.
174 mss = 0;
175 if (!npf_fetch_tcpopts(npc, &mss, &wscale)) {
178 if (ntohs(mss) <= maxmss) {
185 * Store new MSS, calculate TCP checksum and update it. The MSS ma
    [all...]
  /src/sys/netinet/
in_offload.c 46 * size MSS, and return mbuf chain consists of them.
51 int mss; local
96 mss = m->m_pkthdr.segsz;
97 KASSERT(mss != 0);
107 KASSERT(len % mss == 0);
110 ip->ip_len = htons(iphlen + thlen + mss);
112 htons((uint16_t)(thlen + mss) + IPPROTO_TCP));
114 for (nsegs = len / mss; nsegs > 0; nsegs--) {
124 t = m_split(m, mss, M_NOWAIT);
142 n->m_pkthdr.len = hlen + mss;
    [all...]
tcp_input.c 3089 u_int16_t mss; local
3122 memcpy(&mss, cp + 2, sizeof(mss));
3123 oi->maxseg = ntohs(mss);
tcp_subr.c 1654 * Compute the MSS to advertise to the peer. Called only during
1662 * header size from MSS advertisement. MSS option must hold the maximum
1670 u_long mss = 0; local
1675 * we advertise the max MTU of all attached networks as our MSS,
1685 * MSS, as the loopback MTU is never included in in_maxmtu.
1694 mss = ifp->if_mtu;
1704 mss = uimax(in_maxmtu, mss);
1722 if (mss > hdrsiz
1747 int mss; local
    [all...]
  /src/sys/kern/
uipc_mbufdebug.c 891 uint16_t mss; local
893 bcopy(op + 2, &mss, sizeof(mss));
894 (*pr)("TCP: OPTION: MSS = %d\n",
895 ntohs(mss));
  /src/dist/pf/sbin/pfctl/
pfctl_osfp.c 97 int window, w_mod, ttl, df, psize, p_mod, mss, mss_mod, wscale, local
146 #define T_MSS 0x02 /* Allow MSS multiple */
168 &optcnt, &mss, &mss_mod, &wscale, &wscale_mod, &ts0))
224 fp.fp_mss = mss;
895 pf_tcpopts_t *packed, int *optcnt, int *mss, int *mss_mod, int *wscale,
904 *mss = 0;
926 this = mss;
  /src/external/bsd/openldap/dist/servers/slapd/back-ldap/
monitor.c 953 monitor_subsys_t *mss = li->li_monitor_info.lmi_mss; local
1004 mss->mss_name = "back-ldap connections";
1005 mss->mss_flags = MONITOR_F_VOLATILE_CH;
1006 mss->mss_open = ldap_back_monitor_conn_init;
1007 mss->mss_private = li;
1009 if ( mbe->register_subsys_late( mss ) )
1017 mss++;
1019 mss->mss_name = "back-ldap operations";
1020 mss->mss_flags = MONITOR_F_PERSISTENT_CH;
1021 mss->mss_open = ldap_back_monitor_ops_init
    [all...]
  /src/sys/dev/
smbiosvar.h 61 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
  /src/sys/dist/pf/net/
pf_norm.c 1881 u_int16_t *mss; local
1906 mss = (u_int16_t *)(optp + 2);
1907 if ((ntohs(*mss)) > r->max_mss) {
1909 *mss, htons(r->max_mss), 0);
1910 *mss = htons(r->max_mss);
pf.c 1653 u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag,
1672 if (mss)
1781 if (mss) {
1785 HTONS(mss);
1786 bcopy((void *)&mss, (void *)(opt + 2), 2);
2910 u_int16_t mss = tcp_mssdflt; local
2927 bcopy((void *)(opt + 2), (void *)&mss, 2);
2928 NTOHS(mss);
2939 return (mss);
2954 u_int16_t mss = tcp_mssdflt local
3089 u_int16_t mss = tcp_mssdflt; local
    [all...]
pfvar.h 460 u_int16_t fp_mss; /* TCP MSS */
464 #define PF_OSFP_WSIZE_MSS 0x0004 /* Window multiple of MSS */
471 #define PF_OSFP_MSS 0x0200 /* TCP MSS */
472 #define PF_OSFP_MSS_MOD 0x0400 /* TCP MSS modulus */
473 #define PF_OSFP_MSS_DC 0x0800 /* TCP MSS dont-care */
500 u_int16_t fp_mss; /* TCP MSS */
699 u_int16_t mss; /* Maximum segment size option */ member in struct:pf_state_peer
801 u_int16_t mss; /* Maximum segment size option */ member in struct:pfsync_state_peer
845 (d)->mss = (s)->mss; \
    [all...]
  /src/sys/stand/efiboot/
smbios.h 56 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
  /src/external/bsd/openldap/dist/servers/lloadd/
monitor.c 1054 monitor_subsys_t *mss; local
1059 mss = ch_calloc( 1, sizeof(monitor_subsys_t) );
1060 mss->mss_rdn.bv_len = sizeof("cn=") + tier->t_name.bv_len;
1061 mss->mss_rdn.bv_val = ch_malloc( mss->mss_rdn.bv_len );
1062 mss->mss_rdn.bv_len = snprintf( mss->mss_rdn.bv_val, mss->mss_rdn.bv_len,
1065 ber_str2bv( LLOAD_MONITOR_TIERS_DN, 0, 0, &mss->mss_dn );
1066 mss->mss_name = tier->t_name.bv_val
1272 monitor_subsys_t *mss; local
    [all...]
  /src/sys/dev/pci/cxgb/
cxgb_adapter.h 173 uint16_t mss; member in struct:t3_lro_session
cxgb_t3_cpl.h 204 __be16 mss; member in struct:tcp_options
  /src/sys/dev/pci/
if_ena.c 2673 u32 mss; local
2685 u32 mss = mbuf->m_pkthdr.tso_segsz;
2687 if (mss != 0)
2690 mss = mbuf->m_pkthdr.len; /* XXX don't have tso_segsz */
2758 ena_meta->mss = mss;
if_bge.c 5233 unsigned mss; local
5331 mss = m_head->m_pkthdr.segsz;
5360 maxsegsize = mss | tcp_seg_flags;
5361 ip->ip_len = htons(mss + ip_tcp_hlen);
  /src/sys/external/bsd/ena-com/
ena_com.h 130 u16 mss; member in struct:ena_com_tx_meta
  /src/sys/external/bsd/ipf/netinet/
ip_nat.c 5718 /* that is not strictly 'address' translation, such as clamping the MSS in */
5745 * Do a MSS CLAMPING on a SYN packet,
6393 /* maxmss(I) - value to clamp the TCP MSS to */
6397 /* Check for MSS option and clamp it if necessary. If found and changed, */
6399 /* the MSS. */
6406 u_32_t mss, sumd; local
6432 mss = cp[2] * 256 + cp[3];
6433 if (mss > maxmss) {
6436 CALC_SUMD(mss, maxmss, sumd);

Completed in 66 milliseconds