/branches/network/uspace/srv/net/include/netif_messages.h |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-native |
\ No newline at end of property |
/branches/network/uspace/srv/net/include/nil_messages.h |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-native |
\ No newline at end of property |
/branches/network/uspace/srv/net/include/protocols.h |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-native |
\ No newline at end of property |
/branches/network/uspace/srv/net/include/arp_messages.h |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-native |
\ No newline at end of property |
/branches/network/uspace/srv/net/include/nil_interface.h |
---|
0,0 → 1,76 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup net_nil |
* @{ |
*/ |
/** |
* @file |
*/ |
#ifndef __NET_NIL_INTERFACE_H__ |
#define __NET_NIL_INTERFACE_H__ |
#include <async.h> |
#include <errno.h> |
#include <ipc/ipc.h> |
#include "../messages.h" |
#include "../structures/measured_strings.h" |
#include "../structures/packet/packet.h" |
#include "../nil/nil_messages.h" |
#include "device.h" |
#define nil_get_addr( nil_phone, device_id, address, data ) \ |
generic_get_addr( nil_phone, NET_NIL_ADDR, device_id, address, data ) |
#define nil_get_broadcast_addr( nil_phone, device_id, address, data ) \ |
generic_get_addr( nil_phone, NET_NIL_BROADCAST_ADDR, device_id, address, data ) |
#define nil_send_msg( nil_phone, device_id, packet, sender ) \ |
generic_send_msg( nil_phone, NET_NIL_SEND, device_id, packet_get_id( packet ), sender ) |
#define nil_packet_size_req( nil_phone, device_id, addr_len, prefix, content, suffix ) \ |
generic_packet_size_req( nil_phone, NET_NIL_PACKET_SPACE, device_id, addr_len, prefix, content, suffix ) |
#define nil_device_req( nil_phone, device_id, mtu, netif_service ) \ |
generic_device_req( nil_phone, NET_NIL_DEVICE, device_id, mtu, netif_service ) |
int nil_device_state_msg( int nil_phone, device_id_t device_id, int state ); |
int nil_received_msg( int nil_phone, device_id_t device_id, packet_t packet, services_t target ); |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
Added: svn:mergeinfo |
/branches/network/uspace/srv/net/include/arp_interface.h |
---|
0,0 → 1,53 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup arp |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __NET_ARP_INTERFACE_H__ |
#define __NET_ARP_INTERFACE_H__ |
#include "../structures/measured_strings.h" |
#include "device.h" |
int arp_device_req( int arp_phone, device_id_t device_id, services_t protocol, services_t netif, measured_string_ref address ); |
int arp_translate_req( int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address, measured_string_ref * translation, char ** data ); |
int arp_clear_device_req( int arp_phone, device_id_t device_id ); |
int arp_clean_cache_req( int arp_phone ); |
int arp_connect_module( services_t service ); |
int arp_task_get_id( void ); |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
Added: svn:mergeinfo |
/branches/network/uspace/srv/net/include/net_interface.h |
---|
0,0 → 1,55 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup net |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __NET_NET_INTERFACE_H__ |
#define __NET_NET_INTERFACE_H__ |
//#include <async.h> |
#include <ipc/services.h> |
#include "../include/device.h" |
#include "../structures/measured_strings.h" |
int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, int count, char ** data ); |
int net_get_conf_req( int net_phone, measured_string_ref * configuration, int count, char ** data ); |
void net_free_settings( measured_string_ref settings, char * data ); |
int net_connect_module( services_t service ); |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
/branches/network/uspace/srv/net/include/ip_protocols.h |
---|
0,0 → 1,614 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ip |
* @{ |
*/ |
/** @file |
* Internet protocol numbers according to the on-line IANA - Assigned Protocol numbers - <http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml>, cited January 14 2009. |
* Names according to the linux src/include/linux/in.h header file. |
*/ |
#ifndef __NET_IPPROTOCOLS_H__ |
#define __NET_IPPROTOCOLS_H__ |
/** IPv6 Hop-by-Hop Option internet protocol number. |
*/ |
#define IPPROTO_HOPOPT 0 |
/** Internet Control Message internet protocol number. |
*/ |
#define IPPROTO_ICMP 1 |
/** Internet Group Management internet protocol number. |
*/ |
#define IPPROTO_IGMP 2 |
/** Gateway-to-Gateway internet protocol number. |
*/ |
#define IPPROTO_GGP 3 |
/** IP in IP (encapsulation) internet protocol number. |
*/ |
#define IPPROTO_IP 4 |
/** Stream internet protocol number. |
*/ |
#define IPPROTO_ST 5 |
/** Transmission Control internet protocol number. |
*/ |
#define IPPROTO_TCP 6 |
/** CBT internet protocol number. |
*/ |
#define IPPROTO_CBT 7 |
/** Exterior Gateway Protocol internet protocol number. |
*/ |
#define IPPROTO_EGP 8 |
/** any private interior gateway |
(used by Cisco for their IGRP) internet protocol number. |
*/ |
#define IPPROTO_IGP 9 |
/** BBN RCC Monitoring internet protocol number. |
*/ |
#define IPPROTO_BBN_RCC_MON 10 |
/** Network Voice Protocol internet protocol number. |
*/ |
#define IPPROTO_NVP_II 11 |
/** PUP internet protocol number. |
*/ |
#define IPPROTO_PUP 12 |
/** ARGUS internet protocol number. |
*/ |
#define IPPROTO_ARGUS 13 |
/** EMCON internet protocol number. |
*/ |
#define IPPROTO_EMCON 14 |
/** Cross Net Debugger internet protocol number. |
*/ |
#define IPPROTO_XNET 15 |
/** Chaos internet protocol number. |
*/ |
#define IPPROTO_CHAOS 16 |
/** User Datagram internet protocol number. |
*/ |
#define IPPROTO_UDP 17 |
/** Multiplexing internet protocol number. |
*/ |
#define IPPROTO_MUX 18 |
/** DCN Measurement Subsystems internet protocol number. |
*/ |
#define IPPROTO_DCN_MEAS 19 |
/** Host Monitoring internet protocol number. |
*/ |
#define IPPROTO_HMP 20 |
/** Packet Radio Measurement internet protocol number. |
*/ |
#define IPPROTO_PRM 21 |
/** XEROX NS IDP internet protocol number. |
*/ |
#define IPPROTO_XNS_IDP 22 |
/** Trunk-1 internet protocol number. |
*/ |
#define IPPROTO_TRUNK_1 23 |
/** Trunk-2 internet protocol number. |
*/ |
#define IPPROTO_TRUNK_2 24 |
/** Leaf-1 internet protocol number. |
*/ |
#define IPPROTO_LEAF_1 25 |
/** Leaf-2 internet protocol number. |
*/ |
#define IPPROTO_LEAF_2 26 |
/** Reliable Data Protocol internet protocol number. |
*/ |
#define IPPROTO_RDP 27 |
/** Internet Reliable Transaction internet protocol number. |
*/ |
#define IPPROTO_IRTP 28 |
/** ISO Transport Protocol Class 4 internet protocol number. |
*/ |
#define IPPROTO_ISO_TP4 29 |
/** Bulk Data Transfer Protocol internet protocol number. |
*/ |
#define IPPROTO_NETBLT 30 |
/** MFE Network Services Protocol internet protocol number. |
*/ |
#define IPPROTO_MFE_NSP 31 |
/** MERIT Internodal Protocol internet protocol number. |
*/ |
#define IPPROTO_MERIT_INP 32 |
/** Datagram Congestion Control Protocol internet protocol number. |
*/ |
#define IPPROTO_DCCP 33 |
/** Third Party Connect Protocol internet protocol number. |
*/ |
#define IPPROTO_3PC 34 |
/** Inter-Domain Policy Routing Protocol internet protocol number. |
*/ |
#define IPPROTO_IDPR 35 |
/** XTP internet protocol number. |
*/ |
#define IPPROTO_XTP 36 |
/** Datagram Delivery Protocol internet protocol number. |
*/ |
#define IPPROTO_DDP 37 |
/** IDPR Control Message Transport Proto internet protocol number. |
*/ |
#define IPPROTO_IDPR_CMTP 38 |
/** TP++ Transport Protocol internet protocol number. |
*/ |
#define IPPROTO_TP 39 |
/** IL Transport Protocol internet protocol number. |
*/ |
#define IPPROTO_IL 40 |
/** Ipv6 internet protocol number. |
*/ |
#define IPPROTO_IPV6 41 |
/** Source Demand Routing Protocol internet protocol number. |
*/ |
#define IPPROTO_SDRP 42 |
/** Routing Header for IPv6 internet protocol number. |
*/ |
#define IPPROTO_IPv6_Route 43 |
/** Fragment Header for IPv6 internet protocol number. |
*/ |
#define IPPROTO_IPv6_Frag 44 |
/** Inter-Domain Routing Protocol internet protocol number. |
*/ |
#define IPPROTO_IDRP 45 |
/** Reservation Protocol internet protocol number. |
*/ |
#define IPPROTO_RSVP 46 |
/** General Routing Encapsulation internet protocol number. |
*/ |
#define IPPROTO_GRE 47 |
/** Dynamic Source Routing Protocol internet protocol number. |
*/ |
#define IPPROTO_DSR 48 |
/** BNA internet protocol number. |
*/ |
#define IPPROTO_BNA 49 |
/** Encap Security Payload internet protocol number. |
*/ |
#define IPPROTO_ESP 50 |
/** Authentication Header internet protocol number. |
*/ |
#define IPPROTO_AH 51 |
/** Integrated Net Layer Security TUBA internet protocol number. |
*/ |
#define IPPROTO_I_NLSP 52 |
/** IP with Encryption internet protocol number. |
*/ |
#define IPPROTO_SWIPE 53 |
/** NBMA Address Resolution Protocol internet protocol number. |
*/ |
#define IPPROTO_NARP 54 |
/** IP Mobility internet protocol number. |
*/ |
#define IPPROTO_MOBILE 55 |
/** Transport Layer Security Protocol |
using Kryptonet key management internet protocol number. |
*/ |
#define IPPROTO_TLSP 56 |
/** SKIP internet protocol number. |
*/ |
#define IPPROTO_SKIP 57 |
/** ICMP for IPv6 internet protocol number. |
*/ |
#define IPPROTO_IPv6_ICMP 58 |
/** No Next Header for IPv6 internet protocol number. |
*/ |
#define IPPROTO_IPv6_NoNxt 59 |
/** Destination Options for IPv6 internet protocol number. |
*/ |
#define IPPROTO_IPv6_Opts 60 |
/** Any host internal protocol internet protocol number. |
*/ |
#define IPPROTO_AHIP 61 |
/** CFTP internet protocol number. |
*/ |
#define IPPROTO_CFTP 62 |
/** Any local network internet protocol number. |
*/ |
#define IPPROTO_ALN 63 |
/** SATNET and Backroom EXPAK internet protocol number. |
*/ |
#define IPPROTO_SAT_EXPAK 64 |
/** Kryptolan internet protocol number. |
*/ |
#define IPPROTO_KRYPTOLAN 65 |
/** MIT Remote Virtual Disk Protocol internet protocol number. |
*/ |
#define IPPROTO_RVD 66 |
/** Internet Pluribus Packet Core internet protocol number. |
*/ |
#define IPPROTO_IPPC 67 |
/** Any distributed file system internet protocol number. |
*/ |
#define IPPROTO_ADFS 68 |
/** SATNET Monitoring internet protocol number. |
*/ |
#define IPPROTO_SAT_MON 69 |
/** VISA Protocol internet protocol number. |
*/ |
#define IPPROTO_VISA 70 |
/** Internet Packet Core Utility internet protocol number. |
*/ |
#define IPPROTO_IPCV 71 |
/** Computer Protocol Network Executive internet protocol number. |
*/ |
#define IPPROTO_CPNX 72 |
/** Computer Protocol Heart Beat internet protocol number. |
*/ |
#define IPPROTO_CPHB 73 |
/** Wang Span Network internet protocol number. |
*/ |
#define IPPROTO_WSN 74 |
/** Packet Video Protocol internet protocol number. |
*/ |
#define IPPROTO_PVP 75 |
/** Backroom SATNET Monitoring internet protocol number. |
*/ |
#define IPPROTO_BR_SAT_MON 76 |
/** SUN ND IPPROTOCOL_Temporary internet protocol number. |
*/ |
#define IPPROTO_SUN_ND 77 |
/** WIDEBAND Monitoring internet protocol number. |
*/ |
#define IPPROTO_WB_MON 78 |
/** WIDEBAND EXPAK internet protocol number. |
*/ |
#define IPPROTO_WB_EXPAK 79 |
/** ISO Internet Protocol internet protocol number. |
*/ |
#define IPPROTO_ISO_IP 80 |
/** VMTP internet protocol number. |
*/ |
#define IPPROTO_VMTP 81 |
/** SECURE-VMTP internet protocol number. |
*/ |
#define IPPROTO_SECURE_VMTP 82 |
/** VINES internet protocol number. |
*/ |
#define IPPROTO_VINES 83 |
/** TTP internet protocol number. |
*/ |
#define IPPROTO_TTP 84 |
/** NSFNET-IGP internet protocol number. |
*/ |
#define IPPROTO_NSFNET_IGP 85 |
/** Dissimilar Gateway Protocol internet protocol number. |
*/ |
#define IPPROTO_DGP 86 |
/** TCF internet protocol number. |
*/ |
#define IPPROTO_TCF 87 |
/** EIGRP internet protocol number. |
*/ |
#define IPPROTO_EIGRP 88 |
/** OSPFIGP internet protocol number. |
*/ |
#define IPPROTO_OSPFIGP 89 |
/** Sprite RPC Protocol internet protocol number. |
*/ |
#define IPPROTO_Sprite_RPC 90 |
/** Locus Address Resolution Protocol internet protocol number. |
*/ |
#define IPPROTO_LARP 91 |
/** Multicast Transport Protocol internet protocol number. |
*/ |
#define IPPROTO_MTP 92 |
/** AX.25 Frames internet protocol number. |
*/ |
#define IPPROTO_AX25 93 |
/** IP-within-IP Encapsulation Protocol internet protocol number. |
*/ |
#define IPPROTO_IPIP 94 |
/** Mobile Internetworking Control Pro. internet protocol number. |
*/ |
#define IPPROTO_MICP 95 |
/** Semaphore Communications Sec. Pro. internet protocol number. |
*/ |
#define IPPROTO_SCC_SP 96 |
/** Ethernet-within-IP Encapsulation internet protocol number. |
*/ |
#define IPPROTO_ETHERIP 97 |
/** Encapsulation Header internet protocol number. |
*/ |
#define IPPROTO_ENCAP 98 |
/** Any private encryption scheme internet protocol number. |
*/ |
#define IPPROTO_APES 99 |
/** GMTP internet protocol number. |
*/ |
#define IPPROTO_GMTP 100 |
/** Ipsilon Flow Management Protocol internet protocol number. |
*/ |
#define IPPROTO_IFMP 101 |
/** PNNI over IP internet protocol number. |
*/ |
#define IPPROTO_PNNI 102 |
/** Protocol Independent Multicast internet protocol number. |
*/ |
#define IPPROTO_PIM 103 |
/** ARIS internet protocol number. |
*/ |
#define IPPROTO_ARIS 104 |
/** SCPS internet protocol number. |
*/ |
#define IPPROTO_SCPS 105 |
/** QNX internet protocol number. |
*/ |
#define IPPROTO_QNX 106 |
/** Active Networks internet protocol number. |
*/ |
#define IPPROTO_AN 107 |
/** IP Payload Compression Protocol internet protocol number. |
*/ |
#define IPPROTO_IPComp 108 |
/** Sitara Networks Protocol internet protocol number. |
*/ |
#define IPPROTO_SNP 109 |
/** Compaq Peer Protocol internet protocol number. |
*/ |
#define IPPROTO_Compaq_Peer 110 |
/** IPX in IP internet protocol number. |
*/ |
#define IPPROTO_IPX_in_IP 111 |
/** Virtual Router Redundancy Protocol internet protocol number. |
*/ |
#define IPPROTO_VRRP 112 |
/** PGM Reliable Transport Protocol internet protocol number. |
*/ |
#define IPPROTO_PGM 113 |
/** Any 0-hop protocol internet protocol number. |
*/ |
#define IPPROTO_A0HP 114 |
/** Layer Two Tunneling Protocol internet protocol number. |
*/ |
#define IPPROTO_L2TP 115 |
/** D-II Data Exchange (DDX) internet protocol number. |
*/ |
#define IPPROTO_DDX 116 |
/** Interactive Agent Transfer Protocol internet protocol number. |
*/ |
#define IPPROTO_IATP 117 |
/** Schedule Transfer Protocol internet protocol number. |
*/ |
#define IPPROTO_STP 118 |
/** SpectraLink Radio Protocol internet protocol number. |
*/ |
#define IPPROTO_SRP 119 |
/** UTI internet protocol number. |
*/ |
#define IPPROTO_UTI 120 |
/** Simple Message Protocol internet protocol number. |
*/ |
#define IPPROTO_SMP 121 |
/** SM internet protocol number. |
*/ |
#define IPPROTO_SM 122 |
/** Performance Transparency Protocol internet protocol number. |
*/ |
#define IPPROTO_PTP 123 |
/** ISIS over IPv4 internet protocol number. |
*/ |
#define IPPROTO_ISIS 124 |
/** FIRE internet protocol number. |
*/ |
#define IPPROTO_FIRE 125 |
/** Combat Radio Transport Protocol internet protocol number. |
*/ |
#define IPPROTO_CRTP 126 |
/** Combat Radio User Datagram internet protocol number. |
*/ |
#define IPPROTO_CRUDP 127 |
/** SSCOPMCE internet protocol number. |
*/ |
#define IPPROTO_SSCOPMCE 128 |
/** IPLT internet protocol number. |
*/ |
#define IPPROTO_IPLT 129 |
/** Secure Packet Shield internet protocol number. |
*/ |
#define IPPROTO_SPS 130 |
/** Private IP Encapsulation within IP internet protocol number. |
*/ |
#define IPPROTO_PIPE 131 |
/** Stream Control Transmission Protocol internet protocol number. |
*/ |
#define IPPROTO_SCTP 132 |
/** Fibre Channel internet protocol number. |
*/ |
#define IPPROTO_FC 133 |
/** RSVP-E2E-IGNORE internet protocol number. |
*/ |
#define IPPROTO_RSVP_E2E_IGNORE 134 |
/** Mobility Header internet protocol number. |
*/ |
#define IPPROTO_MH 135 |
/** UDPLite internet protocol number. |
*/ |
#define IPPROTO_UDPLITE 136 |
/** MPLS-in-IP internet protocol number. |
*/ |
#define IPPROTO_MPLS_in_IP 137 |
/** MANET Protocols internet protocol number. |
*/ |
#define IPPROTO_manet 138 |
/** Host Identity Protocol internet protocol number. |
*/ |
#define IPPROTO_HIP 139 |
/** Raw internet protocol number. |
*/ |
#define IPPROTO_RAW 255 |
/** Maximum internet protocol number. |
*/ |
#define IPPROTO_MAX ( IPPROTO_RAW + 1 ) |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
Added: svn:mergeinfo |
/branches/network/uspace/srv/net/include/il_interface.h |
---|
0,0 → 1,63 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup net_il |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __NET_IL_INTERFACE_H__ |
#define __NET_IL_INTERFACE_H__ |
#include <async.h> |
#include <ipc/services.h> |
#include "../messages.h" |
#include "../include/device.h" |
#include "../structures/packet/packet.h" |
#include "../structures/packet/packet_client.h" |
#include "../il/il_messages.h" |
static inline int il_device_state_msg( int il_phone, device_id_t device_id, device_state_t state ){ |
return generic_device_state_msg( il_phone, NET_IL_DEVICE_STATE, device_id, state ); |
} |
inline static int il_received_msg( int il_phone, device_id_t device_id, packet_t packet, services_t target ){ |
return generic_received_msg( il_phone, NET_IL_RECEIVED, device_id, packet_get_id( packet ), target ); |
} |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
/branches/network/uspace/srv/net/include/netif_interface.h |
---|
0,0 → 1,59 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup netif |
* @{ |
*/ |
/** |
* @file |
*/ |
#ifndef __NET_NETIF_INTERFACE_H__ |
#define __NET_NETIF_INTERFACE_H__ |
#include <ipc/services.h> |
#include "../messages.h" |
#include "../structures/measured_strings.h" |
#include "../structures/packet/packet.h" |
#include "device.h" |
int netif_get_addr( int netif_phone, device_id_t device_id, measured_string_ref * address, char ** data ); |
int netif_probe_req( int netif_phone, device_id_t device_id, int irq, int io ); |
int netif_send_msg( int netif_phone, device_id_t device_id, packet_t packet, services_t sender ); |
int netif_start_req( int netif_phone, device_id_t device_id ); |
int netif_stop_req( int netif_phone, device_id_t device_id ); |
int netif_bind_service( services_t service, device_id_t device_id, services_t me, async_client_conn_t receiver ); |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
Added: svn:mergeinfo |
/branches/network/uspace/srv/net/include/ip_interface.h |
---|
0,0 → 1,55 |
/* |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* are met: |
* |
* - Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* - Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* - The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ip |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __NET_IP_INTERFACE_H__ |
#define __NET_IP_INTERFACE_H__ |
#include <async.h> |
#include <ipc/services.h> |
#include "../include/device.h" |
#include "../structures/packet/packet.h" |
int ip_bind_service( services_t service, services_t me, async_client_conn_t receiver ); |
int ip_device_req( int ip_phone, device_id_t device_id, services_t service ); |
int ip_send_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t sender ); |
int ip_connect_module( services_t service ); |
#endif |
/** @} |
*/ |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |