11#ifndef INCLUDED_LIBCYBERRADIO_NDR651_PACKETTYPES_H_
12#define INCLUDED_LIBCYBERRADIO_NDR651_PACKETTYPES_H_
14#include <linux/if_ether.h>
15#include <netinet/ip.h>
16#include <netinet/udp.h>
19#define SAMPLES_PER_FRAME 1024
21#define VRLP 0x56524c50
22#define VEND 0x56454e44
68 } __attribute__((packed));
75 } __attribute__((packed));
82 } __attribute__((packed));
94 } __attribute__((aligned));
119 } __attribute__((packed));;
Provides programming elements for controlling the CyberRadio Solutions NDR651 radio.
Defines functionality for LibCyberRadio applications.
VITA 49 frame payload information.
int16_t samples[2 *SAMPLES_PER_FRAME]
Interleaved I and Q samples.
VITA 49 transmit-over-UDP frame information.
struct Vita49Trailer vend
VITA 49 frame trailer.
struct udphdr udp
UDP header.
struct Vita49Header v49
VITA 49 frame header.
struct ethhdr eth
Ethernet header.
struct iphdr ip
IP header.
struct Payload payload
VITA 49 payload.
Transmit status frame information.
struct Vita49Trailer vend
VITA 49 frame trailer.
struct Vita49Header v49
VITA 49 frame header.
struct TxStatusPayload status
Transmit status information.
Transmit status information.
uint32_t emptyFlag
Empty flag.
uint32_t contextIndicator
Context indicator.
uint32_t spaceAvailable
Space available.
uint32_t overrunFlag
Overrun flag.
uint32_t fullFlag
Full flag.
uint32_t packetLossCount
Packet loss count.
uint32_t underrunCount
Underrun count.
uint32_t underrunFlag
Underrun flag.
uint32_t CI
Change Indicator.
uint32_t PF
Filling trigger.
uint32_t PP
Periodic notification.
uint32_t PE
Emptying trigger.
uint32_t overrunCount
Overrun count.
uint32_t packetLossFlag
Packet loss flag.
VITA 49 frame trailer information.
uint32_t frameEnd
Frame end word (ASCII string "VEND")