文件名称:计算机网络 滑动窗口协议
文件大小:66KB
文件格式:DOC
更新时间:2017-05-23 15:37:03
滑动窗口协议
北邮的滑动窗口协议 C源代码清单 int tcp mem schedule struct sock sk int size int kind { int amt TCP PAGES size ; sk >forward alloc + amt TCP MEM QUANTUM; atomic add amt &tcp memory allocated ; Under limit if atomic read &tcp memory allocated < sysctl tcp mem[0] { if tcp memory pressure tcp memory pressure 0; return 1; }">北邮的滑动窗口协议 C源代码清单 int tcp mem schedule struct sock sk int size int kind { int amt TCP PAGES size ; sk >forward alloc + amt TCP MEM QUANTUM; atomic add amt &tcp memory allocated ; Under limit if atomic read &tcp memory allo [更多]