Changeset 03c971f in mainline for uspace/srv/net/inetsrv/inetsrv.h


Ignore:
Timestamp:
2013-08-15T14:20:16Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb2a5b2
Parents:
f2c19b0 (diff), 2921602 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/inetsrv.h

    rf2c19b0 r03c971f  
    6363} inetping_client_t;
    6464
     65/** Inetping6 Client */
     66typedef struct {
     67        /** Callback session */
     68        async_sess_t *sess;
     69        /** Session identifier */
     70        uint16_t ident;
     71        /** Link to client list */
     72        link_t client_list;
     73} inetping6_client_t;
     74
    6575/** Address object info */
    6676typedef struct {
     
    103113        uint8_t ttl;
    104114        /** Identifier */
    105         uint16_t ident;
     115        uint32_t ident;
    106116        /** Do not fragment */
    107117        bool df;
     
    131141        iplink_t *iplink;
    132142        size_t def_mtu;
     143        addr48_t mac;
     144        bool mac_valid;
    133145} inet_link_t;
    134146
     
    172184
    173185typedef struct {
    174         inet_addr_t src;
    175         inet_addr_t dest;
     186        uint32_t src;
     187        uint32_t dest;
    176188        uint16_t seq_no;
    177189        void *data;
    178190        size_t size;
    179191} inetping_sdu_t;
     192
     193typedef struct {
     194        addr128_t src;
     195        addr128_t dest;
     196        uint16_t seq_no;
     197        void *data;
     198        size_t size;
     199} inetping6_sdu_t;
    180200
    181201extern int inet_ev_recv(inet_client_t *, inet_dgram_t *);
Note: See TracChangeset for help on using the changeset viewer.