Changeset 1d24ad3 in mainline for uspace/srv/net/tcp/std.h


Ignore:
Timestamp:
2013-07-03T14:20:04Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8b47eca
Parents:
02a09ed
Message:

more IPv6 stub code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/std.h

    r02a09ed r1d24ad3  
    7575};
    7676
    77 /** TCP pseudo header */
     77/** TCP IPv4 pseudo header */
    7878typedef struct {
    7979        /** Source address */
     
    8888        uint16_t tcp_length;
    8989} tcp_phdr_t;
     90
     91/** TCP IPv6 pseudo header */
     92typedef struct {
     93        /** Source address */
     94        addr128_t src;
     95        /** Destination address */
     96        addr128_t dest;
     97        /** TCP length */
     98        uint32_t tcp_length;
     99        /** Zeroes */
     100        uint8_t zero[3];
     101        /** Next header */
     102        uint8_t next;
     103} tcp_phdr6_t;
    90104
    91105/** Option kind */
Note: See TracChangeset for help on using the changeset viewer.