inetsrv.h

Go to the documentation of this file.
00001 /*
00002 ** inet.h for  in /home/anoman/work/lse/atomix/lseos-net/inet
00003 ** 
00004 ** Copyright (c)2004 Arthur Kopatsy
00005 ** Login   <kopats_a@epita.fr>
00006 ** 
00007 ** Started on  Mon Sep 20 13:35:33 2004 Arthur Kopatsy
00008 ** Last update Tue Dec  7 14:30:51 2004 Arthur Kopatsy
00009 */
00010 
00011 #ifndef LIBINET_INET_H_
00012 #define LIBINET_INET_H_
00013 
00014 #define SYSINET_SOCKET          10
00015 #define SYSINET_BIND            11
00016 #define SYSINET_CONNECT         12
00017 #define SYSINET_LISTEN          13
00018 #define SYSINET_RECVFROM        14
00019 #define SYSINET_SENDTO          15
00020 #define SYSINET_GETSOCKNAME     16
00021 #define SYSINET_GETPEERNAME     17
00022 #define SYSINET_ACCEPT          19
00023 
00024 #define SYSINET_REGIFACE        0
00025 #define SYSINET_PUSHPCKT        1
00026 #define SYSINET_ACKPCKT         2
00027 
00028 /* PROTO lib_inetsrv.c */
00029 /* lib_inetsrv.c */
00030 int inet_regiface(int drv_id, int minor, pid_t pgid);
00031 int inet_pushpckt(u_int32_t if_id, vaddr_t pcktaddr, size_t pcktsize);
00032 int inet_ackpckt(u_int32_t if_id, int tx_id, int tx_state);
00033 #endif

Generated on Wed May 24 23:05:52 2006 for LSE/OS by  doxygen 1.4.6