Changeset 46c20c8 in mainline for uspace/lib/c/include/ipc/net_net.h


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/net_net.h

    rfb150d78 r46c20c8  
    11/*
    2  * Copyright (c) 2006 Ondrej Palkovsky
     2 * Copyright (c) 2009 Lukas Mejdrech
    33 * All rights reserved.
    44 *
     
    3030 * @{
    3131 */
     32
    3233/** @file
     34 * Networking subsystem central module messages.
     35 * @see net_interface.h
    3336 */
    3437
    35 #ifndef LIBC_ERRNO_H_
    36 #define LIBC_ERRNO_H_
     38#ifndef LIBC_NET_NET_MESSAGES_H_
     39#define LIBC_NET_NET_MESSAGES_H_
    3740
    38 #include <kernel/errno.h>
    39 #include <fibril.h>
     41#include <ipc/ipc.h>
     42#include <ipc/net.h>
    4043
    41 extern int _errno;
    42 
    43 #define errno _errno
    44 
    45 #define EMFILE        (-17)
    46 #define ENAMETOOLONG  (-256)
    47 #define EISDIR        (-257)
    48 #define ENOTDIR       (-258)
    49 #define ENOSPC        (-259)
    50 #define EEXIST        (-260)
    51 #define ENOTEMPTY     (-261)
    52 #define EBADF         (-262)
    53 #define ERANGE        (-263)
    54 #define EXDEV         (-264)
    55 #define EIO           (-265)
    56 #define EMLINK        (-266)
     44/** Networking subsystem central module messages. */
     45typedef enum {
     46        /** Returns the general configuration
     47         * @see net_get_conf_req()
     48         */
     49        NET_NET_GET_CONF = NET_FIRST,
     50        /** Returns the device specific configuration
     51         * @see net_get_device_conf_req()
     52         */
     53        NET_NET_GET_DEVICE_CONF,
     54        /** Starts the networking stack. */
     55        NET_NET_STARTUP,
     56} net_messages;
    5757
    5858#endif
Note: See TracChangeset for help on using the changeset viewer.