Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/inet/iplink.h

    ra17356fd r02a09ed  
    4747} iplink_t;
    4848
    49 /** IPv4 link Service Data Unit */
     49/** Internet link Service Data Unit */
    5050typedef struct {
    5151        /** Local source address */
    52         addr32_t src;
     52        inet_addr_t src;
    5353        /** Local destination address */
    54         addr32_t dest;
     54        inet_addr_t dest;
    5555        /** Serialized IP packet */
    5656        void *data;
     
    5858        size_t size;
    5959} iplink_sdu_t;
    60 
    61 /** IPv6 link Service Data Unit */
    62 typedef struct {
    63         /** Local MAC destination address */
    64         addr48_t dest;
    65         /** Serialized IP packet */
    66         void *data;
    67         /** Size of @c data in bytes */
    68         size_t size;
    69 } iplink_sdu6_t;
    7060
    7161/** Internet link receive Service Data Unit */
     
    8474extern void iplink_close(iplink_t *);
    8575extern int iplink_send(iplink_t *, iplink_sdu_t *);
    86 extern int iplink_send6(iplink_t *, iplink_sdu6_t *);
    8776extern int iplink_addr_add(iplink_t *, inet_addr_t *);
    8877extern int iplink_addr_remove(iplink_t *, inet_addr_t *);
    8978extern int iplink_get_mtu(iplink_t *, size_t *);
    90 extern int iplink_get_mac48(iplink_t *, addr48_t *);
    9179
    9280#endif
Note: See TracChangeset for help on using the changeset viewer.