version 1.23.2.2, 2015/01/18 01:03:49
|
version 1.23.2.3, 2015/01/18 01:11:35
|
Line 350 rpc_pkt_Receive(int sock, int type, sockaddr_t * __res
|
Line 350 rpc_pkt_Receive(int sock, int type, sockaddr_t * __res
|
do { |
do { |
if (type == SOCK_STREAM) |
if (type == SOCK_STREAM) |
ret = rpc_Read(sock, type, !estlen ? MSG_PEEK : 0, NULL, buf, blen); |
ret = rpc_Read(sock, type, !estlen ? MSG_PEEK : 0, NULL, buf, blen); |
|
else if (type == SOCK_EXT) |
|
ret = rpc_Read(sock, type, 0, NULL, buf, blen); |
else if (type == SOCK_BPF) { |
else if (type == SOCK_BPF) { |
ret = rpc_Read(sock, type, 0, sa, AIT_GET_BUF(pkt), AIT_LEN(pkt)); |
ret = rpc_Read(sock, type, 0, sa, AIT_GET_BUF(pkt), AIT_LEN(pkt)); |
if (ret > 0) |
if (ret > 0) |