/src/sys/netinet6/ |
in6_offload.c | 48 * size MSS, and return mbuf chain consists of them. 53 int mss; local in function:tcp6_segment 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 in function:tcp4_segment 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 | 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 in function:tcp_mss_to_advertise 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 in function:tcp_mss_from_peer [all...] |
tcp_input.c | 3089 u_int16_t mss; local in function:tcp_dooptions 3122 memcpy(&mss, cp + 2, sizeof(mss)); 3123 oi->maxseg = ntohs(mss);
|
/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 in function:npf_normalize 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/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 in function:pf_get_mss 2927 bcopy((void *)(opt + 2), (void *)&mss, 2); 2928 NTOHS(mss); 2939 return (mss); 2954 u_int16_t mss = tcp_mssdflt local in function:pf_calc_mss 3089 u_int16_t mss = tcp_mssdflt; local in function:pf_test_rule [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 in function:pf_normalize_tcpopt 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/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 in function:pfctl_file_fingerprints 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 in function:m_examine_tcp 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/sys/dev/pci/cxgb/ |
cxgb_adapter.h | 173 uint16_t mss; member in struct:t3_lro_session
|
/src/sys/dev/pci/ |
if_ena.c | 2673 u32 mss; local in function:ena_tx_csum 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;
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
qcom-msm8974-samsung-klte.dts | 841 mss-supply = <&pma8084_s6>;
|
qcom-sdx55.dtsi | 390 power-domain-names = "cx", "mss";
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/ |
sc7180-idp.dts | 371 compatible = "qcom,sc7180-mss-pil";
|