original files of m241
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: packet.h,v $ $Revision: 1.2 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipxinc/include/netpacket/packet.h,v $
|
||||
* $Author: lob $ $Date: 2005-08-08 17:20:04 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Lennart Bang <lob@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IP_NETPACKET_PACKET_H
|
||||
#define IP_NETPACKET_PACKET_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "ipcom_config.h"
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "sys/types.h"
|
||||
#include "net/if_arp.h"
|
||||
|
||||
#include "ipcom_sock.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/* Packet types 'sll_pkttype'. Packet is addressed to: */
|
||||
#define PACKET_HOST IP_PACKET_HOST
|
||||
#define PACKET_BROADCAST IP_PACKET_BROADCAST
|
||||
#define PACKET_MULTICAST IP_PACKET_MULTICAST
|
||||
#define PACKET_OTHERHOST IP_PACKET_OTHERHOST
|
||||
#define PACKET_OUTGOING IP_PACKET_OUTGOING
|
||||
|
||||
#define PACKET_MR_MULTICAST IP_PACKET_MR_MULTICAST
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* sockaddr_ll
|
||||
*===========================================================================
|
||||
*/
|
||||
#define sockaddr_ll Ip_sockaddr_ll
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* packet_mreq
|
||||
*===========================================================================
|
||||
*/
|
||||
#define packet_mreq Ip_packet_mreq
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
Reference in New Issue
Block a user