Changeset 59157eb in mainline for uspace/srv/tcp/tcp.c


Ignore:
Timestamp:
2012-02-02T15:18:46Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f834f90d
Parents:
ecff3d9
Message:

Implement INET_EV_RECV IPC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/tcp/tcp.c

    recff3d9 r59157eb  
    5454#define NAME       "tcp"
    5555
     56#define IP_PROTO_TCP 6
     57
    5658static int tcp_inet_ev_recv(inet_dgram_t *dgram);
    5759static void tcp_received_pdu(tcp_pdu_t *pdu);
     
    185187        if (0) tcp_test();
    186188
    187         rc = inet_init(42, &tcp_inet_ev_ops);
     189        rc = inet_init(IP_PROTO_TCP, &tcp_inet_ev_ops);
    188190        if (rc != EOK) {
    189191                log_msg(LVL_ERROR, "Failed connecting to internet service.");
Note: See TracChangeset for help on using the changeset viewer.