Changeset 1d24ad3 in mainline for uspace/srv/net/udp/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/udp/std.h

    r02a09ed r1d24ad3  
    5454} udp_header_t;
    5555
    56 /** UDP pseudo header */
     56/** UDP IPv4 pseudo header */
    5757typedef struct {
    5858        /** Source address */
     
    6868} udp_phdr_t;
    6969
     70/** UDP IPv6 pseudo header */
     71typedef struct {
     72        /** Source address */
     73        addr128_t src_addr;
     74        /** Destination address */
     75        addr128_t dest_addr;
     76        /** UDP length */
     77        uint32_t udp_length;
     78        /** Reserved */
     79        uint8_t zero[3];
     80        /** Next header */
     81        uint8_t next;
     82} udp_phdr6_t;
     83
    7084#endif
    7185
Note: See TracChangeset for help on using the changeset viewer.