| /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/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_subr.c | 1655 * Compute the MSS to advertise to the peer. Called only during 1663 * header size from MSS advertisement. MSS option must hold the maximum 1671 u_long mss = 0; local 1676 * we advertise the max MTU of all attached networks as our MSS, 1686 * MSS, as the loopback MTU is never included in in_maxmtu. 1695 mss = ifp->if_mtu; 1705 mss = uimax(in_maxmtu, mss); 1723 if (mss > hdrsiz 1748 int mss; local [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...] |
| npf_inet.c | 277 npf_fetch_tcpopts(npf_cache_t *npc, uint16_t *mss, int *wscale) 324 if (mss) { 325 memcpy(mss, cp + 2, sizeof(uint16_t)); 348 * npf_set_mss: set the MSS. 351 npf_set_mss(npf_cache_t *npc, uint16_t mss, uint16_t *old, uint16_t *new, 402 memcpy(cp + 2, &mss, sizeof(uint16_t)); 407 memcpy(cp + 2, &mss, sizeof(uint16_t));
|
| /src/sys/dev/ic/ |
| ndisreg.h | 407 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \ 408 ((((uint32_t)(mss)) & NDIS_LSO2_INFO_MSS_MASK) | \ 412 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \ 413 NDIS_LSO2_INFO_MAKE((thoff), (mss)) 415 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \ 416 (NDIS_LSO2_INFO_MAKE((thoff), (mss)) | NDIS_LSO2_INFO_ISIPV6)
|
| /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/dist/pf/net/ |
| if_pfsync.h | 205 (d)->mss = htons((s)->mss); \ 222 (d)->mss = ntohs((s)->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...] |
| 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);
|
| /src/usr.sbin/pf/pfs/ |
| token.l | 74 mss { return MSS;}
|
| pfs.c | 258 if (peer->mss != 0) 259 fprintf(f, " max_win %" PRIu16 " mss %" PRIu16 " wscale %" PRIu8, 260 peer->max_win, peer->mss, peer->wscale);
|
| parse.y | 86 %token SEQ MAX_WIN WSCALE MSS 230 | SEQ seqs MAX_WIN NUMBER WSCALE NUMBER MSS NUMBER { 240 yyfatal("mss is too big"); 241 current_peer.mss = $8;
|
| /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/external/bsd/openldap/dist/servers/slapd/back-monitor/ |
| proto-back-monitor.h | 203 monitor_subsys_t *mss, 209 monitor_subsys_t *mss,
|
| init.c | 466 monitor_subsys_t *mss, 546 if ( mss != NULL ) { 547 mp->mp_info = mss; 595 el.el_mss = mss; 621 monitor_subsys_t *mss, 737 if ( mss != NULL ) { 738 mp->mp_info = mss; 799 el.el_mss = mss;
|
| /src/sys/stand/efiboot/ |
| smbios.h | 56 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
|
| /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/sys/dev/ |
| smbiosvar.h | 61 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
|
| /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/sys/external/bsd/ena-com/ |
| ena_eth_com.c | 301 /* bits 0-9 of the mss */ 302 meta_desc->word2 |= (ena_meta->mss << 305 /* bits 10-13 of the mss */ 306 meta_desc->len_ctrl |= ((ena_meta->mss >> 10) <<
|
| ena_com.h | 130 u16 mss; member in struct:ena_com_tx_meta
|
| /src/external/bsd/unbound/dist/services/ |
| listen_dnsport.h | 295 * @param mss: maximum segment size of the socket. if zero, leaves the default. 304 int* reuseport, int transparent, int mss, int nodelay, int freebind,
|