WukLab / LITE

LITE Kernel RDMA Support for Datacenter Applications. SOSP 2017.
106 stars 19 forks source link

I can't find tcp listen #12

Closed coderex2522 closed 5 years ago

coderex2522 commented 5 years ago

{lite/core/lite_core.c line 5764~5767 addr.sin_addr.s_addr = htonl((((((ip_a << 8) | ip_b) << 8) | ip_c) << 8) | ip_d); printk(KERN_ALERT "establish connection to %x to port %d\n",addr.sin_addr.s_addr, port); sockfd = sock_create(PF_INET, SOCK_STREAM, IPPROTO_TCP, &excsocket); ret = excsocket->ops->connect(excsocket, (struct sockaddr *)&addr, sizeof(addr), 0); } where is listen function?

shinyehtsai commented 5 years ago

Listen function is in cluster manager code. https://github.com/WukLab/LITE/blob/master/cluster-manager/lite-cd.c#L780

coderex2522 commented 5 years ago

thank you!