Changeset 058edb6 in mainline for uspace/lib/socket/generic


Ignore:
Timestamp:
2010-10-06T18:50:55Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bcafa70
Parents:
2aa15d4
Message:

Move socket_codes.h from libsocket to libc.

Remove stuff that was probably inappropriatelly taken from a Linux kernel
header.

Remove unneeded AF and PF codes.

Start assigning AF and PF codes sequentially. (These are not standardized.)

Location:
uspace/lib/socket/generic
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/socket/generic/icmp_api.c

    r2aa15d4 r058edb6  
    3636 */
    3737
     38#include <net/socket_codes.h>
    3839#include <async.h>
    3940
     
    4748#include <inet.h>
    4849#include <ip_codes.h>
    49 #include <socket_codes.h>
    5050#include <icmp_messages.h>
    5151
  • uspace/lib/socket/generic/inet.c

    r2aa15d4 r058edb6  
    3535 */
    3636
     37#include <net/socket_codes.h>
    3738#include <errno.h>
    3839#include <mem.h>
     
    4344#include <in6.h>
    4445#include <inet.h>
    45 #include <socket_codes.h>
    4646
    4747int inet_ntop(uint16_t family, const uint8_t * data, char * address, size_t length){
  • uspace/lib/socket/generic/socket_core.c

    r2aa15d4 r058edb6  
    3535 */
    3636
     37#include <net/socket_codes.h>
     38
    3739#include <stdint.h>
    3840#include <stdlib.h>
     
    4244#include <in.h>
    4345#include <inet.h>
    44 #include <socket_codes.h>
    4546#include <adt/dynamic_fifo.h>
    4647#include <adt/int_map.h>
Note: See TracChangeset for help on using the changeset viewer.