/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...] |
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...] |
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/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_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_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...] |
/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...] |
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...] |
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_input.c | 3089 u_int16_t mss; local in function:tcp_dooptions 3122 memcpy(&mss, cp + 2, sizeof(mss)); 3123 oi->maxseg = ntohs(mss);
|
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);
|
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);
|
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...] |
/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));
|
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));
|
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/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;
|
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;
|
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
|
smbiosvar.h | 61 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
|
/src/sys/stand/efiboot/ |
smbios.h | 56 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
|
smbios.h | 56 uint16_t mss; /* Maximum Structure Size */ member in struct:smbhdr
|
/src/sys/dist/pf/net/ |
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);
|
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);
|