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));;
uint32_t emptyFlag
Empty flag.
struct Payload payload
VITA 49 payload.
Transmit status information.
uint32_t underrunCount
Underrun count.
struct iphdr ip
IP header.
uint32_t packetLossCount
Packet loss count.
VITA 49 transmit-over-UDP frame information.
uint32_t contextIndicator
Context indicator.
uint32_t overrunFlag
Overrun flag.
uint32_t underrunFlag
Underrun flag.
uint32_t overrunCount
Overrun count.
uint32_t packetLossFlag
Packet loss flag.
uint32_t spaceAvailable
Space available.
struct Vita49Header v49
VITA 49 frame header.
struct Vita49Trailer vend
VITA 49 frame trailer.
Defines functionality for LibCyberRadio applications.
int16_t samples[2 *SAMPLES_PER_FRAME]
Interleaved I and Q samples.
uint32_t frameEnd
Frame end word (ASCII string "VEND")
struct ethhdr eth
Ethernet header.
Transmit status frame information.
uint32_t fullFlag
Full flag.
struct Vita49Trailer vend
VITA 49 frame trailer.
uint32_t PE
Emptying trigger.
struct Vita49Header v49
VITA 49 frame header.
struct udphdr udp
UDP header.
uint32_t CI
Change Indicator.
VITA 49 frame payload information.
uint32_t PF
Filling trigger.
struct TxStatusPayload status
Transmit status information.
uint32_t PP
Periodic notification.
VITA 49 frame trailer information.