Home
last modified time | relevance | path

Searched refs:mss (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dsyncookies.c50 const __u16 mss = *mssp; in cookie_v4_init_sequence() local
56 for (mssind = 0; mss > msstab[mssind + 1]; mssind++) in cookie_v4_init_sequence()
117 int mss; in cookie_v4_check() local
125 (mss = cookie_check(skb, cookie)) == 0) { in cookie_v4_check()
139 req->mss = mss; in cookie_v4_check()
184 tcp_select_initial_window(tcp_full_space(sk), req->mss, in cookie_v4_check()
Dtcp_output.c90 int mss = tp->advmss; in tcp_advertise_mss() local
92 if (dst && dst->advmss < mss) { in tcp_advertise_mss()
93 mss = dst->advmss; in tcp_advertise_mss()
94 tp->advmss = mss; in tcp_advertise_mss()
97 return (__u16)mss; in tcp_advertise_mss()
673 int mss = tp->ack.rcv_mss; in __tcp_select_window() local
678 if (mss > full_space) in __tcp_select_window()
679 mss = full_space; in __tcp_select_window()
687 if (free_space < mss) in __tcp_select_window()
703 if (window <= free_space - mss || window > free_space) in __tcp_select_window()
[all …]
Dtcp_minisocks.c788 newtp->mss_clamp = req->mss; in tcp_create_openreq_child()
Dtcp_ipv4.c1469 isn = cookie_v4_init_sequence(sk, skb, &req->mss); in tcp_v4_conn_request()
/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_TCPMSS.c80 if(tcpmssinfo->mss == IPT_TCPMSS_CLAMP_PMTU) { in ipt_tcpmss_target()
97 newmss = tcpmssinfo->mss; in ipt_tcpmss_target()
108 if((tcpmssinfo->mss == IPT_TCPMSS_CLAMP_PMTU) && in ipt_tcpmss_target()
224 if((tcpmssinfo->mss == IPT_TCPMSS_CLAMP_PMTU) && in ipt_tcpmss_checkentry()
/linux-2.4.37.9/ipc/
Dmsg.c237 static inline void ss_add(struct msg_queue* msq, struct msg_sender* mss) in ss_add() argument
239 mss->tsk=current; in ss_add()
241 list_add_tail(&mss->list,&msq->q_senders); in ss_add()
244 static inline void ss_del(struct msg_sender* mss) in ss_del() argument
246 if(mss->list.next != NULL) in ss_del()
247 list_del(&mss->list); in ss_del()
256 struct msg_sender* mss; in ss_wakeup() local
258 mss = list_entry(tmp,struct msg_sender,list); in ss_wakeup()
261 mss->list.next=NULL; in ss_wakeup()
262 wake_up_process(mss->tsk); in ss_wakeup()
/linux-2.4.37.9/include/net/
Dtcp.h532 __u16 mss; member
829 __u16 *mss);
1277 static __inline__ void tcp_minshall_update(struct tcp_opt *tp, int mss, struct sk_buff *skb) in tcp_minshall_update() argument
1279 if (skb->len < mss) in tcp_minshall_update()
1566 static inline void tcp_syn_build_options(__u32 *ptr, int mss, int ts, int sack, in tcp_syn_build_options() argument
1582 *ptr++ = htonl((TCPOPT_MSS << 24) | (TCPOLEN_MSS << 16) | mss); in tcp_syn_build_options()
1606 static inline void tcp_select_initial_window(int __space, __u32 mss, in tcp_select_initial_window() argument
1620 if (space > mss) in tcp_select_initial_window()
1621 space = (space / mss) * mss; in tcp_select_initial_window()
1637 if (*rcv_wscale && sysctl_tcp_app_win && space>=mss && in tcp_select_initial_window()
[all …]
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dipt_TCPMSS.h5 u_int16_t mss; member
/linux-2.4.37.9/drivers/sound/
Dsscape.c1440 static int __initdata mss = 0; variable
1453 MODULE_PARM(mss, "i");
1494 mss = probe_ss_ms_sound(&cfg); in init_sscape()
1496 if (mss) in init_sscape()
1504 if (mss) in cleanup_sscape()
/linux-2.4.37.9/net/decnet/
Daf_decnet.c1885 int mss; in dn_sendmsg() local
1935 mss = scp->segsize_rem; in dn_sendmsg()
1940 if (dn->blksize < (mss + 11)) in dn_sendmsg()
1941 mss = dn->blksize - 11; in dn_sendmsg()
1951 mss = 16; in dn_sendmsg()
1953 if (size > mss) { in dn_sendmsg()
1976 if (len > mss) in dn_sendmsg()
1977 len = mss; in dn_sendmsg()
/linux-2.4.37.9/drivers/net/
Dsky2.c1160 u16 mss = 0; in sky2_xmit_frame() local
1191 mss = skb_shinfo(skb)->tso_size; in sky2_xmit_frame()
1192 if (mss != 0) { in sky2_xmit_frame()
1201 mss += ((skb->h.th->doff - 5) * 4); /* TCP options */ in sky2_xmit_frame()
1202 mss += (skb->nh.iph->ihl * 4) + sizeof(struct tcphdr); in sky2_xmit_frame()
1203 mss += ETH_HLEN; in sky2_xmit_frame()
1206 if (mss != sky2->tx_last_mss) { in sky2_xmit_frame()
1208 le->tx.tso.size = cpu_to_le16(mss); in sky2_xmit_frame()
1212 sky2->tx_last_mss = mss; in sky2_xmit_frame()
1239 le->opcode = mss ? (OP_LARGESEND | HW_OWNER) : (OP_PACKET | HW_OWNER); in sky2_xmit_frame()
[all …]
Dtg3.c3128 u32 last_plus_one, u32 *start, u32 mss) in tigon3_4gb_hwbug_workaround() argument
3146 TXD_FLAG_TCPUDP_CSUM : 0, 1 | (mss << 1)); in tigon3_4gb_hwbug_workaround()
3182 u32 mss = (mss_and_is_end >> 1); in tg3_set_txd() local
3191 vlan_tag |= (mss << TXD_MSS_SHIFT); in tg3_set_txd()
3212 u32 len, entry, base_flags, mss; in tg3_start_xmit() local
3253 mss = 0; in tg3_start_xmit()
3255 (mss = skb_shinfo(skb)->tso_size) != 0) { in tg3_start_xmit()
3265 skb->nh.iph->tot_len = ntohs(mss + ip_tcp_len + tcp_opt_len); in tg3_start_xmit()
3284 mss |= (tsflags << 11); in tg3_start_xmit()
3297 mss = 0; in tg3_start_xmit()
[all …]
/linux-2.4.37.9/drivers/net/e1000/
De1000_main.c2905 unsigned int nr_frags, unsigned int mss) argument
3167 unsigned int mss = 0; local
3283 max_per_txd, nr_frags, mss));
De1000_hw.h776 uint16_t mss; /* Maximum segment size */ member
/linux-2.4.37.9/Documentation/networking/
Dip-sysctl.txt268 Reserve max(window/2^tcp_app_win, mss) of window for application
/linux-2.4.37.9/Documentation/
DConfigure.help3169 -j TCPMSS --clamp-mss-to-pmtu