Chinaunix首页 | 论坛 | 博客
  • 博客访问: 136798
  • 博文数量: 53
  • 博客积分: 121
  • 博客等级: 入伍新兵
  • 技术积分: 570
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-04 10:59
文章分类
文章存档

2020年(1)

2013年(48)

2012年(4)

我的朋友

分类: LINUX

2013-10-07 23:10:13


#2013_10_06   星期日   add by greshem
j:\portage\net-proxy\dante\dante-1.3.2.chm::/index.html
main

    newprocinit();

    while(1)
    {

        recv_req(child->s, &req)) != 0) {
        send_req(reqchild->s, &req) == 0) {
        create_response(null,
        send_response(req.s, &response) != 0) {

 639    recv_io(child->s, &io)) != 0) {

667     send_io(iochild->s, &io) == 0) {
745     send_client(negchild->s, &client, null, 0);
1056    doio
    }

########################################################################
1709 recv_io(s, io)
1812       case socks_bind:
1813       case socks_bindreply:
1820       case socks_connect:
1824       case socks_udpassociate:
1860       case socks_bind:
1877       case socks_bindreply:
1894       case socks_connect:
1906       case socks_udpassociate:


#doio 是 整个程序里面最重要的函数了 主要处理 协议方面的东西
root/sockd/sockd_io.c
2198 doio(io, rset, wset, flags, bad)
2301       case socks_tcp: {
2463       case socks_udp: {


阅读(689) | 评论(0) | 转发(0) |
0

上一篇:ccrypt 源码 分析

下一篇:wget 源码 分析

给主人留下些什么吧!~~