Changeset eea65f4 in mainline for uspace/srv/net/tl/tcp/tcp_type.h


Ignore:
Timestamp:
2011-11-21T21:16:23Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6896409c
Parents:
004a5fe
Message:

PDU encoding and decoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp_type.h

    r004a5fe reea65f4  
    271271} cproc_t;
    272272
     273/** Encoded PDU */
     274typedef struct {
     275        /** Source address */
     276        netaddr_t src_addr;
     277        /** Destination address */
     278        netaddr_t dest_addr;
     279
     280        /** Encoded header */
     281        void *header;
     282        /** Encoded header size */
     283        size_t header_size;
     284        /** Text */
     285        void *text;
     286        /** Text size */
     287        size_t text_size;
     288} tcp_pdu_t;
     289
    273290#endif
    274291
Note: See TracChangeset for help on using the changeset viewer.