Changeset 14f1db0 in mainline for uspace/lib/net/il/ip_client.c


Ignore:
Timestamp:
2010-04-09T12:54:57Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1caa3c2
Parents:
24ab58b3
Message:

networking overhaul:

  • separation of conserns
  • removal of (almost all) overlaping symbols, libnetif is not needed anymore
  • again, it is possible to build the networking in multiple architecture configurations (however, currently only the bundling netif and nil layers is supported, more to come)
  • code style updates and fixes (still a huge amount of work to do)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/il/ip_client.c

    r24ab58b3 r14f1db0  
    5656}
    5757
    58 int ip_client_get_pseudo_header(ip_protocol_t protocol, struct sockaddr * src, socklen_t srclen, struct sockaddr * dest, socklen_t destlen, size_t data_length, ip_pseudo_header_ref * header, size_t * headerlen){
     58int ip_client_get_pseudo_header(ip_protocol_t protocol, struct sockaddr * src, socklen_t srclen, struct sockaddr * dest, socklen_t destlen, size_t data_length, void **header, size_t * headerlen){
    5959        ipv4_pseudo_header_ref header_in;
    6060        struct sockaddr_in * address_in;
     
    8484                        header_in->protocol = protocol;
    8585                        header_in->data_length = htons(data_length);
    86                         *header = (ip_pseudo_header_ref) header_in;
     86                        *header = header_in;
    8787                        return EOK;
    8888                // TODO IPv6
     
    164164}
    165165
    166 int ip_client_set_pseudo_header_data_length(ip_pseudo_header_ref header, size_t headerlen, size_t data_length){
     166int ip_client_set_pseudo_header_data_length(void *header, size_t headerlen, size_t data_length){
    167167        ipv4_pseudo_header_ref header_in;
    168168
Note: See TracChangeset for help on using the changeset viewer.