|
Protocol++® (Protocolpp®)
v5.7.3
|
SIMD oriented Fast Mersenne Twister(SFMT) pseudorandom number generator.
More...
|
|
#define | SFMT_ALTI_H |
| |
|
#define | SFMT_ALTI_SWAP {4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15, 8, 9, 10, 11} |
| |
SIMD oriented Fast Mersenne Twister(SFMT) pseudorandom number generator.
- Author
- Mutsuo Saito (Hiroshima University)
-
Makoto Matsumoto (Hiroshima University)
Copyright (C) 2007 Mutsuo Saito, Makoto Matsumoto and Hiroshima University. All rights reserved.
The new BSD License is applied to this software. see LICENSE.txt
Reserved.
Definition: jenum.h:3861
Definition: optionparser.h:1776
REDIRECT DATAGRAM FOR THE ToS AND NETWORK - 2.
Definition: jenum.h:2741
void sign(std::shared_ptr< jarray< uint8_t >> &message, std::shared_ptr< jarray< uint8_t >> &signmsg)
ARIA cipher.
Definition: jmodes.h:924
void gen_keypair()
Generate a dilithium key pair and place in security association.
static std::shared_ptr< jlms > get_lms(std::shared_ptr< jrand > &rand, std::shared_ptr< jlmsa > &security)
Standard black.
Definition: jlogger.h:391
SHA1 Hash Algorithm.
Definition: jenum.h:4699
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
jlmots(std::shared_ptr< jrand > &rand, bool psuedorandom)
double sfmt_genrand_res53_mix()
Definition: SFMT.h:461
Name of the stream object.
Definition: jenum.h:782
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
jproducerbuf()=delete
don't use these
static std::shared_ptr< jmodes > get_auth(auth_t auth, uint8_t *authkey=nullptr, uint32_t authkeylen=0, jmodes::dir_t dir=jmodes::ENC, uint32_t count=0, uint32_t fresh=0)
Configure an internal IPv6 Address.
Definition: jenum.h:4576
Request Encapsulating Security Protocol (ESP)
Definition: jenum.h:4483
lms_algorithm_t
Definition: jenum.h:5014
802.1 Local Experimental 1
Definition: jenum.h:1561
uintptr_t get_mem(std::string packet, uint32_t length)
Definition: jikev2sa.h:965
IKE Security Association Initial Exchange.
Definition: jenum.h:3483
static std::vector< std::string > tokenizer(const char *input, const char *delimiters)
void sfmt_gen_rand_all()
Definition: SFMT-alti.h:70
Transport Control Protocol (TCP)
Definition: jenum.h:4456
void run()
run the testbench
virtual XMLElement * ToElement() override
Safely cast to an Element, or null.
Definition: tinyxml2.h:1387
Definition: jecdsaf2msa.h:255
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jlms.h:398
Bold blue.
Definition: jlogger.h:403
jarray< uint8_t > get_window()
Definition: jreplay.h:632
void issue(std::shared_ptr< ProtocolPP::jpacket > &packet)
40
Definition: jenum.h:2972
Wifi SSWACK extension.
Definition: jenum.h:3338
AES-XCBC Pseudo Random Function with 128-bit key and 16-byte ICV.
Definition: jenum.h:3746
void free()
free all pointers
IKE Child SA Key Generation Seed.
Definition: jenum.h:747
Option()
Creates a new Option that is a one-element linked list and has NULL desc, name, arg and namelen.
Definition: optionparser.h:787
void read(int idx, int len, Q *out)
Definition: jbuffacc.h:252
Name of the current curve.
Definition: jenum.h:773
Definition: optionparser.h:1797
SERPENT-GCM dual encryption and authentication mode.
Definition: jenum.h:1799
virtual ~jdilithium()=default
default
bool HasBOM() const
Definition: tinyxml2.h:2063
Decrypt data with ML-KEM Key Pair.
Definition: jenum.h:4770
Payload type field.
Definition: jenum.h:670
XMSS Algorithm.
Definition: jenum.h:840
Private Key.
Definition: jenum.h:766
void gen_keypair()
Generate a mldsa key pair and place in security association.
120
Definition: jenum.h:2996
~jsrtpsa()
Standard deconstructor.
XMSSMT using SHA256 with n=32, w=16, h=20, and d=4.
Definition: jenum.h:5100
Next header in either the extension header or the payload.
Definition: jenum.h:608
void print(Args...args)
Definition: jlogger.h:543
jmlkemsa()
ML-KEM security association with default values.
Cast Encryption.
Definition: jenum.h:3668
virtual XMLNode * ShallowClone(XMLDocument *) const override
Definition: tinyxml2.h:2188
uint32_t send(uint8_t *packet, uint32_t size)
Secure padding.
Definition: jenum.h:4722
Generate Key Pair.
Definition: jenum.h:4762
ATA over Ethernet.
Definition: jenum.h:1559
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Definition: jikeparse.h:891
JUMBOGRAM extension header - 194.
Definition: jenum.h:2177
IEEE802.15.4 frame.
Definition: jenum.h:1604
SHA3_384 authentication mode with 48 byte MAC.
Definition: jenum.h:1939
void SetAttribute(const char *name, ProtocolPP::jarray< uint8_t > value)
Sets the named attribute to value (Added for Protocol++).
Definition: tinyxml2.h:1712
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
80
Definition: jenum.h:2987
Definition: jikev2dh.h:175
Address Resolution packet.
Definition: jenum.h:1528
Block size for the block cipher.
Definition: jenum.h:794
uint64_t write_mem(uint8_t *data, uint32_t length)
Diffie-Hellman MODP Group 1024-bit.
Definition: jenum.h:3860
void ProcessData(const uint8_t *input, uint8_t *output, uint32_t length)
void get_security(std::shared_ptr< jgresa > &sec)
void ProcessData(const uint8_t *input, uint8_t *output, int length)
unsigned UnsignedValue() const
Query as an unsigned integer. See IntValue()
Definition: tinyxml2.h:1270
uint32_t get_status()
Definition: ringobj.h:499
virtual ~jstream()=default
Standard deconstructor.
void to_json()
Generate JSON output.
Schedule Transfer Protocol (STP) - 118.
Definition: jenum.h:2152
Hello Request - 0.
Definition: jenum.h:2902
virtual ~log_policy_interface()=default
standard deconstructor
Sphincs+ algorithm using SHA2 equivalent to 192-bit security.
Definition: jenum.h:5280
uint64_t get_field(field_t field)
Acorn Econet.
Definition: jenum.h:1598
cipher_t
Definition: jmodes.h:918
sphincs_algorithm_t
Definition: jenum.h:5277
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
XMSSMT using SHAKE256 with n=32, w=16, h=20, and d=2.
Definition: jenum.h:5115
SNOW3G F8 encryption algorithm.
Definition: jenum.h:1823
virtual void free(uintptr_t address)=0
LMS Signature using SHAKE with m=32, h=5.
Definition: jenum.h:5025
For the IP packet, unknown NH value.
Definition: jenum.h:2429
~jsnow3g()
Standard deconstructor.
uint8_t ByteValue() const
Query as an uint8_t. Added for ProtocolPP()
Definition: tinyxml2.h:1244
void write(int idx, int len, Q *data)
Definition: jbuffacc.h:212
virtual ~jproducerbuf()=default
standard deconstructor
Unassigned.
Definition: jenum.h:3865
tls_ciphersuite_t
Definition: jenum.h:3121
void set_field(field_t field, uint64_t value)
AX.25 - 94.
Definition: jenum.h:2128
Any private encryption scheme - 99.
Definition: jenum.h:2133
Flag indicating CHKSUM field in present in GRE.
Definition: jenum.h:862
GSA Rekey Exchange.
Definition: jenum.h:3490
XMLError QueryUnsigned64Attribute(const char *name, uint64_t *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1556
Time-to-Live field for the packet.
Definition: jenum.h:595
void resize(uint32_t newsize)
Definition: jarray.h:1060
jarray< uint8_t > get_exthdr()
Triple DES with separate keys.
Definition: jenum.h:3665
Enable Extended Sequence Number Use.
Definition: jenum.h:3937
LMS One-Time Signature using SHAKE with n=32, w=8, p=34, ls=0, sig_len=1124.
Definition: jenum.h:4915
virtual ~jgresa()
Default deconstructor.
Definition: jgresa.h:296
Definition: optionparser.h:1402
virtual XMLText * ToText() override
Safely cast to Text, or null.
Definition: tinyxml2.h:1065
First address.
Definition: jenum.h:716
mode_t
Definition: jsnowv.h:208
void set_outaddr(uintptr_t outaddr)
Definition: ringobj.h:201
FRAGMENT REASSEMBLY EXCEEDED TIME (ICMPv6) - 1.
Definition: jenum.h:2756
DEC Diagnostics.
Definition: jenum.h:1538
NIST approved Kyber key exchange post quatum algorithm.
Definition: jenum.h:1377
Number of bytes sent to responder(s)
Definition: jenum.h:805
Stats()
Creates a Stats object with counts set to 1 (for the sentinel element).
Definition: optionparser.h:988
void push_back(T rhs)
Definition: jarray.h:1044
void pkFromSig(jxmssaddr &addr, uint8_t *message, uint8_t *wots_sig, uint8_t *seed, uint8_t *pk)
static std::shared_ptr< jgre > get_gre(std::shared_ptr< jgresa > &security)
void get_packet(std::string &stream, std::shared_ptr< jpacket > &packet)
Kyber key exchange post quantum algorithm.
Definition: jenum.h:1376
Encryption salt.
Definition: jenum.h:585
notify_status_t
Definition: jenum.h:4307
None authentication.
Definition: jenum.h:1975
DESTINATION NETWORK UNKNOWN - 6.
Definition: jenum.h:2729
Subprime value for DSA (usually called "q")
Definition: jenum.h:769
IPv6 JUMBOGRAM formatting error.
Definition: jenum.h:2416
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
TLS v1.3.
Definition: jenum.h:1371
static ArgStatus Required(const option::Option &option, bool msg)
Returns ARG_OK if the argument is supplied and ARG_ILLEGAL otherwise.
Definition: optionparser.h:932
bool Error() const
Return true if there was an error parsing the document.
Definition: tinyxml2.h:2146
In ROUTE header, Multicast address present.
Definition: jenum.h:2422
LMS Signature using SHA256 with m=24, h=15.
Definition: jenum.h:5022
int threads
number of threads in this responder
Definition: jtestcfg.h:358
Sphincs+ algorithm using SHAKE equivalent to 128-bit security.
Definition: jenum.h:5284
virtual ~ringflow()=default
standard deconstructor
AES-GMAC authenticate only with 16 byte MAC.
Definition: jenum.h:1956
prf_id_t
Definition: jenum.h:3742
std::string oname
name of the output ring
Definition: jtestcfg.h:394
LMS Signature using SHAKE with m=24, h=10.
Definition: jenum.h:5031
SNOWV GCM AEAD encryption and authentication algorithm.
Definition: jenum.h:1825
int fsize
size of the flow ring in entries
Definition: jtestcfg.h:396
Certificate encoded as DNS.
Definition: jenum.h:4016
XML Parser.
Definition: jenum.h:1354
ISS.
Definition: jenum.h:693
void set_hdr(jarray< uint8_t > &hdr)
Scatter-gather table entry size.
Definition: jenum.h:809
tlslvl_t
Definition: jenum.h:2873
RCVUP.
Definition: jenum.h:696
Wifi GRANT extension.
Definition: jenum.h:3335
void sign(std::shared_ptr< jarray< uint8_t >> &message, std::shared_ptr< jarray< uint8_t >> &signedmsg)
error level of logging
Definition: jlogger.h:422
virtual bool Visit(const XMLComment &)
Visit a comment node.
Definition: tinyxml2.h:569
CRC5-USB polynomial with 5-bit output.
Definition: jenum.h:1961
uint64_t get_u64(bool use_crypto=false)
Definition: jconfidentsa.h:1484
static std::shared_ptr< jmlkem > get_mlkem(std::shared_ptr< jrand > &rand, std::shared_ptr< jmlkemsa > &security)
jarray< uint8_t > get_hdr()
NBMA Address Resolution Protocol (NARP) - 54.
Definition: jenum.h:2088
void set_field(field_t field, T fieldval)
virtual uint32_t read(uintptr_t address)=0
T get_field(field_t field)
Shared secret length for XWing algorithm.
Definition: jenum.h:890
void teardown()
terminate the driver
Definition: jdriver.h:359
TCP received ACKNUM is incorrect.
Definition: jenum.h:2412
icmpmsg_t
Definition: jenum.h:2608
Prime value for DSA (usually called "p")
Definition: jenum.h:768
uint32_t get_size()
Definition: ringobj.h:435
static void hkdf_expand(tls_ciphersuite_t ciphersuite, uint32_t keymatlen, std::shared_ptr< jarray< uint8_t >> &prk, std::shared_ptr< jarray< uint8_t >> &info, std::shared_ptr< jarray< uint8_t >> &okm)
PRIVATE EXPERIMENTATION (ICMPv6) - 201.
Definition: jenum.h:2639
uint64_t oaddr
address of the output ring
Definition: jtestcfg.h:401
virtual ~jresponder()=default
standard deconstructor
Unassigned.
Definition: jenum.h:3969
Definition: tinyxml2.h:607
NVGRE Key ID did not match.
Definition: jenum.h:2449
CRC64-ISO polynomial with 64-bit output.
Definition: jenum.h:1972
Node Virtual General Encapsulation Protocol (NVGRE)
Definition: jenum.h:1374
T get_field(field_t field)
static void gen_rand_array(w128_t *array, int size)
Definition: SFMT-alti.h:97
void get_security(std::shared_ptr< jwifisa > &sec)
Disable Extended Sequence Number Use.
Definition: jenum.h:3936
jarray< T > extract(uint32_t index, uint32_t elements)
Definition: jarray.h:1021
void get_security(std::shared_ptr< jmlkemsa > &sec)
void parse(bool gnu, const Descriptor usage[], int argc, const char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
Parses the given argument vector.
Definition: optionparser.h:1524
int ErrorLineNum() const
Return the line where the error occurred, or zero if unknown.
Definition: tinyxml2.h:2165
void set_field(field_t field, uint64_t value)
bool isFirst() const
Returns true iff this is the first element of the linked list.
Definition: optionparser.h:579
bool empty()
Definition: jarray.h:990
Length of ss bytes.
Definition: jenum.h:880
jarray< uint8_t > get_exthdr(iana_t extension, iana_t nh, jarray< uint8_t > &data, uint16_t type_offset=0, uint8_t segments=0)
SHAKE256 Keccak authentication mode with 32 byte MAC.
Definition: jenum.h:1942
jarray< uint8_t > get_hdr()
Log to std::cout.
Definition: jenum.h:813
IPv6 Routing header - 43.
Definition: jenum.h:2077
uint16_t ShortValue() const
Query as an uint16_t. Added for ProtocolPP()
Definition: tinyxml2.h:1251
void dequeue(std::string flow)
enqueue flows to responder
protocol_t
Definition: jenum.h:1338
jarray< uint8_t > get_hdr()
void get_security(std::shared_ptr< jtlsa > &sec)
PPPoE discovery messages.
Definition: jenum.h:1551
INFORMATION REPLY - 16.
Definition: jenum.h:2625
Stack in XMSS/LMS.
Definition: jenum.h:839
MIP6 Home Prefix.
Definition: jenum.h:4584
Definition: jsnow3g.h:331
DEC DDCMP: Internal only.
Definition: jenum.h:1587
const char * arg
Pointer to this Option's argument (if any).
Definition: optionparser.h:489
ECHO REQUEST - 8.
Definition: jenum.h:2617
Epoch number for DTLS.
Definition: jenum.h:699
SM3 mode authentication.
Definition: jenum.h:1957
Ethernet LoopBack mode.
Definition: jenum.h:1358
Unknown error.
Definition: jenum.h:2455
Length of intermediate bytes.
Definition: jenum.h:883
Active Networks (A/N) - 107.
Definition: jenum.h:2141
virtual void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)=0
void encrypt(std::shared_ptr< jarray< uint8_t >> &ciphertext, std::shared_ptr< jarray< uint8_t >> &sharedsecret)
bool CData() const
Returns true if this is a CDATA text element.
Definition: tinyxml2.h:1077
jdilithium(std::shared_ptr< jrand > &rand)
SPP Cap.
Definition: jenum.h:725
XMSSMT using SHA256 with n=24, w=16, h=40, and d=8.
Definition: jenum.h:5111
void get_security(std::shared_ptr< jipsecsa > &sec)
jarray< uint8_t > get_hdr()
Secure Packet Shield (SPS) - 130.
Definition: jenum.h:2164
int get_random(uint8_t *buf, uint32_t len)
Acknowledge the configuration request.
Definition: jenum.h:4528
Linux-IrDA.
Definition: jenum.h:1597
Color of warning messages in the testbench.
Definition: jenum.h:819
PACE Secure Password.
Definition: jenum.h:4678
LMS Signature using SHA256 with m=32, h=5.
Definition: jenum.h:5015
TAG Control Information and Association Number.
Definition: jenum.h:654
jarray< uint8_t > get_hdr()
Control PDU type field.
Definition: jenum.h:631
void get_prf(prf_id_t prf, jarray< uint8_t > &key, jarray< uint8_t > &data, std::shared_ptr< jarray< uint8_t >> &output)
Stream cipher mode (ARC4, CHACHA20)
Definition: jmodes.h:979
void enqueue(std::string &flow)
Sphincs+ algorithm using SHAKE equivalent to 256-bit security.
Definition: jenum.h:5289
Definition: optionparser.h:1755
Nonce.
Definition: jenum.h:3546
virtual XMLDeclaration * ToDeclaration()
Safely cast to a Declaration, or null.
Definition: tinyxml2.h:770
802.1Q VLAN Extended Header
Definition: jenum.h:1545
virtual void encap_packet(std::shared_ptr< jarray< uint8_t >> &output)
Definition: jprotocol.h:273
Extensible Authentication.
Definition: jenum.h:3554
Semaphore Communications Security Protocol (SCC-SP) - 96.
Definition: jenum.h:2130
ML-DSA signature algorithm with 2592 byte public key and 4595 byte signature.
Definition: jenum.h:5236
Packet number rollunder error.
Definition: jenum.h:2401
Salt size for cipher is incorrect.
Definition: jenum.h:2427
Secure Channel Identifier.
Definition: jenum.h:657
void gen_keypair()
Generate a Falcon key pair and place in security association.
Payload had zero length data.
Definition: jenum.h:2419
void push(const TR &data)
Definition: jring.h:130
Definition: jsecresponder.h:140
jarray< uint8_t > pad(pad_t padtype, uint32_t len)
Sequence number overflow.
Definition: jenum.h:2539
Authenticate only with AES-GMAC.
Definition: jenum.h:3402
void set(std::shared_ptr< std::map< int, tstcfg >> &cfg)
Updates the configuration for rings, responders, and threads.
90
Definition: jenum.h:2988
std::string get_readlat()
Select acknowledge.
Definition: jtcp.h:535
void encrypt(std::shared_ptr< jarray< uint8_t >> &ciphertext, std::shared_ptr< jarray< uint8_t >> &sharedsecret)
Dynamic Source Routing Protocol (DSR) - 48.
Definition: jenum.h:2082
SERPENT-CCM dual encryption and authentication mode.
Definition: jenum.h:1798
IKE Initiator Security Parameter Index.
Definition: jenum.h:743
StoreOptionAction(Parser &parser_, Option options_[], Option buffer_[], int bufmax_)
Number of slots in buffer. -1 means "large enough".
Definition: optionparser.h:1479
CHACHA20 stream cipher.
Definition: jmodes.h:927
Length of the authentication key.
Definition: jenum.h:580
Bitmap for LTE.
Definition: jenum.h:642
void encap_packet(std::shared_ptr< jarray< uint8_t >> &output)
void set_size(uint32_t size)
Definition: ringobj.h:183
void get_security(std::shared_ptr< judpsa > &sec)
ML-KEM shared secret with 512-bit public key.
Definition: jenum.h:5196
To Data Stream.
Definition: jenum.h:707
void parse(const Descriptor usage[], int argc, char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
POSIX parse() (gnu==false) with non-const argv.
Definition: optionparser.h:1214
Interior Gateway Protocol (IGP) - 9.
Definition: jenum.h:2043
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
XMLError QueryByteValue(uint8_t *value) const
CountOptionsAction(unsigned *buffer_max_)
Definition: optionparser.h:1446
void set_field(field_t field, T fieldval)
void move(uintptr_t newAddress)
Definition: jring.h:206
jikeparse()=delete
don't use these
ICMP.
Definition: jenum.h:1351
Diffie-Hellman MODP Group 1536-bit.
Definition: jenum.h:3863
jarray< uint8_t > get_hdr()
ROUTER SOLICITATION - 10.
Definition: jenum.h:2619
std::ofstream out_stream
Output file stream object.
Definition: jlogger.h:234
virtual ~jcrc()=default
Standard deconstructor.
T get_field(field_t field)
Sphincs+ algorithm using SHAKE equivalent to 128-bit security.
Definition: jenum.h:5285
void gen_keypair()
Generate a XMSS key pair and place them in the security association.
void set_hdr(jarray< uint8_t > &hdr)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Definition: jtestcfg.h:390
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Option * prevwrap()
Returns a pointer to the previous element of the linked list with wrap-around from first() to last().
Definition: optionparser.h:674
virtual void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)=0
Counter Mode.
Definition: jmodes.h:971
IPX over DIX.
Definition: jenum.h:1546
void ProcessData(const unsigned char *input, unsigned char *output, uint32_t length, const unsigned char *aad, uint32_t aadlen)
LinePartIterator(const Descriptor usage[])
Creates an iterator for usage.
Definition: optionparser.h:2004
T get_seqnum()
Definition: jreplay.h:640
void gen_keypair()
Generate a LMS key pair and place in security association.
Ethernet type.
Definition: jenum.h:652
Camellia-CCM Encryption with 12-byte ICV.
Definition: jenum.h:3688
uint64_t get_mem(std::string packet, uint32_t length)
rohc_attr_t
Definition: jenum.h:4654
void enque(std::shared_ptr< std::list< std::array< T, Q >>> &buffers)
Definition: jbuffman.h:288
Pop the top of the XMSS/LMS stack.
Definition: jenum.h:842
Extended packet number.
Definition: jenum.h:656
Definition: jtestcfg.h:357
void get_security(std::shared_ptr< jltesa > &sec)
Sequence number is replay.
Definition: jenum.h:2537
Use extended sequence number.
Definition: jenum.h:613
Gateway Internet Address.
Definition: jenum.h:624
SHA2_256 Hash Algorithm.
Definition: jenum.h:4700
FRAGMENT REASSEMBLY TIME EXPIRED - 1.
Definition: jenum.h:2744
NETWORK UNREACHABLE FOR ToS - 11.
Definition: jenum.h:2734
Ethernet.
Definition: jenum.h:1359
void process(IStringWriter &write, const char *data, int len)
Process, wrap and output the next piece of data.
Definition: optionparser.h:2360
HMAC-SHA2-512 Authentication with 256-bit ICV.
Definition: jenum.h:3799
virtual std::pair< bool, uintptr_t > get_mem(std::string packet, uint32_t length)=0
Delete.
Definition: jenum.h:3548
void sfmt_init_by_array(uint32_t *init_key, int key_length)
Receive size window.
Definition: jenum.h:681
platform_t
Definition: jenum.h:1250
std::string to_string(bool printable=false, int indent=10, bool xml=false)
Definition: jarray.h:1204
~jintegritysa()
Standard deconstructor.
void set_addr(uintptr_t address)
Definition: ringobj.h:441
Read of missing file handle.
Definition: jenum.h:2407
Definition: aead_chacha_poly1305.h:241
IKE Psuedo Random Function Algorithm.
Definition: jenum.h:755
XMSSMT using SHAKE256 with n=24, w=16, h=60, and d=12.
Definition: jenum.h:5130
Wifi DMGCTS extension.
Definition: jenum.h:3343
Label field for IPv6.
Definition: jenum.h:600
int numbufs()
return number of buffers being managed
Definition: jbuffacc.h:319
int line()
Returns the index (counting from 0) of the line within the current column this part belongs to.
Definition: optionparser.h:2179
Option * first()
Returns a pointer to the first element of the linked list.
Definition: optionparser.h:608
802.1ad Service VLAN
Definition: jenum.h:1560
JProtocol base class.
Definition: jenum.h:1340
jarray< uint8_t > get_hdr()
ADDRESS MASK REPLY - 18.
Definition: jenum.h:2627
SOURCE HOST ISOLATED - 8.
Definition: jenum.h:2731
XMLError QueryByteAttribute(const char *name, uint8_t *value) const
Definition: tinyxml2.h:1509
Wang Span Network (WSN) - 74.
Definition: jenum.h:2108
void get_data(std::shared_ptr< jarray< uint8_t >> &data)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Korean cipher ARIA in CBC mode.
Definition: jenum.h:1808
jarray< uint8_t > get_hdr()
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
uint64_t get_field(ProtocolPP::field_t field)
std::vector< tstresp > resp
vector of responders
Definition: jtestcfg.h:403
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
XMSS using SHA256 with n=32, w=16, and h=20.
Definition: jenum.h:4962
AES-256-GMAC Authentication with 256-bit ICV.
Definition: jenum.h:3796
void SetAttribute(const char *value)
Set the attribute to a string value.
Management(WIFI2) - Reassociation Request / Control - RSVD / Data - Data + CF-Poll.
Definition: jenum.h:3279
45
Definition: jenum.h:2977
ike_hash_t
Definition: jenum.h:4698
LMS One-Time Signature using SHAKE with n=24, w=1, p=256, ls=7, sig_len=8516.
Definition: jenum.h:4916
XMLHandle(const XMLHandle &ref)
Copy constructor.
Definition: tinyxml2.h:2332
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Kyber shared secret with 512-bit public key.
Definition: jenum.h:5177
virtual bool VisitExit(const XMLDocument &)
Visit a document.
Definition: tinyxml2.h:547
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Group Security Association.
Definition: jenum.h:3557
IEEE Pause frames. See 802.3 31B.
Definition: jenum.h:1548
Internal DNS Domain.
Definition: jenum.h:4593
static std::shared_ptr< jsrtp > get_srtp(std::shared_ptr< jrand > &rand, std::shared_ptr< jsrtpsa > &security, std::string replay=std::string("NORMAL"))
Option * nextwrap()
Returns a pointer to the next element of the linked list with wrap-around from last() to first().
Definition: optionparser.h:716
Sphincs+ algorithm using SHA2 equivalent to 192-bit security.
Definition: jenum.h:5281
ERRORONEOUS HEADER FIELD (ICMPv6) - 0.
Definition: jenum.h:2757
XMSS Signature method.
Definition: jenum.h:1369
virtual ~jsrtp()=default
Standard deconstructor.
Unassigned.
Definition: jenum.h:3864
Definition: tinyxml2.h:386
AES-CBC encryption mode.
Definition: jenum.h:1790
XMSS no type with n=0, w=0, and h=0.
Definition: jenum.h:4959
Logging level.
Definition: jenum.h:807
void set_hdr(jarray< uint8_t > &hdr)
Transport Layer Security v1.2 - 0x0303.
Definition: jenum.h:2821
size_t CStrSize() const
Definition: tinyxml2.h:2609
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
uintptr_t get_addr()
Definition: ringobj.h:429
void verify(std::shared_ptr< jarray< uint8_t >> &data)
Definition: jipsec.h:1724
jxmssa()
XMSS security association with default values.
Definition: jintegritysa.h:738
void teardown()
terminate the driver
Encryption Key Sequence. Index of TEK and IV used to encrypt the payload.
Definition: jenum.h:731
const char * nonOption(int i)
Returns nonOptions()[i] (without checking if i is in range!).
Definition: optionparser.h:1272
Chinese Block Cipher SM4 in CTR mode.
Definition: jenum.h:1819
dir_t
Direction of processing for dual mode.
Definition: aead_chacha_poly1305.h:250
virtual XMLUnknown * ToUnknown() override
Safely cast to an Unknown, or null.
Definition: tinyxml2.h:1177
virtual ~jicmpsa()=default
Standard deconstructor.
Length of the cipher key.
Definition: jenum.h:577
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
REJECT ROUTE TO DESTINATION (ICMPv6) - 6.
Definition: jenum.h:2754
uint32_t roundup(uint32_t value, uint32_t mult)
uint64_t get_field(field_t field)
LMS One-Time Signature using SHAKE with n=32, w=4, p=67, ls=4, sig_len=2180.
Definition: jenum.h:4914
void set_protect(uint32_t protect)
Definition: ringobj.h:189
void context(unsigned char *ctx, uint32_t length=144)
void set_addr(uintptr_t address)
Definition: ringobj.h:283
T get_field(field_t field)
Client Key Exchange - 16.
Definition: jenum.h:2911
int length()
Returns the length of the part pointed to by data() in raw chars (not UTF-8 characters).
Definition: optionparser.h:2187
Option * last()
Returns a pointer to the last element of the linked list.
Definition: optionparser.h:640
XMLHandle PreviousSiblingElement(const char *name=0)
Get the previous sibling element of this handle.
Definition: tinyxml2.h:2361
CRC32-IETF polynomial with 32-bit output.
Definition: jenum.h:1970
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
const Descriptor * desc
Pointer to this Option's Descriptor.
Definition: optionparser.h:465
void set_field(field_t field, T fieldval)
int screenLength()
Returns the width in screen columns of the part pointed to by data(). Takes multi-byte UTF-8 sequence...
Definition: optionparser.h:2196
Falcon algorithm with 512-bit public key.
Definition: jenum.h:5252
void result(uint8_t *icv, uint32_t icvlen)
Certificate Verify - 15.
Definition: jenum.h:2910
void set_field(field_t field, uint64_t value)
std::string fname
name of the flow
Definition: jtestcfg.h:392
kyber_algorithm_t
Definition: jenum.h:5176
XMSS using SHAKE256 with n=32, w=16, and h=16.
Definition: jenum.h:4967
static void do_recursion(w128_t *r, w128_t *a, w128_t *b, w128_t *c, w128_t *d)
Definition: SFMT-common.h:144
Management(WIFI3) - Reassociation Response / Control - RSVD / Data - Data + CF-Ack + CF-Poll.
Definition: jenum.h:3287
Fibre Channel (FC) - 133.
Definition: jenum.h:2167
One-Time Signature Address, LTREE address, or padding.
Definition: jenum.h:832
IKE Psuedo Random Total Key Length.
Definition: jenum.h:756
XTS drive encryption.
Definition: jmodes.h:973
Certificate encoded as HASH_URL.
Definition: jenum.h:4025
SNDW1.
Definition: jenum.h:691
Color of debug messages into the testbench.
Definition: jenum.h:817
Authentication key.
Definition: jenum.h:581
Xerox PUP packet.
Definition: jenum.h:1524
void sign(std::shared_ptr< jarray< uint8_t >> &data, std::shared_ptr< jarray< uint8_t >> &signature)
BBN RCC Monitoring (BBN_RCC_MON) - 10.
Definition: jenum.h:2044
void parse(const Descriptor usage[], int argc, const char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
POSIX parse() (gnu==false).
Definition: optionparser.h:1207
XMLError QueryBoolAttribute(const char *name, bool *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1565
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Layer Two Tunneling Protocol Version 3 (L2TP) - 115.
Definition: jenum.h:2149
MODP Group 2048-bit with 224-bit Prime Order Subgroup.
Definition: jenum.h:3881
ECP Group 521-bit.
Definition: jenum.h:3879
static void mm_recursion(__m128i *r, __m128i a, __m128i b, __m128i c, __m128i *d)
Definition: SFMT-sse2-msc.h:229
Fragment offset from first packet.
Definition: jenum.h:601
Winternitz parameter.
Definition: jenum.h:838
jarray< uint8_t > getbyte(uint32_t amount, bool use_crypto=false)
Send queue is full.
Definition: jenum.h:2431
No encryption algorithm chosen.
Definition: jenum.h:1827
More fragmentation.
Definition: jenum.h:709
ECP Group 384-bit.
Definition: jenum.h:3878
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jdilithium.h:196
void set_field(field_t field, uint64_t value)
DESTINATION HOST UNKNOWN - 7.
Definition: jenum.h:2730
Dummy packet warning.
Definition: jenum.h:2417
virtual uint32_t read(uintptr_t address)=0
uint32_t pop(uint8_t *output, uint32_t size)
LMOTS seed value.
Definition: jenum.h:854
Time this MacSEC last disabled RX or TX.
Definition: jenum.h:666
MacSEC flow is in use (RX or TX)
Definition: jenum.h:663
void verify(std::shared_ptr< jarray< uint8_t >> &data)
void set_field(field_t field, uint64_t value)
Authentication transform.
Definition: jenum.h:3601
DEC DNA Remote Console.
Definition: jenum.h:1535
void set_field(field_t field, T fieldval)
Polling bit.
Definition: jenum.h:632
Quality of Service field.
Definition: jenum.h:721
Pointer to error in packet.
Definition: jenum.h:622
void reverse()
Method to reverse the elements of the array.
Definition: jarray.h:1169
Definition: StdCapture.h:85
const Option * first() const
Definition: optionparser.h:619
Unassigned.
Definition: jenum.h:3871
void get_security(std::shared_ptr< jconfidentsa > &sec)
void set_engine(std::shared_ptr< jprotocol > engine)
AES-192-GMAC Authentication with 192-bit ICV.
Definition: jenum.h:3795
Card specific control frames.
Definition: jenum.h:1596
Kd identity.
Definition: jenum.h:646
30
Definition: jenum.h:2971
THe attempt to generate a new key was rejected.
Definition: jenum.h:2441
Definition: jmemblobsa.h:185
802.1ah Backbone Service Tag
Definition: jenum.h:1564
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void base_w(uint8_t *input, uint8_t *output, uint32_t outlen)
802.1Q MVRP
Definition: jenum.h:1565
802.1Q Instance VLAN
Definition: jenum.h:1573
Macsec protocol.
Definition: jenum.h:1341
ML-DSA signature algorithm with 1952 byte public key and 3293 byte signature.
Definition: jenum.h:5235
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
INFORMATION REQUEST - 15.
Definition: jenum.h:2624
The key type does not support reading of the payload data.
Definition: jenum.h:2438
XMLError QueryAttribute(const char *name, uint8_t *value) const
Definition: tinyxml2.h:1652
Management(WIFI15) - RSVD / Control - CF-End + CF-Ack / Data - QoS CF-Ack + CF-Poll (no data)
Definition: jenum.h:3290
void set_field(field_t field, uint64_t value)
virtual void write(uintptr_t address, uint32_t data)=0
static uint32_t to_u32(jarray< uint8_t > src_array)
virtual ~jicmp()=default
Standard deconstructor.
void get_security(std::shared_ptr< jipsa > &sec)
Unassigned.
Definition: jenum.h:4072
void get_security(std::shared_ptr< jfalconsa > &sec)
Nokia Phonet frames.
Definition: jenum.h:1603
Length of compressed polynomial vector.
Definition: jenum.h:882
Padding error in packet.
Definition: jenum.h:2453
Internal IPv6 Link.
Definition: jenum.h:4585
void set_field(field_t field, T value)
WOTS+ using SHAKE256 with n=32, w=16.
Definition: jenum.h:4872
Polynomial for CRC.
Definition: jenum.h:799
Configure a IPv4 NBNS setting.
Definition: jenum.h:4572
bool NoChildren() const
Returns true if this node has no children.
Definition: tinyxml2.h:832
ECHO REPLY - 0.
Definition: jenum.h:2609
virtual ~jbuffacc()=default
standard destructor
ARC4 stream cipher.
Definition: jmodes.h:932
Group Identification.
Definition: jenum.h:3556
Public key length.
Definition: jenum.h:861
static uint64_t to_u64(jarray< uint8_t > src_array)
47
Definition: jenum.h:2979
Header Type where zero for generic MAC header.
Definition: jenum.h:727
VXLAN Network Identifier.
Definition: jenum.h:870
Packet number.
Definition: jenum.h:655
Identifier from the invoking message.
Definition: jenum.h:623
Core-base trees (CBT) - 7.
Definition: jenum.h:2041
Length of the ICV.
Definition: jenum.h:610
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
double sfmt_to_real3(uint32_t v)
Definition: SFMT.h:406
Count value for F8/F9 modes.
Definition: jenum.h:651
LMS One-Time Signature using SHA256 with n=24, w=1, p=256, ls=7, sig_len=8516.
Definition: jenum.h:4908
Request Internet Key Exchange Protocol (IKE)
Definition: jenum.h:4481
virtual ~jsectestbench()=default
standard deconstructor
IKE Session Resume Exchange.
Definition: jenum.h:3487
Generate an incrementing string of bytes.
Definition: jenum.h:1274
Sitara Networks Protocol (SNP) - 109.
Definition: jenum.h:2143
POLY1305 authentication mode with 16 byte MAC.
Definition: jenum.h:1954
void set_field(field_t field, T fieldval)
GSA Registration Exchange.
Definition: jenum.h:3489
Size field.
Definition: jenum.h:781
No Protocol.
Definition: jenum.h:1383
Enable transmission of packets.
Definition: jenum.h:661
static void swap(w128_t *array, int size)
Definition: SFMT-alti.h:148
Camellia Cipher.
Definition: jmodes.h:923
XMLError QueryStringAttribute(const char *name, const char **value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1590
VXLAN tag did not match.
Definition: jenum.h:2451
void SetName(const char *str, bool staticMem=false)
Set the name of the element.
Definition: tinyxml2.h:1383
Control frame.
Definition: jenum.h:3234
T get_field(field_t field)
void set_hdr(jarray< uint8_t > &hdr)
Anti-replay late packet error found.
Definition: jenum.h:2398
PKCS Encryption scheme.
Definition: jenum.h:4737
ROHC Maximum CID.
Definition: jenum.h:4655
HOST PRECEDENCE VIOLATION - 14.
Definition: jenum.h:2737
PACKET TOO BIG (ICMPv6) - 2.
Definition: jenum.h:2630
Wifi GRANTACK extension.
Definition: jenum.h:3347
void set_status(uint32_t status)
Definition: ringobj.h:295
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Traffic Selector with IPv6 Address Range.
Definition: jenum.h:4506
ZUC F8 encryption mode.
Definition: jmodes.h:931
IPv6 Extension header(s)
Definition: jenum.h:607
unsigned buffer_max
Number of elements needed for a buffer[] array to be used for parsing the same argument vectors that ...
Definition: optionparser.h:970
std::string iname
name of the input ring
Definition: jtestcfg.h:393
IPv6 No Next header - 59.
Definition: jenum.h:2093
Wifi POLL extension.
Definition: jenum.h:3337
const char ** nonOptions()
Returns a pointer to an array of non-option arguments (only valid if nonOptionsCount() >0 ).
Definition: optionparser.h:1264
Datagram Congestion Control Protocol (DCCP) - 33.
Definition: jenum.h:2067
Definition: tinyxml2.h:2507
Reserved.
Definition: jenum.h:3672
Xerox PUP (PUP) - 12.
Definition: jenum.h:2046
IDPR Control Message Transport Protocol (IDPR-CMTP) - 38.
Definition: jenum.h:2072
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Fibre Channel over Ethernet.
Definition: jenum.h:1567
Definition: EnumString.h:177
Enable audint of IP flow.
Definition: jenum.h:616
jexecbuf()=delete
dont use
bool integrity(direction_t dir, std::shared_ptr< jikev2sa > &sa, jarray< uint8_t > &input, std::shared_ptr< jarray< uint8_t >> &icv)
Value of the TYPE (0, 1, or 2)
Definition: jenum.h:831
void set_field(field_t field, T fieldval)
(BOTH) represents waiting for a connection termination request from the remote TCP,...
Definition: jtcp.h:548
jmldsa(std::shared_ptr< jrand > &rand)
void SetAttribute(const char *name, const char *value)
Sets the named attribute to value.
Definition: tinyxml2.h:1702
WiMax protocol.
Definition: jenum.h:1344
Management(WIFI1) - Association Response / Control - RSVD / Data - Data + CF-Ack.
Definition: jenum.h:3283
Definition: ciphers.h:242
LMS One-Time Signature using SHA256 with n=32, w=4, p=67, ls=4, sig_len=2180.
Definition: jenum.h:4906
Length of compressed polynomial.
Definition: jenum.h:881
Acknowledge message - 0x1A.
Definition: jenum.h:2854
Home Agent Address.
Definition: jenum.h:4587
Datagram Transport Layer Security v1.3 - 0xFFFD.
Definition: jenum.h:2824
XMSSMT no type.
Definition: jenum.h:5098
void sign(std::shared_ptr< jarray< uint8_t >> &message, std::shared_ptr< jarray< uint8_t >> &signedmsg)
virtual bool VisitExit(const XMLDocument &) override
Visit a document.
Definition: tinyxml2.h:2585
static std::shared_ptr< jmldsa > get_mldsa(std::shared_ptr< jrand > &rand, std::shared_ptr< jmldsasa > &security)
~jmemblobsa()
Standard deconstructor.
Signature verification failed.
Definition: jenum.h:2446
void write(const std::string &msg)
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Reserved Configuration.
Definition: jenum.h:4577
Definition: tinyxml2.h:2322
virtual ~jtestcfg()=default
jtestcfg standard deconstructor
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
void run()
run the testbench and issue packets
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
ICMP Type.
Definition: jenum.h:620
Identity Hash Algorithm.
Definition: jenum.h:4703
double sfmt_to_res53_mix(uint32_t x, uint32_t y)
Definition: SFMT.h:451
Sequence control.
Definition: jenum.h:719
TTP - 84.
Definition: jenum.h:2118
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Triple-DES ECB encryption mode with 192-bit key.
Definition: jenum.h:1787
void set_size(uint32_t size)
Definition: ringobj.h:447
jarray< uint8_t > get_hdr()
Packet number rollover error.
Definition: jenum.h:2400
FlowID field for GRE.
Definition: jenum.h:868
Definition: jdilithiumsa.h:86
Korean Block Cipher SEED in ECB mode.
Definition: jenum.h:1812
Cipher for encryption.
Definition: jenum.h:576
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Any distributed file system - 68.
Definition: jenum.h:2102
void set_outlen(uint32_t outlen)
Definition: ringobj.h:207
~jbuffer()
standard destructor
Definition: jbuffer.h:162
Certificate encoded as CRL.
Definition: jenum.h:4020
static std::string toStr(jlogger::asciicolor jcolor)
void result(unsigned char *mac, uint32_t length=16)
LMOTS number of w-bit elements in signature.
Definition: jenum.h:850
ike_ts_t
Definition: jenum.h:4504
virtual bool Visit(const XMLUnknown &)
Visit an unknown node.
Definition: tinyxml2.h:573
Korean Block Cipher SEED in GCM mode.
Definition: jenum.h:1816
~jkybersa()
Standard deconstructor.
void set_computlat(const char *latency)
Slow Protocol. See 802.3ad 43B.
Definition: jenum.h:1549
int buflen()
return length of individual buffers
Definition: jbuffacc.h:313
Internet Stream Protocol (ST) - 5.
Definition: jenum.h:2039
static std::shared_ptr< jdtls13 > get_dtls13(std::shared_ptr< jrand > &rand, std::shared_ptr< jdtlsa13 > &security, std::string replay=std::string("NORMAL"))
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void context(uint16_t *ctx)
PRIVATE EXPERIMENTATION (ICMPv6) - 101.
Definition: jenum.h:2634
std::string readlatency
latency for reads to memory
Definition: jtestcfg.h:362
Audit for received fragment when no fragments allowed.
Definition: jipsec.h:1741
static void hkdf_extract(tls_ciphersuite_t ciphersuite, jarray< uint8_t > &salt, jarray< uint8_t > &ikm, std::shared_ptr< jarray< uint8_t >> &prk)
void free_mem(std::string packet)
jbuffman()
standard constructor for 16k buffers of size Q
Definition: jbuffman.h:239
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jfalcon.h:196
Management(WIFI5) - Probe Response / Control - RSVD / Data - CF-Ack (no data)
Definition: jenum.h:3285
Internet Protocol packet.
Definition: jenum.h:1526
XMSSMT using SHA256 with n=24, w=16, h=40, and d=6.
Definition: jenum.h:5113
Transport Layer Security v1.0 - 0x0301.
Definition: jenum.h:2819
IKE Exchange Type.
Definition: jenum.h:737
Timestamp field.
Definition: jenum.h:672
PNNI over IP (PNNI) - 102.
Definition: jenum.h:2136
const char * Value() const
The value of the attribute.
double DoubleValue() const
Query as a double. See IntValue()
Definition: tinyxml2.h:1282
id_type_t
Definition: jenum.h:3962
mlkem_algorithm_t
Definition: jenum.h:5195
jarray< uint8_t > get_hdr()
const char *const shortopt
Each char in this string will be accepted as a short option character.
Definition: optionparser.h:358
void set_field(field_t field, T fieldval)
XMSSMT using SHAKE256 with n=32, w=16, h=60, and d=12.
Definition: jenum.h:5122
Definition: jdtlsa13.h:360
virtual ~jtestbenchbuf()=default
standard deconstructor
Time this MacSEC last enabled RX or TX.
Definition: jenum.h:665
void open_ostream(const std::string &name)
void set_field(field_t field, T fieldval)
ringout(uintptr_t address, uint32_t size, uint32_t status)
Definition: ringobj.h:249
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
ST-Ericsson CAIF protocol.
Definition: jenum.h:1605
Extension bit.
Definition: jenum.h:633
HMAC-SHA2-256 Authentication with 128-bit ICV.
Definition: jenum.h:3797
Vendor ID.
Definition: jenum.h:3549
virtual ~jfalcon()=default
default
Datagram Transport Layer Security - 0xFFFE.
Definition: jenum.h:2823
Configure a IPv4 NBNS setting.
Definition: jenum.h:4433
XMSSMT using SHAKE256 with n=32, w=16, h=40, and d=4.
Definition: jenum.h:5118
void set_hdr(jarray< uint8_t > &hdr)
Chinese Block Cipher SM4 in ECB mode.
Definition: jenum.h:1817
Destination Address.
Definition: jenum.h:606
Xpress Transport Protocol (XTP) - 36.
Definition: jenum.h:2070
jmldsasa()
mldsa security association with default values
T get_field(field_t field)
Signature object for Ed25519.
Definition: jenum.h:775
802.2 frames
Definition: jenum.h:1585
P CSCF IPv4 Address.
Definition: jenum.h:4588
NSFNET-IGP - 86.
Definition: jenum.h:2120
DEC DNA Routing.
Definition: jenum.h:1536
virtual ~jintegrity()=default
Standard deconstructor.
Sequence number is outside the window (LATE)
Definition: jenum.h:2538
ots_addrtype_t
Definition: jenum.h:4849
warning level of logging
Definition: jlogger.h:421
SEGLEN.
Definition: jenum.h:685
DTLSv13 maximum packets failed ICV check.
Definition: jenum.h:2452
Secure RTP protocol.
Definition: jenum.h:1348
dir_t
Definition: jsnowv.h:198
NULL ID type.
Definition: jenum.h:3975
int namelen
The length of the option name.
Definition: optionparser.h:510
0
Definition: jenum.h:2966
static std::shared_ptr< jecdsaf2m > get_ecdsaf2m(std::shared_ptr< jecdsaf2msa > &security)
AES-CTR Encryption.
Definition: jenum.h:3675
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Transport Layer Security Protocol (using Kryptonet key management) - 56.
Definition: jenum.h:2090
jarray< char > getchar(uint32_t amount)
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
IPv6 Hop-by-Hop Option - 0.
Definition: jenum.h:2034
Infiniband over Ethernet.
Definition: jenum.h:1568
virtual void operator()(const char *str, int size)
Writes the given number of chars beginning at the given pointer somewhere.
Definition: optionparser.h:1824
XMLError ErrorID() const
Return the errorID.
Definition: tinyxml2.h:2150
Definition: jikeparse.h:887
ROHC ICV Length.
Definition: jenum.h:4658
Kyber Q inverse parameters (// q^-1 mod 2^16 = 62209)
Definition: jenum.h:885
Super Field (SUFI)
Definition: jenum.h:639
LMS One-Time Signature using SHAKE with n=24, w=4, p=67, ls=4, sig_len=2180.
Definition: jenum.h:4918
void set_field(field_t field, uint64_t value)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
MKI flag.
Definition: jenum.h:676
jarray< uint8_t > get_hdr()
XMLHandle(XMLNode &node)
Create a handle from a node.
Definition: tinyxml2.h:2329
GMTP - 100.
Definition: jenum.h:2134
void set_field(field_t field, T fieldval)
Address in the binary tree.
Definition: jenum.h:829
void set_field(field_t field, T fieldval)
Cipher Block Chaining.
Definition: jmodes.h:969
XMSSMT using SHA256 with n=24, w=16, h=40, and d=2.
Definition: jenum.h:5109
uint32_t func1(uint32_t x)
jarray< uint8_t > get_hdr()
111
Definition: jenum.h:2991
No error.
Definition: jenum.h:2397
virtual bool VisitEnter(const XMLElement &, const XMLAttribute *)
Visit an element.
Definition: tinyxml2.h:552
XMSSMT using SHA256 with n=24, w=16, h=40, and d=3.
Definition: jenum.h:5112
XMSSMT using SHAKE256 with n=32, w=16, h=20, and d=4.
Definition: jenum.h:5116
RCVWND.
Definition: jenum.h:695
ADDRESS UNREADCHABLE (ICMPv6) - 3.
Definition: jenum.h:2751
Definition: ringobj.h:222
~jmlkemsa()
Standard deconstructor.
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Simple Multicast Protocol (SM) - 122.
Definition: jenum.h:2156
virtual ~jlmots()=default
default
void get_security(std::shared_ptr< jintegritysa > &sec)
void verify(std::shared_ptr< jarray< uint8_t >> &signedmsg, std::shared_ptr< jarray< uint8_t >> &message)
KPDK_MD5 Authentication with 128-bit ICV.
Definition: jenum.h:3789
void close_ostream()
close_ostream - close the log file
void set_field(field_t field, uint64_t value)
~jmacsecsa()
Standard deconstructor.
void operator|=(jarray< T > &rhs)
Definition: jarray.h:1406
Definition: tinyxml2.h:537
UNRECOGNIZED NEXT HEADER (ICMPv6) - 1.
Definition: jenum.h:2758
void get_security(std::shared_ptr< jdilithiumsa > &sec)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Mobility Extension Header for IPv6 - 135.
Definition: jenum.h:2169
std::string get_stream()
Definition: ringobj.h:159
uint64_t write_mem(uint8_t *data, uint32_t length)
Definition: jdriver.h:332
ipsec_mode_t
Definition: jenum.h:3457
ECP Group 256-bit.
Definition: jenum.h:3877
Key pair.
Definition: jenum.h:765
XMLError QueryInt64Attribute(const char *name, int64_t *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1547
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jxmss.h:487
~jsnowv()
Standard deconstructor.
Initialization vector size is incorrect.
Definition: jenum.h:2426
SOURCE ADDRESS FAILED POLICY (ICMPv6) - 5.
Definition: jenum.h:2753
LMS One-Time Signature using SHA256 with n=24, w=4, p=67, ls=4, sig_len=2180.
Definition: jenum.h:4910
Generate unknown padding.
Definition: jenum.h:1277
Wireless Encryption Protection (WEP)
Definition: jenum.h:713
Definition: chacha20.h:104
void get_security(std::shared_ptr< jsrtpsa > &sec)
HMAC-SHA1-160 Authentication with 160-bit ICV.
Definition: jenum.h:3792
void operator&=(jarray< T > &rhs)
Definition: jarray.h:1422
virtual ~jexec()=default
standard deconstructor
void insert(uint32_t index, jarray< T > &rhs)
Definition: jarray.h:1100
Big endian with formatting as b[3]b[2]b[1]b[0].
Definition: jenum.h:1225
void sign(std::shared_ptr< jarray< uint8_t >> &message, std::shared_ptr< jarray< uint8_t >> &lms_sig)
Definition: jfalconsa.h:86
XMSSMT using SHAKE256 with n=24, w=16, h=60, and d=6.
Definition: jenum.h:5129
Memory BLOB.
Definition: jenum.h:1368
HMAC_SHA2_384 keyed authentication mode with 48 byte MAC.
Definition: jenum.h:1947
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
HMAC_SHA1 keyed authentication mode with 20 byte MAC.
Definition: jenum.h:1944
void set_packet(std::string &stream, std::shared_ptr< jpacket > &newpkt)
Burroughs Network Architecture (BNA) - 49.
Definition: jenum.h:2083
TRACEROUTE - 30.
Definition: jenum.h:2628
virtual ~jmlkem()=default
default
T get_field(field_t field)
jarray< uint8_t > get_hdr()
jarray()
Standard constructor for jarray class.
Definition: jarray.h:692
ARGUS - 13.
Definition: jenum.h:2047
AES-ECB encryption mode.
Definition: jenum.h:1789
Advanced Encryption Standard.
Definition: jmodes.h:919
int nonOptionsCount()
Returns the number of non-option arguments that remained at the end of the most recent parse() that a...
Definition: optionparser.h:1248
Setup flag.
Definition: jenum.h:780
DES-CBC encryption mode.
Definition: jenum.h:1785
T get_field(field_t field)
XMLError QueryAttribute(const char *name, uint16_t *value) const
Definition: tinyxml2.h:1669
void serase()
Method to scrub array in memory.
Definition: jarray.h:1531
falcon_algorithm_t
Definition: jenum.h:5251
void set_field(field_t field, uint64_t value)
bool nextRow()
Moves iteration to the next row (if any). Has to be called once after each call to nextTable() to mov...
Definition: optionparser.h:2048
uint32_t get_size()
Definition: ringobj.h:147
SCPS (Space Communications Protocol Standards) - 105.
Definition: jenum.h:2139
PRECEDENCE CUTOFF IN EFFECT - 15.
Definition: jenum.h:2738
AES-CMAC Psuedo Random Function with 128-bit key and 16-byte ICV.
Definition: jenum.h:3750
DESTINATION PROTOCOL UNREACHABLE - 2.
Definition: jenum.h:2725
Public Key.
Definition: jenum.h:767
Extended IV flag.
Definition: jenum.h:723
Triple-DES with 192-bit key.
Definition: jmodes.h:922
Internet Group Management Protocol (IGMP) - 2.
Definition: jenum.h:2036
Psuedo Random Function transform.
Definition: jenum.h:3600
uint32_t get_status(std::string &packet)
Definition: jdriver.h:203
GSA Authentication Exchange.
Definition: jenum.h:3488
SHA512 authentication mode with 64 byte MAC.
Definition: jenum.h:1936
static void hkdf_extract(tls_ciphersuite_t ciphersuite, jarray< uint8_t > &salt, jarray< uint8_t > &ikm, std::shared_ptr< jarray< uint8_t >> &prk)
virtual void decap_packet(std::shared_ptr< jarray< uint8_t >> &input)
Definition: jprotocol.h:286
Width of the buffers in bytes (0, 64, 128. 192, 256, 384, 512)
Definition: jenum.h:810
void SetAttribute(const char *name, double value)
Sets the named attribute to value.
Definition: tinyxml2.h:1750
void run()
run the responder
void sfmt_fill_array64(uint64_t *array, int size)
Robust Header Compression (ROHC) - 142.
Definition: jenum.h:2176
Size fo the Private Key.
Definition: jenum.h:762
std::string get_complat()
Korean Cipher ARIA in CCM mode.
Definition: jenum.h:1810
Certificate encoded as RESERVED #5.
Definition: jenum.h:4018
SHA2_384 Hash Algorithm.
Definition: jenum.h:4701
Maximum Transmission unit (MTU)
Definition: jenum.h:604
From Data Stream.
Definition: jenum.h:708
LMS One-Time Signature using SHA256 with n=24, w=8, p=34, ls=0, sig_len=1124.
Definition: jenum.h:4911
HMAC-MD5 Pseudo Random Function with 16-byte ICV.
Definition: jenum.h:3743
Internal only.
Definition: jenum.h:1586
encoding_t
Definition: jenum.h:4013
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
virtual void write(uint64_t address, uint32_t data)=0
void set_field(field_t field, T fieldval)
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
virtual ~jdtls13()=default
Standard deconstructor.
virtual ~jkyber()=default
default
Use cryptographic quality random numbers.
Definition: jenum.h:801
Forward packets on this stream.
Definition: jenum.h:3421
Chinese Block Cipher SM4 in CBC mode.
Definition: jenum.h:1818
Acknowledge number.
Definition: jenum.h:679
static std::shared_ptr< jecdsaed > get_ecdsaed(std::shared_ptr< jecdsaedsa > &security)
BAD LENGTH - 2.
Definition: jenum.h:2747
Mobitex (kaz@cafe.net)
Definition: jenum.h:1595
No Error.
Definition: jenum.h:1339
Definition: jresponderbuf.h:130
Version field for the packet either IPV4 or IPV6 (ICMP or ICMPV6) (SSL30, TLS10, TLS11,...
Definition: jenum.h:569
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jkyber.h:204
The option does not take an argument.
Definition: optionparser.h:254
XMSSMT using SHA256 with n=32, w=16, h=60, and d=6.
Definition: jenum.h:5105
Encrypt data with RSA Key Pair.
Definition: jenum.h:4765
SwIPe (IP with Encryption) - 53.
Definition: jenum.h:2087
void release(const std::string &stream)
Reply to a configuration request.
Definition: jenum.h:4526
std::string debug(jarray< T > &expect, int indent=10)
Definition: jarray.h:1258
uint32_t read(uintptr_t address)
Endianness for testbench.
Definition: jenum.h:814
void restartTable()
Reset iteration to the beginning of the current table.
Definition: optionparser.h:2036
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
secout(uintptr_t address, uint32_t size, uint32_t status)
Definition: ringobj.h:484
void parse(bool gnu, const Descriptor usage[], int argc, char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
parse() with non-const argv.
Definition: optionparser.h:1200
SHA3_256 authentication mode with 32 byte MAC.
Definition: jenum.h:1938
virtual void close_ostream()=0
close_ostream - pure virtual function to override in your testbench
void release(const std::string &stream)
~jfalconsa()
Standard deconstructor.
int sfmt_get_min_array_size32()
LMOTS engine.
Definition: jenum.h:856
virtual bool VisitExit(const XMLElement &)
Visit an element.
Definition: tinyxml2.h:556
Keep alive message - 0x18.
Definition: jenum.h:2853
Transprot Layer Security v1.3 - 0x0304.
Definition: jenum.h:2822
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
MFE Network Services Protocol (MFE-NSP) - 31.
Definition: jenum.h:2065
virtual ~judpsa()=default
Standard deconstructor.
MANET Protocols (MANET) - 138.
Definition: jenum.h:2172
Transparent Ether Bridging.
Definition: jenum.h:1541
deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ]
Definition: jenum.h:1575
IDEA Encryption.
Definition: jenum.h:3667
SHA2_512 Hash Algorithm.
Definition: jenum.h:4702
bool perform(Option &)
Called by Parser::workhorse() for each Option that has been successfully parsed (including unknown op...
Definition: optionparser.h:1451
SERPENT-ECB encryption mode.
Definition: jenum.h:1795
Definition: optionparser.h:1438
severity_t
Definition: jlogger.h:418
virtual ~jpoly1305()=default
Standard Deconstructor for JPOLY1305 algorithm.
COMMUNICATION ADMINISTRATIVELY PROHIBITED - 13.
Definition: jenum.h:2736
void get_flow(std::string &name, std::shared_ptr< jstream > &flow)
SERPENT-CBC encryption mode.
Definition: jenum.h:1796
IKE Responder Security Parameter Index.
Definition: jenum.h:744
Key and mask address.
Definition: jenum.h:835
DESTINATION UNREACHABLE (ICMPv6) - 1.
Definition: jenum.h:2629
DSS Authentication mode.
Definition: jenum.h:4070
Definition: jikencrypt.h:153
integ_id_t
Definition: jenum.h:3784
HOP LIMIT EXCEEDED IN TX (ICMPv6) - 0.
Definition: jenum.h:2755
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
IP transport mode.
Definition: jenum.h:2562
For SNOW3G and ZUC tower to user.
Definition: jenum.h:1716
Message to send.
Definition: jenum.h:628
LMS Signature using SHA256 with m=32, h=10.
Definition: jenum.h:5016
HMAC_SHA3_384 keyed authentication mode with 48 byte MAC.
Definition: jenum.h:1951
Enable IPv4 header checksum.
Definition: jenum.h:618
Definition: jlogger.h:367
Backroom SATNET Monitoring (BR-SAT-MON) - 76.
Definition: jenum.h:2110
Length fo the initialization vector (IV)
Definition: jenum.h:582
Radio Link Control.
Definition: jenum.h:1346
BrainPool P384R1.
Definition: jenum.h:3887
Option * next()
Returns a pointer to the next element of the linked list or NULL if called on last().
Definition: optionparser.h:695
const XMLNode * NextSibling() const
Get the next (right) sibling node of this node.
Definition: tinyxml2.h:889
void get_engine(std::shared_ptr< jprotocol > &newengine)
Get the encryption engine for this stream.
void encryptdat(std::shared_ptr< jarray< uint8_t >> &red, std::shared_ptr< jarray< uint8_t >> &black)
IKE Initiator Encryption Key.
Definition: jenum.h:748
Inter-Domain Policy Routing Protocol (IDPR) - 35.
Definition: jenum.h:2069
XMSS using SHA256 with n=32, w=16, and h=10.
Definition: jenum.h:4960
Short length field.
Definition: jenum.h:653
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
PRIVATE EXPERIMENTATION (ICMPv6) - 100.
Definition: jenum.h:2633
XMLError QueryShortAttribute(const char *name, uint16_t *value) const
Definition: tinyxml2.h:1529
bool encrypt(direction_t dir, std::shared_ptr< jikev2sa > &sa, jarray< uint8_t > &input, std::shared_ptr< jarray< uint8_t >> &output, std::shared_ptr< jarray< uint8_t >> &iv)
virtual ~chacha20()=default
Standard Deconstructor.
Frame-based ATM Transport over Ethernet.
Definition: jenum.h:1557
Unassigned.
Definition: jenum.h:3866
XMSSMT using SHAKE256 with n=24, w=16, h=40, and d=4.
Definition: jenum.h:5126
Wifi DMGDTS extension.
Definition: jenum.h:3339
NULL authentication - no authentication present.
Definition: jenum.h:1930
void write(uintptr_t bufptr, T *data, uint32_t length, uint32_t offset=0)
Definition: jbuffer.h:491
Standard cyan.
Definition: jlogger.h:397
void set_field(field_t field, T fieldval)
Resize the window.
Definition: jtcp.h:534
Encapsulation Header (ENCAP) - 98.
Definition: jenum.h:2132
Camellia ECB encryption mode.
Definition: jenum.h:1802
MISSING A REQUIRED OPTION - 1.
Definition: jenum.h:2746
Protocol version.
Definition: jenum.h:705
void add(bool gnu, const Descriptor usage[], int argc, const char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
Updates this Stats object for the given usage and argument vector. You may pass 0 for argc and/or arg...
Definition: optionparser.h:1531
TTL EXPIRED IN TX - 0.
Definition: jenum.h:2743
Kyber ETA2 parameter.
Definition: jenum.h:887
uint64_t get_field(field_t field)
const XMLDocument * GetDocument() const
Get the XMLDocument that owns this XMLNode.
Definition: tinyxml2.h:743
Second address.
Definition: jenum.h:717
LMOTSLS number of left-shift bits on checksum calculation.
Definition: jenum.h:851
jarray< uint8_t > checksum(iana_t prot, direction_t dir, jarray< uint8_t > &check, uint32_t offset=0)
This option code may be used between options, for example, to align the beginning of a subsequent opt...
Definition: jtcp.h:531
std::string getname(uint32_t length)
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
T get_field(field_t field)
Determines the minimum lengths of the buffer and options arrays used for Parser.
Definition: optionparser.h:959
Encrytion.
Definition: jenum.h:1714
MODP Group 6144-bit.
Definition: jenum.h:3875
Definition: jresponder.h:129
void set_writelat(const char *latency)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Internal IPv6 Prefix.
Definition: jenum.h:4586
jarray< uint8_t > gensk()
void set_field(field_t field, T value)
ROHC Integrity Algorithm.
Definition: jenum.h:4657
TIME EXCEEDED (ICMPv6) - 3.
Definition: jenum.h:2631
~aead_chacha_poly1305()
Standard Deconstructor for AEAD CHACHA20-POLY1305 algorithm.
AugPAKE Secure Password.
Definition: jenum.h:4679
Unassigned.
Definition: jenum.h:3966
Generate a string of bytes with value of size.
Definition: jenum.h:1276
Configure a IPv6 DNS setting.
Definition: jenum.h:4578
Implicit or Explicit IV for TLS.
Definition: jenum.h:702
Push to the XMSS/LMS stack.
Definition: jenum.h:841
Decrypt data with XWing Key Pair.
Definition: jenum.h:4772
Network Voice Protocol (NVP_II) - 11.
Definition: jenum.h:2045
802.1ae MACsec
Definition: jenum.h:1563
Configure an internal IPv4 Address.
Definition: jenum.h:4430
Definition: optionparser.h:1733
Acknowledge.
Definition: jtcp.h:536
HMAC_SHA3_256 keyed authentication mode with 32 byte MAC.
Definition: jenum.h:1950
uint64_t write_mem(uint8_t *data, uint32_t length)
Testbench with no responder to allow DUT to connect.
Definition: jenum.h:1252
void set_hdr(jarray< uint8_t > &hdr)
XMLHandle & operator=(const XMLHandle &ref)
Assignment.
Definition: tinyxml2.h:2335
IKE Hash Algorithm.
Definition: jenum.h:761
void get_security(std::shared_ptr< jtlsa13 > &sec)
Reserved.
Definition: jenum.h:3862
SOURCE ROUTE FAILED - 5.
Definition: jenum.h:2728
Read failed to input file handle.
Definition: jenum.h:2406
Status word for this packet.
Definition: jenum.h:790
Trunk-2 - 24.
Definition: jenum.h:2058
ECHO REPLY - 0.
Definition: jenum.h:2722
Length of the AAD.
Definition: jenum.h:609
Write error to file output.
Definition: jenum.h:2409
REDIRECT DATAGRAM FOR THE NETWORK - 0.
Definition: jenum.h:2739
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
bool isLast() const
Returns true iff this is the last element of the linked list.
Definition: optionparser.h:592
Definition: tinyxml2.h:1208
LMS One-Time Signature using SHA256 with n=32, w=8, p=34, ls=0, sig_len=1124.
Definition: jenum.h:4907
Postprocessing flag.
Definition: jenum.h:779
void set_field(field_t field, uint64_t value)
SNDUNA.
Definition: jenum.h:687
Priavte intermediate key length.
Definition: jenum.h:872
jarray< uint8_t > get_hdr()
Encrypted and Authenticated Fragment.
Definition: jenum.h:3559
Definition: jproducer.h:194
const static std::string currentDateTime()
Testbench seed.
Definition: jenum.h:800
The key exists but is not readable by the calling process or cant be modified by the user.
Definition: jenum.h:2437
No direction selected.
Definition: jenum.h:1718
uint64_t get_field(field_t field)
FRAGMENTATION REQUIRED AND DF FLAG SET - 4.
Definition: jenum.h:2727
VLAN tags did not match.
Definition: jenum.h:2450
uint64_t get_field(field_t field, jarray< uint8_t > &header)
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jlms.h:392
No encryption present.
Definition: jenum.h:1783
static std::shared_ptr< jip > get_ip(std::shared_ptr< jipsa > &security)
Localtalk psuedo type.
Definition: jenum.h:1590
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
XMLElement * ToElement()
Safe cast to XMLElement. This can return null.
Definition: tinyxml2.h:2378
AES-GCM dual encryption and authentication mode.
Definition: jenum.h:1793
HMAC_SHA2_256 keyed authentication mode with 32 byte MAC.
Definition: jenum.h:1946
void set_hdr(jarray< uint8_t > &hdr)
void decrypt(std::shared_ptr< jarray< uint8_t >> &ciphertext, std::shared_ptr< jarray< uint8_t >> &sharedsecret)
uint64_t get_field(ProtocolPP::field_t field)
static vector unsigned int vec_recursion(vector unsigned int a, vector unsigned int b, vector unsigned int c, vector unsigned int d)
Definition: SFMT-alti.h:36
Definition: jmacsecsa.h:535
void ProcessData(const uint8_t *input, uint8_t *output, uint32_t length)
No Authentication.
Definition: jenum.h:3785
Source Address.
Definition: jenum.h:605
jkybersa()
KYBER security association with default values.
Korean cipher ARIA in ECB mode.
Definition: jenum.h:1807
IEEE 1588 Timesync.
Definition: jenum.h:1566
AES-GCM with 256-bit key.
Definition: jenum.h:3400
~jdilithiumsa()
Standard deconstructor.
Testbench uses jresponder to simulate.
Definition: jenum.h:1251
Stats(const Descriptor usage[], int argc, const char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
POSIX Stats(...) (gnu==false).
Definition: optionparser.h:1018
void close_ostream()
close_ostream - close the log file
AES-GCM Encryption with 16-byte ICV and Implicit IV.
Definition: jenum.h:3692
Certificate.
Definition: jenum.h:3543
static std::shared_ptr< jkyber > get_kyber(std::shared_ptr< jrand > &rand, std::shared_ptr< jkybersa > &security)
Definition: aead_chacha_poly1305.h:243
tlsver_t
Definition: jenum.h:2817
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jdilithium.h:202
IPv6 Route header but not for this destination.
Definition: jenum.h:2418
TCP session CLOSED during TX/RX.
Definition: jenum.h:2413
Definition: jikeprf.h:211
static std::shared_ptr< jecdsafp > get_ecdsafp(std::shared_ptr< jecdsafpsa > &security)
Sphincs+ signature post quantum algorithm.
Definition: jenum.h:1381
QNX - 106.
Definition: jenum.h:2140
BrainPool P224R1.
Definition: jenum.h:3885
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
endian_t get_format()
Definition: jarray.h:1484
jlmsa()
LMS security association with default values.
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Gateway-to-Gateway Protocol (GGP) - 3.
Definition: jenum.h:2037
Elliptic Curve Digital Signature Algorithm in Galios field.
Definition: jenum.h:1363
HMAC-SHA1-96 Authentication with 96-bit ICV.
Definition: jenum.h:3787
static uint8_t to_u8(jarray< uint8_t > src_array)
Reservation Protocol (RSVP) End-to-End Ignore - 134.
Definition: jenum.h:2168
Multiplexing (MUX) - 18.
Definition: jenum.h:2052
void set_field(field_t field, T value)
Dilithium signature algorithm with 1952 byte public key and 3293 byte signature.
Definition: jenum.h:5216
void result(unsigned char *icv, uint32_t length=16)
DEC Systems Comms Arch.
Definition: jenum.h:1540
Code to send.
Definition: jenum.h:629
void SetAttribute(const char *name, bool value)
Sets the named attribute to value.
Definition: tinyxml2.h:1745
Dummy type for 802.3 frames.
Definition: jenum.h:1582
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Sphincs+ algorithm using SHA2 equivalent to 128-bit security.
Definition: jenum.h:5279
~jxmssa()
Standard deconstructor.
Digital Signature.
Definition: jenum.h:4081
int index
index of the ring
Definition: jtestcfg.h:395
jarray< uint8_t > sign(jarray< uint8_t > &message, jarray< uint8_t > &lmots_sk)
WOTS+ Hash tree Address type.
Definition: jenum.h:4852
XMSSMT using SHA256 with n=32, w=16, h=40, and d=4.
Definition: jenum.h:5102
Unassigned.
Definition: jenum.h:3869
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
static ArgStatus Optional(const Option &option, bool)
Returns ARG_OK if the argument is attached and ARG_IGNORE otherwise.
Definition: optionparser.h:941
Definition: jkybersa.h:86
IP version 4 - 4.
Definition: jenum.h:2038
IKE Responder Integrity Algorithm Key.
Definition: jenum.h:754
deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ]
Definition: jenum.h:1577
static std::shared_ptr< jwimax > get_wimax(std::shared_ptr< jrand > &rand, std::shared_ptr< jwimaxsa > &security, std::string replay=std::string("NORMAL"))
static std::shared_ptr< jxwing > get_xwing(std::shared_ptr< jrand > &rand, std::shared_ptr< jxwingsa > &security)
Definition: optionparser.h:2234
direction_t
Definition: jenum.h:1711
XMSSMT using SHA256 with n=24, w=16, h=40, and d=12.
Definition: jenum.h:5114
Number of flows.
Definition: jenum.h:803
ike_gateway_t
Definition: jenum.h:4633
const char * CStr() const
Definition: tinyxml2.h:2601
Definition: jmldsasa.h:86
Unassigned.
Definition: jenum.h:4074
virtual void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)=0
IPv6 Address of the VPN gateway.
Definition: jenum.h:4635
Generic Secure Password Authentication Method.
Definition: jenum.h:4079
audit_t
Definition: jipsec.h:1739
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
If the value in the ethernet type is less than this value then the frame is Ethernet II else it is 80...
Definition: jenum.h:1581
Definition: tinyxml2.h:1059
uint32_t sfmt_genrand_uint32()
Definition: SFMT.h:312
112
Definition: jenum.h:2992
void add(bool gnu, const Descriptor usage[], int argc, char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
add() with non-const argv.
Definition: optionparser.h:1046
Configure an internal IPv4 NETMASK.
Definition: jenum.h:4570
XMSS using SHA256 with n=24, w=16, and h=16.
Definition: jenum.h:4964
void set_field(field_t field, T fieldval)
esn_id_t
Definition: jenum.h:3935
Dilithium signature algorithm with 1312 byte public key and 2420 byte signature.
Definition: jenum.h:5215
std::string get_writelat()
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
uint32_t get_outlen()
Definition: ringobj.h:171
Y-coordinate for the ECDSA curve.
Definition: jenum.h:772
IKE Conneciton Name.
Definition: jenum.h:736
Number of errors.
Definition: jenum.h:802
XMSSMT using SHA256 with n=24, w=16, h=20, and d=2.
Definition: jenum.h:5107
Security Association not found.
Definition: jenum.h:2433
void get_security(std::shared_ptr< jdtlsa13 > &sec)
static bool isWideChar(unsigned ch)
Returns true if ch is the unicode code point of a wide character.
Definition: optionparser.h:1912
Private IP Encapsulation within IP (PIPE) - 131.
Definition: jenum.h:2165
Security parameter index (SPI)
Definition: jenum.h:571
void write(uint64_t address, uint32_t data)
110
Definition: jenum.h:2990
P CSCF IPv6 Address.
Definition: jenum.h:4589
static jarray< uint8_t > to_array(uint8_t input)
int next(T &currseq, TE &currext, replay_t type=NORMAL)
Definition: jreplay.h:656
VISA Protocol - 70.
Definition: jenum.h:2104
jarray< uint8_t > get_hdr()
Decryption.
Definition: jmodes.h:946
static void logger(InterfacePP::jlogger::severity_t lvl, Args &&... args)
Definition: jlog.h:109
IP Payload Compression Protocol (IPComp) - 108.
Definition: jenum.h:2142
Protect packets.
Definition: jenum.h:662
int optionsCount()
Returns the number of valid Option objects in buffer[].
Definition: optionparser.h:1229
HMAC-SHA2-256 Pseudo Random Function with 32-byte ICV.
Definition: jenum.h:3747
void get_security(std::shared_ptr< jmacsecsa > &sec)
~jwifisa()
Standard deconstructor.
Camellia CTR mode.
Definition: jenum.h:1804
void SetAttribute(const char *name, uint64_t value)
Sets the named attribute to value.
Definition: tinyxml2.h:1739
std::string writelatency
latency for writes to memory
Definition: jtestcfg.h:361
void result(uint8_t *result)
No cipher used.
Definition: jmodes.h:933
Wifi SSWFDBCK extension.
Definition: jenum.h:3342
virtual ~jproducer()=default
standard deconstructor
virtual XMLUnknown * ToUnknown()
Safely cast to an Unknown, or null.
Definition: tinyxml2.h:774
encr_id_t
Definition: jenum.h:3662
Identification Initiator.
Definition: jenum.h:3541
RSA Authentication.
Definition: jenum.h:4068
virtual XMLDeclaration * ToDeclaration() override
Safely cast to a Declaration, or null.
Definition: tinyxml2.h:1142
ringflow(uintptr_t address, uint32_t size, std::string name)
Definition: ringobj.h:334
virtual void write(const std::string &msg)=0
write - pure virtual function to override in your testbench
ArgStatus
Possible results when checking if an argument is valid for a certain option.
Definition: optionparser.h:251
Standard blue.
Definition: jlogger.h:395
TR pop()
Definition: jring.h:146
const XMLAttribute * FirstAttribute() const
Return the first attribute in the list.
Definition: tinyxml2.h:1766
Brain Pool P256R1.
Definition: jenum.h:3886
virtual ~jdsa()=default
Standard deconstructor.
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
CRC16-IBM polynomial with 16-bit output.
Definition: jenum.h:1966
Elliptic Curve Digital Signature Algorithm in Binary field.
Definition: jenum.h:1362
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Identification Responder.
Definition: jenum.h:3542
uintptr_t get_outaddr()
Definition: ringobj.h:165
ML-KEM shared secret with 1024-bit public key.
Definition: jenum.h:5198
Reserved.
Definition: jenum.h:3341
Audit for invalid security association.
Definition: jipsec.h:1740
void set_loglvl(severity_t newlvl)
Sprite RPC Protocol (Sprite-RPC) - 91.
Definition: jenum.h:2125
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Request Authentication Header Protocol (AH)
Definition: jenum.h:4482
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void set_hdr(jarray< uint8_t > &hdr)
DEC DNA Dump/Load.
Definition: jenum.h:1534
~jmldsasa()
Standard deconstructor.
log_policy_interface()
standard deconstructor
Definition: jlogger.h:207
Block size of the encryption cipher.
Definition: jenum.h:675
Definition: jikeparse.h:922
virtual ~jdrive()=default
standard deconstructor
static void lshift128(w128_t *out, w128_t const *in, int shift)
Definition: SFMT-common.h:102
Invalid XMSS or XMSS^MT type.
Definition: jenum.h:2447
virtual ~jdata()=default
Standard deconstructor.
static void pbkdf2(auth_t auth, std::shared_ptr< jarray< uint8_t >> &passphrase, std::shared_ptr< jarray< uint8_t >> &ssid, std::shared_ptr< jarray< uint8_t >> &output, uint32_t outlen, uint32_t iterations)
XMLError QueryUnsignedValue(unsigned int *value) const
See QueryIntValue.
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
LMS One-Time Signature using SHAKE with n=32, w=1, p=256, ls=7, sig_len=8516.
Definition: jenum.h:4912
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
ECP Group 224-bit Random.
Definition: jenum.h:3884
Signature length.
Definition: jenum.h:837
XMLError QueryInt64Value(int64_t *value) const
See QueryIntValue.
IPLT - 129.
Definition: jenum.h:2163
static ArgStatus None(const Option &, bool)
For options that don't take an argument: Returns ARG_NONE.
Definition: optionparser.h:926
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
virtual ~jresponderbuf()=default
standard deconstructor
virtual bool finished(int numargs, const char **args)
Called by Parser::workhorse() after finishing the parse.
Definition: optionparser.h:1425
Sphincs+ algorithm using SHA2 equivalent to 256-bit security.
Definition: jenum.h:5282
Flag indicating SEQNUM field is present in GRE.
Definition: jenum.h:864
Sequence number incremented (seqnum = seqnum + 1)
Definition: jenum.h:2534
XMSSMT using SHAKE256 with n=24, w=16, h=20, and d=4.
Definition: jenum.h:5124
std::string units
unit of time for latencies (s, ms, us, ns, ps, fs)
Definition: jtestcfg.h:359
Versatile Message Transaction Protocol (VMTP) - 81.
Definition: jenum.h:2115
T get_field(field_t field)
Definition: optionparser.h:1959
Definition: jprotocol.h:212
const char * help
The usage text associated with the options in this Descriptor.
Definition: optionparser.h:422
PTK identity.
Definition: jenum.h:644
void set_hdr(jarray< uint8_t > &hdr)
XMSS parameters.
Definition: jenum.h:846
Memory Blob Key Length.
Definition: jenum.h:826
uint32_t get_status(std::string &packet)
Definition: jlogger.h:201
jarray< uint16_t > getu16(uint32_t amount, bool use_crypto=false)
dilithium_algorithm_t
Definition: jenum.h:5214
WOTS+ using SHA256 with n=32, w=16.
Definition: jenum.h:4870
802.2 frames
Definition: jenum.h:1594
static void rshift128(w128_t *out, w128_t const *in, int shift)
Definition: SFMT-common.h:62
Color of information messages in the testbench.
Definition: jenum.h:818
Kyber shared secret with 1024-bit public key.
Definition: jenum.h:5179
Number of missing PDCP SDU(s) with associated COUNT value.
Definition: jenum.h:647
Name of the stream associated with this packet.
Definition: jenum.h:788
XMLError QueryDoubleValue(double *value) const
See QueryIntValue.
void get(std::shared_ptr< std::list< std::array< Q, T >>> &list)
Definition: jbuffacc.h:294
Color of fatal messages in the testbench.
Definition: jenum.h:821
Color of pass messages in the testbench.
Definition: jenum.h:822
bool issue(std::shared_ptr< ProtocolPP::jpacket > &packet)
void result(uint8_t *result, uint32_t length)
AES-XCBC-96 Authentication with 96-bit ICV.
Definition: jenum.h:3790
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
RC5 Encryption.
Definition: jenum.h:3666
Finished - 20.
Definition: jenum.h:2912
jarray< uint8_t > get_hdr()
virtual ~jxmss()=default
default
const Option * next() const
Definition: optionparser.h:703
void open_ostream(const std::string &name)
virtual ~jringdrive()
standard deconstructor
Definition: jringdrive.h:184
Serpent Encryption Algorithm.
Definition: jmodes.h:920
IKE Responder Psuedo Random Key.
Definition: jenum.h:758
Length of BitMap.
Definition: jenum.h:641
void set_field(field_t field, T fieldval)
DCN Measurement Subsystems (DCN-MEAS) - 19.
Definition: jenum.h:2053
Multicast Transport Protocol (MTP) - 93.
Definition: jenum.h:2127
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Audit for received DUMMY packets.
Definition: jipsec.h:1746
RESERVED - 1.
Definition: jenum.h:2610
int chain(uint32_t startidx, uint32_t steps, jxmssaddr &addr, uint8_t *input, uint8_t *seed, uint8_t *output)
LMOTS key pair identifier.
Definition: jenum.h:853
void free(uintptr_t address)
static std::shared_ptr< jdilithium > get_dilithium(std::shared_ptr< jrand > &rand, std::shared_ptr< jdilithiumsa > &security)
replay_t
Definition: jenum.h:2533
Memory Blob Key Length (BKEKLEN)
Definition: jenum.h:824
Amount of time for this flow to exist.
Definition: jenum.h:587
LMOTS Algorithm value as jarray<uint8_t>
Definition: jenum.h:858
XMSS using SHA256 with n=32, w=16, and h=16.
Definition: jenum.h:4961
Cross Net Debugger (XNET) - 15.
Definition: jenum.h:2049
void set_size(uint32_t size)
Definition: ringobj.h:289
Number of bytes received from responder(s)
Definition: jenum.h:806
void get_security(std::shared_ptr< jxmssa > &sec)
ROUTER ADVERTISEMENT - 9.
Definition: jenum.h:2618
static std::string version()
return the version as a string (v.PROTPP_MAJOR_VERSION.PROTPP_MINOR_VERSION.PROTPP_PATCH_VERSION)
Configure an internal IPv4 Address.
Definition: jenum.h:4569
Management(WIFI6) - Timing Advertisement / Control - RSVD / Data - CF-Poll (no data)
Definition: jenum.h:3281
SNDUP.
Definition: jenum.h:690
ArgStatus(* CheckArg)(const Option &option, bool msg)
Signature of functions that check if an argument is valid for a certain type of option.
Definition: optionparser.h:291
ECDSA with SHA-384 on the P-384 Curve.
Definition: jenum.h:4077
T get_field(field_t field)
Urgent pointer.
Definition: jenum.h:682
void gen_keypair()
Generate a Kyber key pair and place in security association.
TDLS.
Definition: jenum.h:1569
Both an initiator and receiver.
Definition: jenum.h:3441
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void get_prfplus(prf_id_t prf, jarray< uint8_t > &key, jarray< uint8_t > &data, std::shared_ptr< jarray< uint8_t >> &output, uint32_t length)
MKI data.
Definition: jenum.h:678
Unassigned.
Definition: jenum.h:3970
virtual void operator()(const char *str, int size)
Writes the given number of chars beginning at the given pointer somewhere.
Definition: optionparser.h:1845
XMLError QueryBoolValue(bool *value) const
See QueryIntValue.
Chain Address or Tree Height.
Definition: jenum.h:833
Digital Signature Algorithm.
Definition: jenum.h:1361
void set_hdr(jarray< uint8_t > &hdr)
1A for ArcNet
Definition: jenum.h:1600
Definition: jecdsaed.h:266
jmlkem(std::shared_ptr< jrand > &rand)
Flag indicating the CID field is present in DTLSv13.
Definition: jenum.h:865
void SetAttribute(const char *name, uint8_t value)
Sets the named attribute to value (Added for Protocol++).
Definition: tinyxml2.h:1717
Reserved.
Definition: jenum.h:2874
HMAC-TIGER Pseudo Random Function.
Definition: jenum.h:3745
Initiator role.
Definition: jenum.h:3439
Definition: ringobj.h:307
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Set the configuration.
Definition: jenum.h:4527
Definition: jxmssaddr.h:229
LMS Signature using SHA256 with m=24, h=10.
Definition: jenum.h:5021
Definition: jintegrity.h:742
Kyber N parameter.
Definition: jenum.h:876
Return top of the XMSS/LMS stack.
Definition: jenum.h:843
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
void teardown()
terminate the driver
int column()
Returns the index (counting from 0) of the column in which the part pointed to by data() is located.
Definition: optionparser.h:2170
Appletalk AARP.
Definition: jenum.h:1544
bool error()
Returns true if an unrecoverable error occurred while parsing options.
Definition: optionparser.h:1292
jbuffer(std::shared_ptr< InterfacePP::jlogger > &logger)
Definition: jbuffer.h:257
virtual ~jtls()=default
Standard deconstructor.
static std::shared_ptr< jrsa > get_rsa(std::shared_ptr< jrsasa > &security)
Dilithium signature algorithm with 2592 byte public key and 4595 byte signature.
Definition: jenum.h:5217
unsigned options_max
Number of elements needed for an options[] array to be used for parsing the same argument vectors tha...
Definition: optionparser.h:983
Certificate Request - 13.
Definition: jenum.h:2908
AES-GCM Encryption with 8-byte ICV.
Definition: jenum.h:3680
Encryption Control 0=no encryption 1=encryption.
Definition: jenum.h:728
XMSS using SHA256 with n=24, w=16, and h=20.
Definition: jenum.h:4965
Computer Protocol Network Executive (CPNX) - 72.
Definition: jenum.h:2106
Audit for incorrect received ICV.
Definition: jipsec.h:1744
int index() const
Returns Descriptor::index of this Option's Descriptor, or -1 if this Option is invalid (unused).
Definition: optionparser.h:542
IKE Integrity Algorithm.
Definition: jenum.h:752
void set_field(field_t field, uint64_t value)
Public intermediate key length.
Definition: jenum.h:873
IKE Message Identifier when Initiator.
Definition: jenum.h:741
const XMLNode * FirstChild() const
Get the first child node, or null if none exists.
Definition: tinyxml2.h:837
Encrypt data with ML-KEM Key Pair.
Definition: jenum.h:4769
DEC Customer use.
Definition: jenum.h:1539
uint32_t m_status
Definition: jprotocol.h:711
ISO Transport Protocol Class 4 (ISO-TP4) - 29.
Definition: jenum.h:2063
uint32_t pop(uint8_t *output)
virtual void operator()(const char *str, int size)
Writes the given number of chars beginning at the given pointer somewhere.
Definition: optionparser.h:1780
RESERVED - 2.
Definition: jenum.h:2611
Nofify.
Definition: jenum.h:3547
CHACHA20 and POLY1305 AEAD dual mode.
Definition: jenum.h:1801
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
SHA224 authentication mode with 28 byte MAC.
Definition: jenum.h:1933
ML-KEM shared secret with 768-bit public key.
Definition: jenum.h:5197
srtpcipher_t
Definition: jenum.h:3046
Kyber K parameter.
Definition: jenum.h:875
double sfmt_genrand_real1()
Definition: SFMT.h:376
DTLSv13 ICV failure counter.
Definition: jenum.h:866
auth_t
Definition: jenum.h:1929
virtual ~jpacket()=default
Standard deconstructor.
PORT UNREACHABLE (ICMPv6) - 4.
Definition: jenum.h:2752
PRECEDENCE.
Definition: jenum.h:686
int GetLineNum() const
Gets the line number the node is in, if the document was parsed from a file.
Definition: tinyxml2.h:820
AES-CCM with 32-byte key and 16-byte ICV.
Definition: jenum.h:3051
Number of tree levels in LMS (2-8 are valid)
Definition: jenum.h:859
Resource Reservation Protocol (RSVP) - 46.
Definition: jenum.h:2080
DES-ECB encryption mode.
Definition: jenum.h:1784
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
uint32_t get_proc()
Definition: jring.h:250
jarray< uint8_t > get_hdr()
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
std::string computelatency
latency for computation of protocol, encryption, or authentication
Definition: jtestcfg.h:363
Definition: jxwingsa.h:130
Parser(const Descriptor usage[], int argc, char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
POSIX Parser(...) (gnu==false) with non-const argv.
Definition: optionparser.h:1133
Create Child Security Association Exchange.
Definition: jenum.h:3485
Definition: jproducerbuf.h:192
Short Secure Channel Identifier.
Definition: jenum.h:658
Puzzle Solution.
Definition: jenum.h:3560
endian_t
Definition: jenum.h:1224
Definition: ringobj.h:392
void set_field(field_t field, uint64_t value)
uint64_t get_field(field_t field)
void set_field(field_t field, uint64_t value)
EXPECT data for this packet.
Definition: jenum.h:793
Data Encryption Standard with 32-bit IV.
Definition: jenum.h:3671
ASN1 GN ID type.
Definition: jenum.h:3972
MODP Group 2048-bit with 256-bit Prime Order Subgroup.
Definition: jenum.h:3882
LMS Signature using SHAKE with m=32, h=20.
Definition: jenum.h:5028
void set_hdr(jarray< uint8_t > &hdr)
Stream Control Transmission Protocol (SCTP) - 132.
Definition: jenum.h:2166
LMOTS c-array value.
Definition: jenum.h:855
void get_security(std::shared_ptr< jkybersa > &sec)
Key ID type.
Definition: jenum.h:3973
AES-CCM with 32-byte key and 12-byte ICV.
Definition: jenum.h:3053
void set_field(field_t field, T fieldval)
void set_stream(std::string &stream)
Definition: ringobj.h:195
void enqueue(uintptr_t bufptr)
Definition: jbuffer.h:318
Electronic Code Book.
Definition: jmodes.h:968
static std::shared_ptr< jipsec > get_ipsec(std::shared_ptr< jrand > &rand, std::shared_ptr< jipsecsa > &security, std::string replay=std::string("NORMAL"))
CRC64-ECMA polynomial with 64-bit output.
Definition: jenum.h:1973
Timestamp from the origination node.
Definition: jenum.h:625
B.A.T.M.A.N.-Advanced packet [ NOT AN OFFICIALLY REGISTERED ID ].
Definition: jenum.h:1532
XMLError QueryArrayAttribute(const char *name, ProtocolPP::jarray< uint8_t > *value) const
Definition: tinyxml2.h:1489
Frame control sequence in entirety.
Definition: jenum.h:703
~jconfidentsa()
Standard deconstructor.
Address of the tree layer.
Definition: jenum.h:828
Diffie-Hellman MODP Group 768-bit.
Definition: jenum.h:3859
Definition: jbuffman.h:134
void resize(size_t newSize)
Definition: jring.h:171
cfg_attr_t
Definition: jenum.h:4568
Handshake message - 0x16.
Definition: jenum.h:2851
SNOW-V F8 encryption mode.
Definition: jmodes.h:929
Initializaton Vector (IV)
Definition: jenum.h:583
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Inter-Domain Routing Protocol (IDRP) - 45.
Definition: jenum.h:2079
PSK Authentication mode.
Definition: jenum.h:4069
42
Definition: jenum.h:2974
T get_field(field_t field)
Encrypt data with Kyber Key Pair.
Definition: jenum.h:4767
Orthogonal frequency division multiple access.
Definition: jenum.h:3379
uint64_t get_field(field_t field, jarray< uint8_t > &hdr)
(BOTH) represents waiting for a connection termination request from the local user
Definition: jtcp.h:550
HMAC-SHA1 Pseudo Random Function with 20-byte ICV.
Definition: jenum.h:3744
static void hkdf_expand(tls_ciphersuite_t ciphersuite, uint32_t keymatlen, std::shared_ptr< jarray< uint8_t >> &prk, std::shared_ptr< jarray< uint8_t >> &info, std::shared_ptr< jarray< uint8_t >> &okm)
Kyber shared secret with 768-bit public key.
Definition: jenum.h:5178
Definition: jsecproducer.h:205
Authentication header - 51.
Definition: jenum.h:2085
Definition: tinyxml2.h:1138
void set_field(field_t field, T fieldval)
void genpk(jxmssaddr &addr, uint8_t *wots_sk, uint8_t *seed, uint8_t *pk)
jarray< uint8_t > get_hdr()
void encap_packet(std::shared_ptr< jarray< uint8_t >> &output)
CHACHA20 Encryption with POLY1305 Authentication and 16-byte ICV.
Definition: jenum.h:3690
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void set_field(field_t field, uint64_t value)
virtual ~jwimax()=default
Standard deconstructor.
virtual ~jikeparse()=default
JIKEPARSE standard deconstructor.
uint8_t convcode(icmpcode_t code)
Length of the packet (IPv4) or length of the packet minus the standard IPv6 header.
Definition: jenum.h:619
HMAC_MD5 keyed authentication mode with 16 byte MAC.
Definition: jenum.h:1943
void set_field(field_t field, T fieldval)
Definition: jdirectdrive.h:117
WOTS+ Address type.
Definition: jenum.h:4850
uint32_t get_protect()
Definition: ringobj.h:153
void exec(uintptr_t inaddr, uint32_t inlen, uintptr_t outaddr, uint32_t outlen, std::shared_ptr< std::map< std::string, std::shared_ptr< ProtocolPP::jstream >>> &flows, bool protect=false, std::string stream=std::string(""))
PDCP SDU type (IP, ARP, PC5SIG, NONIP, RSVD)
Definition: jenum.h:645
Mobile Internetworking Control Protocol (MICP) - 95.
Definition: jenum.h:2129
jarray< uint8_t > get_hdr()
Dilithium signature post quantum algorithm.
Definition: jenum.h:1378
Kyber Q parameter.
Definition: jenum.h:877
wifitype_t
Definition: jenum.h:3231
IKE Responder Salt Value.
Definition: jenum.h:751
virtual ~jwifi()=default
Standard deconstructor.
Data Encryption Standard.
Definition: jmodes.h:921
SHA3_512 authentication mode with 64 byte MAC.
Definition: jenum.h:1940
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
lmots_algorithm_t
Definition: jenum.h:4903
Power management.
Definition: jenum.h:711
uint64_t get_field(field_t field, jarray< uint8_t > &hdr)
~jikeprf()=default
Standard deconstructor.
MPLS Unicast traffic.
Definition: jenum.h:1553
uint16_t get_u16(bool use_crypto=false)
Decryption.
Definition: aead_chacha_poly1305.h:252
jfalcon(std::shared_ptr< jrand > &rand)
~file_stdout_log_policy()
standard deconstructor
T get_field(field_t field)
void verify(std::shared_ptr< jarray< uint8_t >> &signedmsg, std::shared_ptr< jarray< uint8_t >> &message)
FC ESP Header.
Definition: jenum.h:4484
void update(uint32_t index, jarray< T > &rhs)
Definition: jarray.h:1127
Definition: tinyxml2.h:1173
~jikencrypt()=default
Standard deconstructor.
void SetAttribute(const char *name, unsigned value)
Sets the named attribute to value.
Definition: tinyxml2.h:1727
Data frame.
Definition: jenum.h:3233
Definition: jbuffacc.h:111
Definition: jmemblob.h:192
void get_security(std::shared_ptr< jwimaxsa > &sec)
std::string get_writelat()
static std::shared_ptr< jfalcon > get_falcon(std::shared_ptr< jrand > &rand, std::shared_ptr< jfalconsa > &security)
bool next()
Moves iteration to the next part (if any). Has to be called once after each call to nextRow() to move...
Definition: optionparser.h:2098
Color of error messages in the testbench.
Definition: jenum.h:820
Security Association.
Definition: jenum.h:3539
uint32_t push(uint8_t *packet, uint32_t size)
file_stdout_log_policy()
file_log_policy constructor
Definition: jlogger.h:286
POINTER INDICATES THE ERROR - 0.
Definition: jenum.h:2745
Key size incorrect for authentication.
Definition: jenum.h:2425
(BOTH) represents no connection state at all
Definition: jtcp.h:553
LineWrapper(int x1, int x2)
Constructs a LineWrapper that wraps its output to fit into screen columns x1 (incl....
Definition: optionparser.h:2443
T get_field(field_t field)
FC CT Authentication.
Definition: jenum.h:4485
Key field for GRE.
Definition: jenum.h:867
Bulk Data Transfer Protocol (NETBLT) - 30.
Definition: jenum.h:2064
XMSSMT using SHA256 with n=24, w=16, h=20, and d=4.
Definition: jenum.h:5108
static std::string banner()
cipher_t
Definition: jenum.h:1782
void set_field(field_t field, T fieldval)
Unassigned.
Definition: jenum.h:3679
ICMP version 6 - 58.
Definition: jenum.h:2092
Stateful FRAG bit.
Definition: jenum.h:589
void get(std::shared_ptr< std::map< int, tstcfg >> &cfg)
Returns the configuration for rings, responders, and threads.
jarray< uint8_t > get_hdr()
xmss_algorithm_t
Definition: jenum.h:4958
SHAKE128 Keccak authentication mode with 16 byte MAC.
Definition: jenum.h:1941
ZUC F9 mode authentication.
Definition: jenum.h:1960
Distributed Switch Arch.
Definition: jenum.h:1601
void get(std::shared_ptr< jikecfg > &cfg)
44
Definition: jenum.h:2976
Definition: jikev2.h:1067
HDLC frames.
Definition: jenum.h:1599
Authentication mode.
Definition: jenum.h:579
virtual ~jbuffman()=default
standard destructor
Destination port for NAT.
Definition: jenum.h:598
LMS One-Time Signature using SHA256 with n=32, w=1, p=256, ls=7, sig_len=8516.
Definition: jenum.h:4904
Xerox IEEE802.3 PUP Addr Trans packet.
Definition: jenum.h:1531
IKE Major Revision Number.
Definition: jenum.h:739
double sfmt_to_res53(uint64_t v)
Definition: SFMT.h:427
void SetCData(bool isCData)
Declare whether this should be CDATA or standard text.
Definition: tinyxml2.h:1073
External Source IPv4 NAT Information.
Definition: jenum.h:4591
virtual uint32_t read(uint64_t address)=0
Identification field for IPv4.
Definition: jenum.h:599
Traffic Selector with IPv4 Address Range.
Definition: jenum.h:4505
Bold yellow.
Definition: jlogger.h:402
Management(WIFI0) - Association Request / Control - RSVD / Data - Data.
Definition: jenum.h:3275
std::string rname
name of the responder
Definition: jtestcfg.h:360
Encryption.
Definition: jmodes.h:945
void add_option(tcpopt_t OPT, jarray< uint8_t > &value)
Output address of the packet.
Definition: jenum.h:783
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
XMLText * ToText()
Safe cast to XMLText. This can return null.
Definition: tinyxml2.h:2382
virtual ~jrand()=default
Standard deconstructor.
void set_field(field_t field, uint64_t value)
PRIVATE EXPERIMENTATION (ICMPv6) - 200.
Definition: jenum.h:2638
int sfmt_get_min_array_size64()
Enable CRC checking for packet.
Definition: jenum.h:726
XMSS using SHAKE256 with n=32, w=16, and h=10.
Definition: jenum.h:4966
HMAC-MD5-96 Authentication with 96-bit ICV.
Definition: jenum.h:3786
Fatal alert - 2.
Definition: jenum.h:2876
Korean Cipher ARIA in GCM mode.
Definition: jenum.h:1811
void gen_rand_array(w128_t *array, int size)
deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ]
Definition: jenum.h:1576
In ROUTE header, Unknown route type (only type 0 is supported)
Definition: jenum.h:2423
const unsigned index
Index of this option's linked list in the array filled in by the parser.
Definition: optionparser.h:336
114
Definition: jenum.h:2994
std::pair< bool, uintptr_t > dequeue(uint32_t buffers, uintptr_t bufptr=0)
Definition: jbuffer.h:379
~jmodes()
Standard deconstructor.
Authentication algorithm.
Definition: jenum.h:1367
IKE Message Identifier when Responder.
Definition: jenum.h:742
static std::string str_status(uint32_t status)
int count() const
Returns the number of times this Option (or others with the same Descriptor::index) occurs in the arg...
Definition: optionparser.h:559
Parser(const Descriptor usage[], int argc, const char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
POSIX Parser(...) (gnu==false).
Definition: optionparser.h:1125
IKE Initiator Nonce.
Definition: jenum.h:745
Definition: tinyxml2.h:1374
LMS Signature using SHAKE with m=24, h=25.
Definition: jenum.h:5034
No Next Payload.
Definition: jenum.h:3538
Korean Block Cipher SEED in CCM mode.
Definition: jenum.h:1815
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void set_hdr(jarray< uint8_t > &hdr)
Encryption.
Definition: aead_chacha_poly1305.h:251
void set_field(field_t field, T fieldval)
void setup(ProtocolPP::jstream &stream)
void run()
run the responder
Resend the packet.
Definition: jenum.h:3492
XMLHandle LastChild()
Get the last child of this handle.
Definition: tinyxml2.h:2349
std::map< std::string, jstream > get_flows()
Source Demand Routing Protocol (SDRP) - 42.
Definition: jenum.h:2076
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
IEEE 802.21 Media Independent Handover Protocol.
Definition: jenum.h:1571
Little endian with formatting as b[0]b[1]b[2]b[3].
Definition: jenum.h:1226
Height of the top node of the XMSS/LMS stack.
Definition: jenum.h:845
Data Encrytpion Standard (DES)
Definition: jenum.h:3664
Authentication.
Definition: jenum.h:3545
static std::shared_ptr< judp > get_udp(std::shared_ptr< judpsa > &security)
static std::shared_ptr< jdsa > get_dsa(std::shared_ptr< jdsasa > &security)
IP tunnel mode.
Definition: jenum.h:2563
static void hkdf_extract(tls_ciphersuite_t ciphersuite, jarray< uint8_t > &salt, jarray< uint8_t > &ikm, std::shared_ptr< jarray< uint8_t >> &prk)
Length of the signature.
Definition: jenum.h:874
~jlmsa()
Standard deconstructor.
void set_exthdr(jarray< uint8_t > &exthdr)
XMSSMT using SHAKE256 with n=24, w=16, h=40, and d=2.
Definition: jenum.h:5125
XMSSMT using SHA256 with n=24, w=16, h=40, and d=4.
Definition: jenum.h:5110
void set_field(field_t field, T fieldval)
Integrated Net Layer Security Protocol (I-NLSP) - 52.
Definition: jenum.h:2086
CRC11-UTMS polynomial with 11-bit output.
Definition: jenum.h:1964
The argument is not acceptable and that's fatal.
Definition: optionparser.h:260
PARAMETER PROBLEM : BAD IP HEADER - 12.
Definition: jenum.h:2621
Received EPOCH is differnt than current association EPOCH.
Definition: jenum.h:2454
Internet Key Exchange (IKE) version 2.
Definition: jenum.h:1365
const XMLNode * Parent() const
Get the parent of this node on the DOM.
Definition: tinyxml2.h:823
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Reserved Configuration.
Definition: jenum.h:4573
void seed_crypto()
Method to reseed crypto generator from hardware.
Trailer switch tagging.
Definition: jenum.h:1602
Hyper frame number indicator (HFNI)
Definition: jenum.h:638
int avail()
Definition: jbuffman.h:464
virtual ~jdriver()
standard deconstructor
Definition: jdriver.h:128
tcpstate_t
TCP states of operation.
Definition: jtcp.h:543
Traffic Selector with FC Address Range.
Definition: jenum.h:4507
void set_field(field_t field, T fieldval)
Cipher-based MAC algorithm.
Definition: jmodes.h:976
CHACHA20 Encryption with POLY1305 Authentication and 16-byte ICV with Implicit IV.
Definition: jenum.h:3693
Triple-DES CBC encryption mode with 192-bit key.
Definition: jenum.h:1788
The key specified has expired.
Definition: jenum.h:2435
void seed(uint64_t myseed)
field_t
Definition: jenum.h:567
virtual ~jtestbench()=default
standard deconstructor
Header extension length is ODD for ROUTE header.
Definition: jenum.h:2420
uintptr_t get_addr()
Definition: ringobj.h:265
AES-CCM dual encryption and authentication mode.
Definition: jenum.h:1792
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void set_color(std::string color, jlogger::asciicolor jcolor)
Parse the received packet.
Definition: jenum.h:3491
PASS banner.
Definition: jlogger.h:424
ICMP SubType.
Definition: jenum.h:621
int osize
size of the output ring in entries
Definition: jtestcfg.h:398
T get_field(field_t field)
Length of encryption salt.
Definition: jenum.h:584
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jmldsa.h:196
void ProcessData(const unsigned char *input, uint32_t length)
Dummy type for Atalk over PPP.
Definition: jenum.h:1593
Order.
Definition: jenum.h:714
void sfmt_fill_array8(uint8_t *array, int size)
Definition: SFMT.h:206
void set_computlat(const char *latency)
SNDNXT.
Definition: jenum.h:688
static std::shared_ptr< jmodes > get_crc(auth_t crc=auth_t::CRC32_IEEE, uint32_t poly=0, uint32_t polylen=0, bool zeroinit=false, bool swapin=true, bool swapout=true, bool xorout=true)
void ProcessData(const uint8_t *input, uint8_t *output, int length, uint8_t *aad=nullptr, int aadlen=0)
Key Exchange
Definition: jenum.h:3540
std::string get_complat()
Extended General Encapsulation Protocol (EGRE)
Definition: jenum.h:1373
The key specified is invalid or not found.
Definition: jenum.h:2434
uint64_t get_field(field_t field, jarray< uint8_t > &header)
notify_err_t
Definition: jenum.h:4151
Unassigned.
Definition: jenum.h:4071
uintptr_t get_addr()
Definition: ringobj.h:350
void push(uint64_t packet, uint32_t size, uint32_t status)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
DEC Assigned proto.
Definition: jenum.h:1533
(BOTH) represents waiting for a connection termination request from the remote TCP
Definition: jtcp.h:549
Reserved.
Definition: jenum.h:3346
XMLElement * RootElement()
Definition: tinyxml2.h:2075
No PRF Authentication method.
Definition: jenum.h:4080
Generic Routing Encapsulation (GRE) - 47.
Definition: jenum.h:2081
XMLError QueryFloatValue(float *value) const
See QueryIntValue.
INPUT data for this packet.
Definition: jenum.h:791
T get_field(field_t field)
double sfmt_to_real1(uint32_t v)
Definition: SFMT.h:366
(Client) Connection request sent, waiting for server request
Definition: jtcp.h:545
IKE Signature Algorithm.
Definition: jenum.h:760
void SetUserData(void *userData)
Definition: tinyxml2.h:1007
Ethertype DSA [ NOT AN OFFICIALLY REGISTERED ID ].
Definition: jenum.h:1578
ike_pyld_t
Definition: jenum.h:3537
HMAC-SHA2-384 Authentication with 192-bit ICV.
Definition: jenum.h:3798
DESTINATION UNREACHABLE - 3.
Definition: jenum.h:2612
void set_mem(std::string packet, uint8_t *ptr)
void set_field(field_t field, uint64_t value)
Definition: optionparser.h:1739
IPX in IP (IPX-in-IP) - 111.
Definition: jenum.h:2145
Definition: jtestcfg.h:343
BrainPool P512R1.
Definition: jenum.h:3888
T get_field(field_t field)
Kyber ETA1 parameter.
Definition: jenum.h:886
Reserved Configuration.
Definition: jenum.h:4579
Definition: jconfident.h:1490
Extended Sequence Number transform.
Definition: jenum.h:3603
In ROUTE header, Segments left is larger than N
Definition: jenum.h:2421
Management(WIFI10) - Disassociation / Control - PS-Poll / Data - QoS Data + CF-Poll.
Definition: jenum.h:3280
CHACHA20 encryption mode.
Definition: jenum.h:1800
std::string getstr(const char *input)
XMLError QueryDoubleAttribute(const char *name, double *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1573
std::list< std::array< Q, T > > get()
Definition: jbuffacc.h:301
virtual ~jwots()=default
default
Length of the IP headeer.
Definition: jenum.h:611
uint32_t get_u32(bool use_crypto=false)
uint64_t get_sgt(uint32_t datasize, uint8_t *data)
uint64_t get_field(field_t field, jarray< uint8_t > &hdr)
Wifi protocol.
Definition: jenum.h:1342
Dummy type for WAN PPP frames.
Definition: jenum.h:1588
void restartRow()
Reset iteration to the beginning of the current row.
Definition: optionparser.h:2079
Encryption transform.
Definition: jenum.h:3599
AES-CMAC authenticate only with 16 byte MAC.
Definition: jenum.h:1955
50
Definition: jenum.h:2982
TCP server received packet while listening without SYN=1.
Definition: jenum.h:2411
void set_data(field_t field, std::shared_ptr< jarray< uint8_t >> &data)
void set_field(field_t field, T fieldval)
A parsed option from the command line together with its argument if it has one.
Definition: optionparser.h:442
49
Definition: jenum.h:2981
std::string m_filename
file input string for this protocol
Definition: jprotocol.h:721
void write(uintptr_t address, uint32_t data)
virtual ~jmacsec()=default
Standard deconstructor.
TIMESTAMP - 13.
Definition: jenum.h:2622
virtual uint64_t get_field(field_t field)
Definition: jprotocol.h:320
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Sphincs+ algorithm using SHAKE equivalent to 192-bit security.
Definition: jenum.h:5287
const char *const longopt
The long option name (without the leading – ).
Definition: optionparser.h:393
Definition: tinyxml2.h:403
int size()
return total number of bytes
Definition: jbuffacc.h:307
Server Hello - 2.
Definition: jenum.h:2904
No Ethernet command.
Definition: jenum.h:1607
void operator^=(jarray< T > &rhs)
Definition: jarray.h:1390
static bool chkLicense()
check the license
Checksum error.
Definition: jenum.h:2410
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
void SetAttribute(const char *name, float value)
Sets the named attribute to value.
Definition: tinyxml2.h:1755
Complement output CRC.
Definition: jenum.h:798
Key Length Attribugte.
Definition: jenum.h:3620
CANFD: CAN flexible data rate.
Definition: jenum.h:1592
ECHO REQUEST (ICMPv6) - 128.
Definition: jenum.h:2636
HMAC_SHA2_224 keyed authentication mode with 28 byte MAC.
Definition: jenum.h:1945
Definition: jlogger.h:278
FQDN ID type.
Definition: jenum.h:3964
uint32_t get_status()
Definition: ringobj.h:277
mldsa_algorithm_t
Definition: jenum.h:5233
Unassigned.
Definition: jenum.h:4075
LMS Signatrure method.
Definition: jenum.h:1370
virtual XMLElement * ToElement()
Safely cast to an Element, or null.
Definition: tinyxml2.h:754
const char * name
The name of the option as used on the command line.
Definition: optionparser.h:481
This is the only file required to use The Lean Mean C++ Option Parser. Just #include it and you're se...
Nodal JUMBOGRAM support.
Definition: jenum.h:615
Extended Subheader Field ESF=1 then ESF is present and follows MAC header.
Definition: jenum.h:729
Certificate encoded as SPKI.
Definition: jenum.h:4022
TE get_extseq()
Definition: jreplay.h:648
iana_t
Definition: jenum.h:2033
virtual ~wasp()=default
W.A.S.P standard deconstructor.
Port Access Entity (IEEE 802.1X)
Definition: jenum.h:1558
ipmode_t
Definition: jenum.h:2561
virtual void operator()(const char *str, int size)
Writes the given number of chars beginning at the given pointer somewhere.
Definition: optionparser.h:1759
PARAMETER PROBLEM (ICMPv6) - 4.
Definition: jenum.h:2632
MKI data length.
Definition: jenum.h:677
static void deactivateLicense()
deactivate the license
virtual ~jip()=default
Standard deconstructor.
virtual ~jmldsa()=default
default
void erase(uint32_t index, uint32_t elements)
Definition: jarray.h:1143
Chinese Block Cipher SM4 in GCM mode.
Definition: jenum.h:1821
virtual XMLDocument * ToDocument() override
Safely cast to a Document, or null.
Definition: tinyxml2.h:1996
void run()
run the testbench and issue packets
Programming error.
Definition: jenum.h:2402
Chaos - 16.
Definition: jenum.h:2050
uint64_t get_field(field_t field, jarray< uint8_t > &header)
virtual void open_ostream(const std::string &name)=0
open_ostream - pure virtual function to override in your testbench
Generic Secure Password Method.
Definition: jenum.h:3555
SNOWV F8 stream encryption algorithm.
Definition: jenum.h:1824
void set_field(field_t field, uint64_t value)
uint64_t get_field(field_t field)
AES-CMAC-96 Authentication with 96-bit ICV.
Definition: jenum.h:3793
jkyber(std::shared_ptr< jrand > &rand)
This option code indicates the end of the option list. This might not coincide with the end of the TC...
Definition: jtcp.h:530
void result(uint8_t *crc)
jarray< uint8_t > get_hdr()
uintptr_t get_addr()
Definition: ringobj.h:141
Secure Versatile Message Transaction Protocol (SECURE-VMTP) - 82.
Definition: jenum.h:2116
void get_security(std::shared_ptr< jdsasa > &sec)
Unassigned.
Definition: jenum.h:3968
TCP header reserved bits error.
Definition: jenum.h:2414
Host Identity Protocol (HIP) - 139.
Definition: jenum.h:2173
jarray< uint8_t > get_hdr()
static std::shared_ptr< jwifi > get_wifi(std::shared_ptr< jrand > &rand, std::shared_ptr< jwifisa > &security, std::string replay=std::string("NORMAL"))
CRC8-LTE polynomial with 8-bit output.
Definition: jenum.h:1963
Standard yellow.
Definition: jlogger.h:394
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
DES-CBC encryption with 40-bit key.
Definition: jenum.h:1786
Stats(const Descriptor usage[], int argc, char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
POSIX Stats(...) (gnu==false) with non-const argv.
Definition: optionparser.h:1026
Unassigned.
Definition: jenum.h:4073
LMS Signature using SHA256 with m=32, h=15.
Definition: jenum.h:5017
void * GetUserData() const
Definition: tinyxml2.h:1014
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Option(const Descriptor *desc_, const char *name_, const char *arg_)
Creates a new Option that is a one-element linked list and has the given values for desc,...
Definition: optionparser.h:802
NIST approved Dilithium signature post quantum algorithm.
Definition: jenum.h:1379
void get_security(std::shared_ptr< jtcpsa > &sec)
XMSSMT using SHAKE256 with n=32, w=16, h=40, and d=8.
Definition: jenum.h:5119
Length of the polynomial vector.
Definition: jenum.h:879
XMLHandle(XMLNode *node)
Create a handle from any node (at any depth of the tree.) This can be a null pointer.
Definition: tinyxml2.h:2326
jikeprf()
Standard constructor.
Management(WIFI9) - ATM / Control - Block ACK (BlockAck) / Data - QoS Data + CF-Ack.
Definition: jenum.h:3284
T get_field(field_t field)
Orthogonal frequency division multiplexing.
Definition: jenum.h:3378
Standard magenta.
Definition: jlogger.h:396
tls_handshake_t
Definition: jenum.h:2901
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Burst length for flows.
Definition: jenum.h:815
43
Definition: jenum.h:2975
113
Definition: jenum.h:2993
Sequence number in the future, shifts window left (seqnum = seqnum + random("2..31"))
Definition: jenum.h:2535
The payload data was invalid.
Definition: jenum.h:2440
Coding of RSA decrypted data was incorrect.
Definition: jenum.h:2444
Source port for NAT.
Definition: jenum.h:597
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Zero initial value for CRC calculation.
Definition: jenum.h:795
XEROX NS IDP (XNS-IDP) - 22.
Definition: jenum.h:2056
TLS/SSL protocol.
Definition: jenum.h:1347
Seed length for XWing algorithm.
Definition: jenum.h:888
void operator+=(jarray< T > &rhs)
Definition: jarray.h:1454
AES-GCM with 32-byte key and 16-byte ICV.
Definition: jenum.h:3048
forCES inter-FE LFB type
Definition: jenum.h:1579
TCP.
Definition: jenum.h:1350
Definition: jecdsaedsa.h:165
virtual ~jreplay()=default
Standard deconstructor.
IKE Next Payload Value.
Definition: jenum.h:738
void ClearBuffer(bool resetToFirstElement=true)
Definition: tinyxml2.h:2616
Encrypt-then-MAC the TLS packet.
Definition: jenum.h:701
SNDW2.
Definition: jenum.h:692
Application message - 0x17.
Definition: jenum.h:2852
SpectraLink Radio Protocol (SRP) - 119.
Definition: jenum.h:2153
Galois Counter Mode.
Definition: jmodes.h:970
Allow SEQNUM overflow during ENCAP.
Definition: jenum.h:588
virtual ~jsecass()=default
Standard deconstructor.
Appletalk DDP.
Definition: jenum.h:1543
(BOTH) represents waiting for an acknowledgment of the connection termination request previously sent...
Definition: jtcp.h:551
void decrypt(std::shared_ptr< jarray< uint8_t >> &ciphertext, std::shared_ptr< jarray< uint8_t >> &sharedsecret)
Ciphersuite for the TLS protocol.
Definition: jenum.h:700
DESTINATION PORT UNREACHABLE - 3.
Definition: jenum.h:2726
uint32_t get_size()
Definition: ringobj.h:271
void update_status(uint32_t stat)
Curve 448.
Definition: jenum.h:3890
NULL encryption.
Definition: jenum.h:3047
Audit for sequence number overflow.
Definition: jipsec.h:1742
21
Definition: jenum.h:2969
void get_data(field_t field, std::shared_ptr< jarray< uint8_t >> &data)
Unassigned.
Definition: jenum.h:3867
AES-CCM with 32-byte key and 8-byte ICV.
Definition: jenum.h:3052
void get_security(std::shared_ptr< T > &security)
IPsec.
Definition: jenum.h:1353
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
std::shared_ptr< ProtocolPP::jbuffer< uint8_t, 256 > > m_memory
shared buffer memory
Definition: jproducerbuf.h:374
void setup(ProtocolPP::jstream &stream)
double sfmt_genrand_real2()
Definition: SFMT.h:396
Curve 25519.
Definition: jenum.h:3889
Every packet (be careful!!!)
Definition: jenum.h:1584
PKCS v1.5 padding.
Definition: jenum.h:4721
Configure supported attributes.
Definition: jenum.h:4582
void free_mem(std::string &packet)
run the testbench
ROHC MRRU.
Definition: jenum.h:4659
jlogger(const std::string &name, bool logstdout=false, severity_t loglvl=severity_t::info, jlogger::asciicolor debugclr=jlogger::asciicolor::MAGENTA, jlogger::asciicolor infoclr=jlogger::asciicolor::CYAN, jlogger::asciicolor warningclr=jlogger::asciicolor::BRIGHTYELLOW, jlogger::asciicolor errorclr=jlogger::asciicolor::RED, jlogger::asciicolor fatalclr=jlogger::asciicolor::RED, jlogger::asciicolor passclr=jlogger::asciicolor::GREEN)
The namespace of The Lean Mean C++ Option Parser.
Definition: optionparser.h:227
(Server) waiting for a confirming connection request acknowledgment having both received and sent a c...
Definition: jtcp.h:546
void set_field(field_t field, T fieldval)
XMLError QueryUnsignedAttribute(const char *name, unsigned int *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1538
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Korean Cipher ARIA in CTR mode.
Definition: jenum.h:1809
void get_security(std::shared_ptr< jmemblobsa > &sec)
IL Transport Protocol (IL) - 40.
Definition: jenum.h:2074
Reset sequence number (RSN)
Definition: jenum.h:634
Timestamp.
Definition: jtcp.h:537
Trunk-1 - 23.
Definition: jenum.h:2057
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jmldsa.h:202
void send()
Definition: jdriver.h:210
uint64_t iaddr
address of the input ring
Definition: jtestcfg.h:400
Fragmentation ID for this segment in the overall packet.
Definition: jenum.h:603
virtual ~secout()=default
standard deconstructor
void set_field(field_t field, uint64_t value)
void set_field(field_t field, uint64_t value)
Management(WIFI8) - Beacon / Control - Block ACK Request (BlockAckReq) / Data - QoS Data.
Definition: jenum.h:3276
Certificate encoded as raw public key.
Definition: jenum.h:4028
void exec(uintptr_t inaddr, uint32_t inlen, uintptr_t outaddr, uint32_t outlen, std::shared_ptr< std::map< std::string, std::shared_ptr< ProtocolPP::jstream >>> &flows, bool protect=false, std::string stream=std::string(""))
uint64_t get_field(field_t field)
ECDSA with SHA-512 on the P-512 Curve.
Definition: jenum.h:4078
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void set_security(std::shared_ptr< T > &security)
XMSSMT using SHAKE256 with n=32, w=16, h=60, and d=3.
Definition: jenum.h:5120
Memory Blob Key.
Definition: jenum.h:825
exchg_t
Definition: jenum.h:3482
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
ots_algorithm_t
Definition: jenum.h:4869
Audit for anti-replay error.
Definition: jipsec.h:1743
Ipsilon Flow Management Protocol (IFMP) - 101.
Definition: jenum.h:2135
CRC check failure.
Definition: jenum.h:2404
ADDRESS MASK REQUEST - 17.
Definition: jenum.h:2626
AES-CCM Encryption with 12-byte ICV.
Definition: jenum.h:3677
Expected length of the packet.
Definition: jenum.h:787
WIDEBAND Monitoring (WB-MON) - 78.
Definition: jenum.h:2112
AES-CTR encryption mode.
Definition: jenum.h:1791
static std::shared_ptr< jtls > get_tls(std::shared_ptr< jrand > &rand, std::shared_ptr< jtlsa > &security, std::string replay=std::string("NORMAL"))
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Flags field in the IPv4.
Definition: jenum.h:596
AEAD dual mode with POLY1305.
Definition: jmodes.h:977
D-II Data Exchange (DDX) - 116.
Definition: jenum.h:2150
Definition: jwifisa.h:1297
User Datagram Protocol (UDP) - 17.
Definition: jenum.h:2051
virtual ~jmemblob()=default
Standard deconstructor.
LMS Signature using SHA256 with m=24, h=25.
Definition: jenum.h:5024
Diffie-Hellman transform.
Definition: jenum.h:3602
union W128_T w128_t
Definition: SFMT.h:176
Locus Address Resolution Protocol (LARP) - 92.
Definition: jenum.h:2126
T get_field(field_t field)
New Session Ticket - 4.
Definition: jenum.h:2905
Bold cyan.
Definition: jlogger.h:405
void run()
run the responder
Certificate - 11.
Definition: jenum.h:2906
Contributing source identifier (CSRC)
Definition: jenum.h:674
jring(uintptr_t address, size_t size)
Definition: jring.h:108
static std::shared_ptr< jlte > get_lte(std::shared_ptr< jrand > &rand, std::shared_ptr< jltesa > &security, std::string replay=std::string("NORMAL"))
Option(const Option &orig)
Makes *this a copy of orig except for the linked list pointers.
Definition: optionparser.h:822
Reserved.
Definition: jenum.h:3340
IKE Authentication Exchange.
Definition: jenum.h:3484
LMS One-Time Signature using SHAKE with n=24, w=8, p=34, ls=0, sig_len=1124.
Definition: jenum.h:4919
~jdtlsa13()
Standard deconstructor.
Flexible Intra-AS Routing Environment (FIRE) - 125.
Definition: jenum.h:2159
HMAC-SHA2-384 Pseudo Random Function with 48-byte ICV.
Definition: jenum.h:3748
cfg_resp_t
Definition: jenum.h:4524
uint32_t read(uint64_t address)
Standard green.
Definition: jlogger.h:393
virtual ~sfmt()
Standard deconstructor.
Definition: SFMT.h:206
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Null Encryption (NOT ALLOWED)
Definition: jenum.h:3673
virtual ~jlms()=default
default
jwots(std::shared_ptr< jrand > &rand)
void receive()
Definition: jdriver.h:266
XMLError QueryAttribute(const char *name, ProtocolPP::jarray< uint8_t > *value) const
Definition: tinyxml2.h:1635
const XMLNode * LastChild() const
Get the last child node, or null if none exists.
Definition: tinyxml2.h:855
XMLDeclaration * ToDeclaration()
Safe cast to XMLDeclaration. This can return null.
Definition: tinyxml2.h:2390
MODP Group 3072-bit.
Definition: jenum.h:3873
dh_id_t
Definition: jenum.h:3857
~jlogger()
standard deconstructor
void decryptdat(std::shared_ptr< jarray< uint8_t >> &black, std::shared_ptr< jarray< uint8_t >> &red)
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
virtual void set_field(field_t field, uint64_t value)=0
Security Association Key.
Definition: jenum.h:659
Definition: poly1305-16.h:80
Definition: jecdsafp.h:250
ROHC Profile.
Definition: jenum.h:4656
Enable Network Address Translation (NAT) insertion.
Definition: jenum.h:592
uint8_t get_u8(bool use_crypto=false)
XMLError QueryUnsigned64Value(uint64_t *value) const
See QueryIntValue.
uint32_t func2(uint32_t x)
uint64_t get_field(field_t field)
void set_field(field_t field, uint64_t fieldval)
void add(const Descriptor usage[], int argc, char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
POSIX add() (gnu==false) with non-const argv.
Definition: optionparser.h:1060
Falcon signature post quantum algorithm.
Definition: jenum.h:1380
22
Definition: jenum.h:2970
REDIRECT DATAGRAM FOR THE HOST - 1.
Definition: jenum.h:2740
Secure Socket Layer v3.0 - 0x3000.
Definition: jenum.h:2818
Definition: optionparser.h:1465
int sfmt_get_min_array_size16()
CRC with user supplied polynomial.
Definition: jenum.h:1974
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Control Frame extension.
Definition: jenum.h:704
CRC7-UTMS polynomial with 7-bit output.
Definition: jenum.h:1962
TCPTIMEOUT.
Definition: jenum.h:698
XMSS using SHAKE256 with n=24, w=16, and h=16.
Definition: jenum.h:4970
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
IKE Responder Nonce.
Definition: jenum.h:746
Header Check Sequence 8-bit header checksum.
Definition: jenum.h:735
XMLHandle FirstChildElement(const char *name=0)
Get the first child element of this handle.
Definition: tinyxml2.h:2345
jarray< uint8_t > get_hdr()
int get_int(bool use_crypto=false)
TIPC.
Definition: jenum.h:1562
REDIRECT MESSAGE - 5.
Definition: jenum.h:2614
IKE Initiator Salt Value.
Definition: jenum.h:750
T get_field(field_t field)
void set_addr(uintptr_t address)
Definition: ringobj.h:177
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
SEED cipher.
Definition: jmodes.h:925
Definition: jreplay.h:235
void write(uintptr_t address, uint32_t data)
CRC24-LTE-B polynomial with 24-bit output.
Definition: jenum.h:1969
virtual uint64_t get_mem(std::string name, uint32_t length)=0
void add(const Descriptor usage[], int argc, const char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
POSIX add() (gnu==false).
Definition: optionparser.h:1053
const Option * prevwrap() const
Definition: optionparser.h:682
FCoE Initialization Protocol.
Definition: jenum.h:1570
XMSSMT using SHA256 with n=32, w=16, h=40, and d=2.
Definition: jenum.h:5101
Encapsulate the payload with protocol.
Definition: jenum.h:1712
Definition: jipsecsa.h:691
XMSSMT using SHAKE256 with n=32, w=16, h=40, and d=2.
Definition: jenum.h:5117
dir_id_t
Definition: jenum.h:3419
void deque(int buffers, std::shared_ptr< std::list< std::array< T, Q >>> &linklist)
Definition: jbuffman.h:386
static std::shared_ptr< jtls13 > get_tls13(std::shared_ptr< jrand > &rand, std::shared_ptr< jtlsa13 > &security)
jxmssaddr()
Standard constructor with OTSADDR type and all addresses set to zero.
Swap output data before CRC calculation.
Definition: jenum.h:797
std::shared_ptr< jreplay< T, TE > > update_replay(protocol_t prot, T &seqnum, TE &extseq, bool usext, uint32_t size)
Definition: jprotocol.h:609
TCP state of operation.
Definition: jenum.h:683
The argument is not acceptable but that's non-fatal because the option's argument is optional.
Definition: optionparser.h:258
Reserved for IEEE P1619 XTS-AES.
Definition: jenum.h:3684
Definition: optionparser.h:1840
void teardown()
teardown the responder
Dissimilar Gateway Protocol (DGP) - 87.
Definition: jenum.h:2121
Previous packet to this one (set to "begin" if this is the first packet)
Definition: jenum.h:789
T get_field(field_t field)
10
Definition: jenum.h:2967
Definition: optionparser.h:1819
static std::shared_ptr< jconfident > get_confident(std::shared_ptr< jconfidentsa > &security)
48
Definition: jenum.h:2980
tlstype_t
Definition: jenum.h:2848
VINES - 83.
Definition: jenum.h:2117
void get(std::shared_ptr< jdata > &data)
Traffic Selector Responder.
Definition: jenum.h:3551
AES-CCM Encryption with 16-byte ICV.
Definition: jenum.h:3678
bool perform(Option &option)
Called by Parser::workhorse() for each Option that has been successfully parsed (including unknown op...
Definition: optionparser.h:1491
virtual ~secin()=default
standard deconstructor
void sfmt_init_gen_rand(uint32_t seed)
Configure a IPv4 DNS setting.
Definition: jenum.h:4571
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jxmss.h:493
static void hkdf_expand(tls_ciphersuite_t ciphersuite, uint32_t keymatlen, std::shared_ptr< jarray< uint8_t >> &prk, std::shared_ptr< jarray< uint8_t >> &info, std::shared_ptr< jarray< uint8_t >> &okm)
Protocol type field for GRE.
Definition: jenum.h:869
ML-DSA signature algorithm with 1312 byte public key and 2420 byte signature.
Definition: jenum.h:5234
ALTERNATE HOST ADDRESS - 6.
Definition: jenum.h:2615
jarray< uint32_t > getword(uint32_t amount, bool use_crypto=false)
Sphincs+ algorithm using SHA2 equivalent to 128-bit security.
Definition: jenum.h:5278
Internet Packet Core Utility (IPCV) - 71.
Definition: jenum.h:2105
Warning alert - 2.
Definition: jenum.h:2875
~jring()
deconstructor
Definition: jring.h:122
Configure a IPv4 DNS setting.
Definition: jenum.h:4432
BEYOND SCOPE OF SOURCE ADDR (ICMPv6) - 2.
Definition: jenum.h:2750
Dummy type for PP MP frames.
Definition: jenum.h:1589
int isize
size of the input ring in entries
Definition: jtestcfg.h:397
HMAC_SHA3_512 keyed authentication mode with 64 byte MAC.
Definition: jenum.h:1952
void context(uint8_t *context, uint32_t length)
Begin_Enum_String(field_t)
Definition: jenum.h:893
Key identification.
Definition: jenum.h:724
Chinese Block Cipher SM4 in CCM mode.
Definition: jenum.h:1820
void to_xml()
Generate XML output.
Network Service Header.
Definition: jenum.h:1572
Width of buffer type in bytes (0, 1, 2, 4, 8)
Definition: jenum.h:811
The request was interrupted by a signal.
Definition: jenum.h:2443
uint64_t get_field(field_t field)
SM4 cipher.
Definition: jmodes.h:926
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
XMLHandle PreviousSibling()
Get the previous sibling of this handle.
Definition: tinyxml2.h:2357
Parser()
Creates a new Parser.
Definition: optionparser.h:1100
Definition: jsecass.h:159
RESERVED (ICMPv6) - 255.
Definition: jenum.h:2640
bool BoolValue() const
Query as a boolean. See IntValue()
Definition: tinyxml2.h:1276
void set_field(field_t field, T fieldval)
void set_hdr(jarray< uint8_t > &hdr)
FC Name ID type.
Definition: jenum.h:3974
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Definition: tinyxml2.h:736
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input)
Receive timestamp.
Definition: jenum.h:626
Server Hello Done - 14.
Definition: jenum.h:2909
virtual bool Visit(const XMLText &)
Visit a text node.
Definition: tinyxml2.h:565
41
Definition: jenum.h:2973
void set_addr(uintptr_t address)
Definition: ringobj.h:368
G8BPQ AX.25 Ethernet Packet [ NOT AN OFFICIALLY REGISTERED ID ].
Definition: jenum.h:1529
LMS Signature using SHAKE with m=24, h=15.
Definition: jenum.h:5032
void sign(std::shared_ptr< jarray< uint8_t >> &message, std::shared_ptr< jarray< uint8_t >> &signedmsg)
void operator*=(jarray< T > &rhs)
Definition: jarray.h:1438
CRC16-CCITT polynomial with 16-bit output.
Definition: jenum.h:1967
xmssmt_algorithm_t
Definition: jenum.h:5097
46
Definition: jenum.h:2978
Certificate encoded as X509_ATTRIBUTE.
Definition: jenum.h:4024
Sphincs+ algorithm using SHAKE equivlaent to 192-bit security.
Definition: jenum.h:5286
Direction of processing is into host.
Definition: jenum.h:3420
Definition: EnumString.h:132
int type() const
Returns Descriptor::type of this Option's Descriptor, or 0 if this Option is invalid (unused).
Definition: optionparser.h:533
LMS Signature using SHA256 with m=32, h=25.
Definition: jenum.h:5019
uint32_t get_status(std::string &packet)
ike_secpass_t
Definition: jenum.h:4677
Ring Driver.
Definition: jenum.h:1355
void verify(std::shared_ptr< jarray< uint8_t >> &signmsg, std::shared_ptr< jarray< uint8_t >> &message)
virtual ~ringout()=default
standard deconstructor
Marker field.
Definition: jenum.h:669
jxmss(std::shared_ptr< jrand > &rand)
MIT Remote Virtual Disk Protocol (RVD) - 66.
Definition: jenum.h:2100
Exterior Gateway Protocol (EGP) - 8.
Definition: jenum.h:2042
Definition: jpoly1305.h:113
IPsec Tunnel Mode.
Definition: jenum.h:3459
Bold white.
Definition: jlogger.h:406
Definition: jlogger.h:241
virtual ~jxmssaddr()=default
Standard deconstructor.
jarray< uint8_t > get_exthdr()
LMS One-Time Signature using SHAKE with n=24, w=2, p=133, ls=6, sig_len=4292.
Definition: jenum.h:4917
Stats(bool gnu, const Descriptor usage[], int argc, char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
Stats(...) with non-const argv.
Definition: optionparser.h:1010
IKE Minor Revision Number.
Definition: jenum.h:740
XMSS using SHA256 with n=24, w=16, and h=10.
Definition: jenum.h:4963
Any host Internet Protocol - 61.
Definition: jenum.h:2095
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
~jwimaxsa()
Standard deconstructor.
void set_readlat(const char *latency)
int sfmt_get_min_array_size8()
LMS Signature using SHA256 with m=24, h=5.
Definition: jenum.h:5020
Generate a string of zeros.
Definition: jenum.h:1275
IP.
Definition: jenum.h:1352
~jarray()=default
Standard deconstructor for jarray.
~jtlsa()
Standard deconstructor.
Option * prev()
Returns a pointer to the previous element of the linked list or NULL if called on first().
Definition: optionparser.h:661
void flush(IStringWriter &write)
Writes out all remaining data from the LineWrapper using write. Unlike process() this method indents ...
Definition: optionparser.h:2330
uint32_t get_status(uint64_t address)
Generator value for DSA (usually called "g")
Definition: jenum.h:770
Padding field.
Definition: jenum.h:667
Certificate encoded as X509 Signature.
Definition: jenum.h:4017
NETWORK ADMINISTRATIVELY PROHIBITED - 9.
Definition: jenum.h:2732
Timeout Period for Liveness Check Number.
Definition: jenum.h:4592
NO DESTINATION (ICMPv6) - 0.
Definition: jenum.h:2748
Number of bytes encrypted or decrypted by this flow.
Definition: jenum.h:586
MultiProtocol Over ATM.
Definition: jenum.h:1555
Parser(bool gnu, const Descriptor usage[], int argc, const char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
Creates a new Parser and immediately parses the given argument vector.
Definition: optionparser.h:1109
Number of buffers in the memory (default: 16384)
Definition: jenum.h:812
Standard white.
Definition: jlogger.h:398
Pointer size for testbench.
Definition: jenum.h:808
Transmission Control Protocol (TCP) - 6.
Definition: jenum.h:2040
Open Shortest Path First (OSPFIGP) - 90.
Definition: jenum.h:2124
Authentication mode.
Definition: jmodes.h:978
Packet Radio Measurement (PRM) - 21.
Definition: jenum.h:2055
uint32_t get_size()
Definition: jarray.h:982
jarray< uint8_t > get_hdr()
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Driver.
Definition: jenum.h:1357
Length of the Traffic flow Confidentiality (TFC) padding.
Definition: jenum.h:612
SubType.
Definition: jenum.h:706
jarray< uint8_t > genpk(jarray< uint8_t > &lmots_sk)
std::string name
name of the configuration
Definition: jtestcfg.h:391
XMLNode * ToNode()
Safe cast to XMLNode. This can return null.
Definition: tinyxml2.h:2374
IP Mobility (Min Encap) - 55.
Definition: jenum.h:2089
Output length of the packet.
Definition: jenum.h:786
void SetAttribute(const char *name, int value)
Sets the named attribute to value.
Definition: tinyxml2.h:1707
DES-MAC Authentication with 64-bit ICV.
Definition: jenum.h:3788
PDU length is incorrect.
Definition: jenum.h:2448
virtual ~jsecproducer()=default
standard deconstructor
Key derivation function (KDF) algorithm.
Definition: jenum.h:715
const CheckArg check_arg
For each option that matches shortopt or longopt this function will be called to check a potential ar...
Definition: optionparser.h:405
SNOW3G F8 encryption mode.
Definition: jmodes.h:928
WIDEBAND EXPAK (WB-EXPAK) - 79.
Definition: jenum.h:2113
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
icmpcode_t
Definition: jenum.h:2721
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
uint32_t size()
Definition: jreplay.h:624
Time this MacSEC was created.
Definition: jenum.h:664
void get_security(std::shared_ptr< jlmsa > &sec)
LMS One-Time Signature using SHAKE with n=32, w=2, p=133, ls=6, sig_len=4292.
Definition: jenum.h:4913
void set_hdr(jarray< uint8_t > &hdr)
Configuration.
Definition: jenum.h:3553
AES-XCBC-MAC-96 one way hash.
Definition: jmodes.h:974
void set_hdr(jarray< uint8_t > &hdr)
void append(jarray< T > rhs)
Definition: jarray.h:1067
LMS One-Time Signature using SHA256 with n=24, w=2, p=133, ls=6, sig_len=4292.
Definition: jenum.h:4909
HMAC-MD5-128 Authentication with 128-bit ICV.
Definition: jenum.h:3791
jgresa()
Standard constructor.
void reset()
sets the pointers to original values
Definition: jring.h:232
ICV size is incorrect for authentication scheme.
Definition: jenum.h:2428
void enqueue(std::string &flow)
Third Party Connect Protocol (3PC) - 34.
Definition: jenum.h:2068
TIMESTAMP REPLY - 14.
Definition: jenum.h:2623
For SNOW3G and ZUC user to tower.
Definition: jenum.h:1717
void set_hdr(jarray< uint8_t > &hdr)
Five LSB(s) of PGK identity.
Definition: jenum.h:643
CRC12-UTMS polynomial with 12-bit output.
Definition: jenum.h:1965
Leaf-2 - 26.
Definition: jenum.h:2060
ringin(uintptr_t address, uint32_t size, std::string stream, uint32_t protect=0, uintptr_t outaddr=0, uint32_t outlen=0)
Definition: ringobj.h:119
Encrypted and Authenticated.
Definition: jenum.h:3552
virtual void operator()(const char *, int)
Writes the given number of chars beginning at the given pointer somewhere.
Definition: optionparser.h:1744
void set_status(uint32_t status)
Definition: ringobj.h:505
70
Definition: jenum.h:2985
virtual ~jprotocol()
Standard deconstructor.
LMS Signature using SHA256 with m=32, h=20.
Definition: jenum.h:5018
51
Definition: jenum.h:2983
Read end of file.
Definition: jenum.h:2405
Fresh value for F9 modes.
Definition: jenum.h:650
Combat Radio User Datagram (CRUDP) - 127.
Definition: jenum.h:2161
Leaf-1 - 25.
Definition: jenum.h:2059
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jkyber.h:198
const char * sfmt_get_idstring()
void context(uint32_t *context)
Standard red.
Definition: jlogger.h:392
Management frame.
Definition: jenum.h:3232
virtual ~jlte()=default
Standard deconstructor.
RSA Padding type.
Definition: jenum.h:763
Generate random string of bytes.
Definition: jenum.h:1273
Definition: jexecbuf.h:142
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Enable fragmentation of packet.
Definition: jenum.h:602
void set_field(field_t field, T fieldval)
Transport Layer Security v1.1 - 0x0302.
Definition: jenum.h:2820
Internet Pluribus Packet Core (IPPC) - 67.
Definition: jenum.h:2101
static jlogger::asciicolor toEnum(std::string color)
Compaq Peer Protocol (Compaq-Peer) - 110.
Definition: jenum.h:2144
AES-CBC Encryption.
Definition: jenum.h:3674
~jzuc()
Standard deconstructor.
Internet Reliable Transaction Protocol (IRTP) - 28.
Definition: jenum.h:2062
static void neon_recursion(uint32x4_t *r, uint32x4_t a, uint32x4_t b, uint32x4_t c, uint32x4_t d)
Definition: SFMT-neon.h:28
Length of intermediate message.
Definition: jenum.h:884
Definition: jicmpsa.h:160
Simple Key-Management for Internet Protocol (SKIP) - 57.
Definition: jenum.h:2091
AES-128-GMAC Authentication with 128-bit ICV.
Definition: jenum.h:3794
dir_t
Definition: jsnow3g.h:340
virtual uintptr_t get_mem(std::string packet, uint32_t length)=0
Definition: jmacsec.h:1184
virtual XMLText * ToText()
Safely cast to Text, or null.
Definition: tinyxml2.h:758
void verify(std::shared_ptr< jarray< uint8_t >> &signedmsg, std::shared_ptr< jarray< uint8_t >> &message)
Cipher key for encryption.
Definition: jenum.h:578
Malformed packet.
Definition: jenum.h:2430
rsapadtype_t
Definition: jenum.h:4720
Transmit timestamp.
Definition: jenum.h:627
virtual ~jipsa()=default
Standard deconstructor.
Number of packets.
Definition: jenum.h:804
ICMP Protocol.
Definition: jenum.h:4455
void SetBOM(bool useBOM)
Definition: tinyxml2.h:2068
Universal Transport Interface Protocol (UTI) - 120.
Definition: jenum.h:2154
T get_field(field_t field)
XMLError QueryIntAttribute(const char *name, int *value) const
Definition: tinyxml2.h:1468
Virtual eXtensible Local Area Network (VXLAN)
Definition: jenum.h:1375
UDP.
Definition: jenum.h:1349
void enqueue(std::string &flow)
LMS Algorithm value as jarray<uint8_t>
Definition: jenum.h:857
XMSS using SHAKE256 with n=32, w=16, and h=20.
Definition: jenum.h:4968
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
XMLError QueryShortValue(uint16_t *value) const
void set_hdr(jarray< uint8_t > &hdr)
COMMUNICATION WITH DEST ADMINISTRATIVELY PROHIBITED (ICMPv6) - 1.
Definition: jenum.h:2749
jarray< uint8_t > format_exthdr(iana_t extension, iana_t nh, jarray< uint8_t > &data, uint16_t type_offset=0, uint8_t segments=0)
void ProcessData(uint8_t *input, uint8_t *output, uint32_t length, uint8_t *aad=nullptr, uint32_t aadlen=0, uint8_t *icv=nullptr, uint32_t icvlen=0)
AES-CCM Encryption with 8-byte ICV and Implicit IV.
Definition: jenum.h:3691
static void prf(auth_t auth, std::shared_ptr< jarray< uint8_t >> &key, std::shared_ptr< jarray< uint8_t >> &label, std::shared_ptr< jarray< uint8_t >> &context, std::shared_ptr< jarray< uint8_t >> &prfout, uint32_t outlen)
Describes an option, its help text (usage) and how it should be parsed.
Definition: optionparser.h:315
virtual ~jmmu()=default
standard deconstructor
void dequea(int buffers, std::shared_ptr< jbuffacc< T, Q >> &linklist)
Definition: jbuffman.h:424
User to tower.
Definition: jmodes.h:948
crcpoly_t
Definition: jenum.h:4809
Definition: jecdsafpsa.h:252
wifisub_t
Definition: jenum.h:3274
Certificate encoded as OCSP content.
Definition: jenum.h:4027
virtual ~jdsasa()=default
Standard deconstructor.
void audit(audit_t type, jarray< uint8_t > &header)
ethid_t
Definition: jenum.h:1522
T get_field(field_t field)
pad_t
Definition: jenum.h:1272
wasp()=delete
don't use these
PPPoE session messages.
Definition: jenum.h:1552
dir_t
Definition: jmodes.h:944
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
virtual void write(uintptr_t address, uint32_t data)=0
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
LMS Signature using SHAKE with m=24, h=20.
Definition: jenum.h:5033
DEC LAT.
Definition: jenum.h:1537
IKE Responder Encryption Key.
Definition: jenum.h:749
Reserved.
Definition: jenum.h:3336
std::fstream m_file
input file stream object for this protocol
Definition: jprotocol.h:726
void set_field(field_t field, T fieldval)
Definition: jdilithium.h:88
virtual ~jexecbuf()=default
standard deconstructor
T & operator[](uint32_t index)
Definition: jarray.h:1470
void process()
process the packets, status, post-processing
XMSSMT using SHA256 with n=32, w=16, h=60, and d=3.
Definition: jenum.h:5104
Client Hello - 1.
Definition: jenum.h:2903
XMLUnknown * ToUnknown()
Safe cast to XMLUnknown. This can return null.
Definition: tinyxml2.h:2386
double sfmt_to_real2(uint32_t v)
Definition: SFMT.h:386
Definition: tinyxml2.h:1981
void intersect(jarray< T > &rhs)
Definition: jarray.h:1150
AES-GCM with 32-byte key and 12-byte ICV.
Definition: jenum.h:3050
AES-GCM with 32-byte key and 8-byte ICV.
Definition: jenum.h:3049
MODP Group 8192-bit.
Definition: jenum.h:3876
direction_t m_dir
direction of processing
Definition: jprotocol.h:701
Encapsulating Security Payload - 50.
Definition: jenum.h:2084
HMAC-SHA2-512 Pseudo Random Function with 64-byte ICV.
Definition: jenum.h:3749
SEQUENCE NUMBER RESET (ICMPv6) - 255.
Definition: jenum.h:2760
virtual ~judp()=default
Standard deconstructor.
Bold green.
Definition: jlogger.h:401
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
uint64_t get_field(field_t field, jarray< uint8_t > &iphdr)
Korean Block Cipher SEED in CBC mode.
Definition: jenum.h:1813
int GetLineNum() const
Gets the line number the attribute is in, if the document was parsed from a file.
Definition: tinyxml2.h:1219
Key size incorrect for cipher.
Definition: jenum.h:2424
100
Definition: jenum.h:2989
Sequence number length in bits.
Definition: jenum.h:635
AES-GCM Encrytpion with 16-byte ICV.
Definition: jenum.h:3682
IKE Initiator Integrity Algorithm Key.
Definition: jenum.h:753
PGM Reliable Transport Protocol (PGM) - 113.
Definition: jenum.h:2147
Bold black.
Definition: jlogger.h:399
T get_field(field_t field)
void set_field(field_t field, T fieldval)
TCF - 88.
Definition: jenum.h:2122
uint32_t size()
Definition: jring.h:225
void teardown()
terminate the driver
Configure an internal IPv4 SUBNET.
Definition: jenum.h:4581
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
IPv4 Address of the VPN gateway.
Definition: jenum.h:4634
Height of the binary tree.
Definition: jenum.h:830
std::pair< bool, uintptr_t > get_mem(std::string packet, uint32_t length)
LMS One-Time Signature using SHA256 with n=32, w=2, p=133, ls=6, sig_len=4292.
Definition: jenum.h:4905
Verify Signature.
Definition: jenum.h:4764
Ethernet-within-IP Encapsulation (ETHERIP) - 97.
Definition: jenum.h:2131
Reverse Addr Res packet.
Definition: jenum.h:1542
static uint16_t to_u16(jarray< uint8_t > src_array)
Receive queue is empty.
Definition: jenum.h:2432
DESTINATION NETWORK UNREACHABLE - 0.
Definition: jenum.h:2723
~jtlsa13()
Standard deconstructor.
void printUsage(OStream &prn, const Descriptor usage[], int width=80, int last_column_min_percent=50, int last_column_own_line_max_percent=75)
Outputs a nicely formatted usage string with support for multi-column formatting and line-wrapping.
Definition: optionparser.h:2824
Galios field based MAC algorithm.
Definition: jmodes.h:975
IBM's ARIS (Aggregate Route IP Switching) Protocol (SCPS) - 104.
Definition: jenum.h:2138
ECDSA with SHA-256 on the P-256 Curve.
Definition: jenum.h:4076
Verification object for Ed25519.
Definition: jenum.h:776
UDP-Lite Protocol - 136.
Definition: jenum.h:2170
Camellia-CTR Encryption.
Definition: jenum.h:3686
Sequence number found in the window.
Definition: jenum.h:2536
DTLSv1.3 Application per EPOCH traffic secret.
Definition: jenum.h:871
MH Protocol.
Definition: jenum.h:4459
Packet Video Protocol (PVP) - 75.
Definition: jenum.h:2109
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void SetAttribute(const char *name, uint16_t value)
Sets the named attribute to value (Added for Protocol++).
Definition: tinyxml2.h:1722
(BOTH) represents waiting for enough time to pass to be sure the remote TCP received the acknowledgme...
Definition: jtcp.h:552
Certificate encoded as PGP.
Definition: jenum.h:4015
TTL field of packet is zero.
Definition: jenum.h:2415
T * get_ptr()
Definition: jarray.h:1176
Audit for IPv6 JUMBOGRAM formatting errors.
Definition: jipsec.h:1745
WOTS+ using SHA512 with n=64, w=16.
Definition: jenum.h:4871
virtual XMLComment * ToComment()
Safely cast to a Comment, or null.
Definition: tinyxml2.h:762
void set_hdr(jarray< uint8_t > &hdr)
Internal DNS SEC TA.
Definition: jenum.h:4594
Configure Application Version.
Definition: jenum.h:4575
ECHO REPLY (ICMPv6) - 129.
Definition: jenum.h:2637
T get_field(field_t field)
LMOTS length of hash function.
Definition: jenum.h:848
Enable bypass of the DONT FRAGMENT bit copy from inner to outer header.
Definition: jenum.h:590
jring(size_t size)
Definition: jring.h:94
No Diffie-Hellman.
Definition: jenum.h:3858
macsecmode_t
Definition: jenum.h:3399
uint64_t get_field(field_t field)
(Server) Waiting for connection request
Definition: jtcp.h:544
void dequeue(std::string flow)
enqueue flows to responder
virtual bool VisitEnter(const XMLDocument &)
Visit a document.
Definition: tinyxml2.h:543
float FloatValue() const
Query as a float. See IntValue()
Definition: tinyxml2.h:1288
void set_field(field_t field, T value)
set the field
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void set_mem(std::string &packet, uint8_t *ptr)
run the testbench
jarray< uint8_t > verify(jarray< uint8_t > &message, jarray< uint8_t > &lmots_sig, jarray< uint8_t > &lmots_pk)
LTE/3GPP protocol.
Definition: jenum.h:1345
Definition: jringdrive.h:145
void set_hdr(jarray< uint8_t > &hdr)
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Length indicator field.
Definition: jenum.h:637
Reserved.
Definition: jenum.h:3344
Direction of processing (ENCAP or DECAP)
Definition: jenum.h:568
MODP Group 1024-bit with 160-bit Prime Order Subgroup.
Definition: jenum.h:3880
static void get_prf(tls_ciphersuite_t ciphersuite, jarray< uint8_t > secret, jarray< uint8_t > label, jarray< uint8_t > seed, std::shared_ptr< jarray< uint8_t >> &output, uint32_t length)
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Enable bypass of copy from inner to outer header of DiffServices.
Definition: jenum.h:591
Set IKE in LISTEN mode on the socket.
Definition: jenum.h:3493
WOTS+ Algorithm.
Definition: jenum.h:827
Servie-Specific Connection-Oriented Protocol in a Multilink and Connectionless Environment (SSCOPMCE)...
Definition: jenum.h:2162
uint64_t get_field(field_t field)
static void kdf(auth_t auth, std::shared_ptr< jarray< uint8_t >> &key, std::shared_ptr< jarray< uint8_t >> &label, std::shared_ptr< jarray< uint8_t >> &context, std::shared_ptr< jarray< uint8_t >> &devkey, uint32_t outlen)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Management(WIFI7) - RSVD / Control - Control Wrapper / Data - CF-Ack + CF-Poll (no data)
Definition: jenum.h:3289
WiGig protocol.
Definition: jenum.h:1343
std::string print(bool pretty=false, int indent=10)
Definition: jreplay.h:898
Three key IDEA Encryption.
Definition: jenum.h:3670
ICV check failure.
Definition: jenum.h:2403
Definition: jmlkemsa.h:86
IP version 6 - 41.
Definition: jenum.h:2075
void setup(ProtocolPP::jstream &stream)
T get_field(field_t field)
Web-cache coordination protocol defined in draft-wilson-wrec-wccp-v2-00.txt.
Definition: jenum.h:1550
CSRC count field.
Definition: jenum.h:668
Mode of operation either TUNNEL or TRANSPORT.
Definition: jenum.h:570
Definition: jwimaxsa.h:225
void result(uint8_t *icv)
wifictlext_t
Definition: jenum.h:3332
Alert message - 0x15.
Definition: jenum.h:2850
Multiplexed DSA protocol.
Definition: jenum.h:1606
Camellia GCM AEAD mode.
Definition: jenum.h:1806
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
User Datagram Protocol (UDP)
Definition: jenum.h:4457
OUTPUT data for this packet.
Definition: jenum.h:792
XMSS using SHAKE256 with n=24, w=16, and h=20.
Definition: jenum.h:4971
auth_method_t
Definition: jenum.h:4067
int IntValue() const
Definition: tinyxml2.h:1230
IPv6 Fragmentation header - 44.
Definition: jenum.h:2078
transform_type_t
Definition: jenum.h:3598
Xerox IEEE802.3 PUP packet.
Definition: jenum.h:1530
IKE Diffie-Hellman Group ID.
Definition: jenum.h:759
LMS Signature using SHA256 with m=24, h=20.
Definition: jenum.h:5023
virtual ~ringin()=default
standard deconstructor
Unassigned.
Definition: jenum.h:3870
Xerox PUP Addr Trans packet.
Definition: jenum.h:1525
Falcon algorithm with 1024-bit public key.
Definition: jenum.h:5253
bool operator!=(jarray< T > &rhs)
Definition: jarray.h:1376
Counter with Cipher Block Chaining-Message Authentication Code.
Definition: jmodes.h:972
uint64_t get_field(field_t field, jarray< uint8_t > &hdr)
Rollover Counter (ROC)
Definition: jenum.h:671
void set_readlat(const char *latency)
Camellia-CBC Encryption.
Definition: jenum.h:3685
Virtual Router Redundancy Protocol, Common Address Redundancy Protocol (not IANA aasigned) - 112.
Definition: jenum.h:2146
const char * data()
Returns the current part of the iteration.
Definition: optionparser.h:2204
OAEP with SHA Encryption scheme.
Definition: jenum.h:4738
TP++ Transport Protocol (TP++) - 39.
Definition: jenum.h:2073
~jltesa()
Standard deconstructor.
Internet Protocol Traffic Manager (IPTM) - 85.
Definition: jenum.h:2119
Retry.
Definition: jenum.h:710
void put_data(std::shared_ptr< jarray< uint8_t >> &wdata)
std::string get_readlat()
SNOW3G F9 mode authentication.
Definition: jenum.h:1958
Data offset.
Definition: jenum.h:680
Memory Blob Key Encryption Key (BKEK)
Definition: jenum.h:823
static std::shared_ptr< jmacsec > get_macsec(std::shared_ptr< jrand > &rand, std::shared_ptr< jmacsecsa > &security, std::string replay=std::string("NORMAL"))
uint32_t get_status(std::string &packet)
information level of logging
Definition: jlogger.h:419
virtual ~jtls13()=default
Standard deconstructor.
keymode_t
Definition: jenum.h:4761
Combat Radio Transport Protocol (CRTP) - 126.
Definition: jenum.h:2160
Generate Signature.
Definition: jenum.h:4763
Wifi SSW extension.
Definition: jenum.h:3334
ICMP protocol version 6.
Definition: jenum.h:4458
(BOTH) Open connection with data flowing. Normal state for a data connection
Definition: jtcp.h:547
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
virtual ~jtcpsa()=default
Standard deconstructor.
void set_field(field_t field, uint64_t value)
CAN: Controller Area Network.
Definition: jenum.h:1591
static std::shared_ptr< jmodes > get_cipher(jmodes::cipher_t cipher, jmodes::dir_t direction, jmodes::mode_t mode, uint8_t *key, uint32_t keylen, uint8_t *iv=nullptr, uint32_t ivlen=0, uint32_t icvlen=16, uint32_t count=0, uint8_t bearer=0)
IBM af_iucv [ NOT AN OFFICIALLY REGISTERED ID ].
Definition: jenum.h:1580
Ciphertext length for XWing algorithm.
Definition: jenum.h:889
SUN ND Protocol-Temporary (SUN-ND) - 77.
Definition: jenum.h:2111
void set_exthdr(jarray< uint8_t > &exthdr)
Change Cipher Spec - 0x14.
Definition: jenum.h:2849
virtual XMLDocument * ToDocument()
Safely cast to a Document, or null.
Definition: tinyxml2.h:766
HOST ADMINISTRATIVELY PROHIBITED - 10.
Definition: jenum.h:2733
jikencrypt(std::shared_ptr< InterfacePP::jlogger > &logger, std::shared_ptr< jrand > &rand)
Data Encryption Standard (DES) with 64-bit IV.
Definition: jenum.h:3663
mode_t
Definition: jmodes.h:967
First 802.1Q VLAN tag.
Definition: jenum.h:777
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jfalcon.h:202
XMLHandle NextSiblingElement(const char *name=0)
Get the next sibling element of this handle.
Definition: tinyxml2.h:2369
void SetAttribute(const char *name, int64_t value)
Sets the named attribute to value.
Definition: tinyxml2.h:1733
MODP Group 2048-bit.
Definition: jenum.h:3872
fatal level of logging
Definition: jlogger.h:423
void track(std::string packet, std::vector< uint8_t * > &pointers)
Convert OTS addresses to byte array.
Definition: jenum.h:836
Configure an internal IPv6 SUBNET.
Definition: jenum.h:4583
dir_t
Definition: jzuc.h:323
uint64_t get_field(field_t field, jarray< uint8_t > &header)
IPv6 Options header - 60.
Definition: jenum.h:2094
std::map< std::string, std::list< jpacket > > get_packets()
ZUC F8 encryption algorithm.
Definition: jenum.h:1826
The key specified has been revoked.
Definition: jenum.h:2436
SOURCE QUENCH - 4.
Definition: jenum.h:2613
static std::shared_ptr< jintegrity > get_integrity(std::shared_ptr< jintegritysa > &security)
Key Download.
Definition: jenum.h:3558
SHA1 authentication mode with 20 byte MAC.
Definition: jenum.h:1932
Definition: tinyxml2.h:264
RFC822 Address ID type.
Definition: jenum.h:3965
virtual ~jgre()=default
Default deconstructor.
Synchronization source identifier (SSRC)
Definition: jenum.h:673
XMSSMT using SHA256 with n=32, w=16, h=60, and d=12.
Definition: jenum.h:5106
Configure an internal IPv4 NETMASK.
Definition: jenum.h:4431
AES-GCM Encryption with 12-byte ICV.
Definition: jenum.h:3681
Certificate Request.
Definition: jenum.h:3544
Unassigned.
Definition: jenum.h:3868
RCVNXT.
Definition: jenum.h:694
Data or Control bit.
Definition: jenum.h:630
XMSSMT using SHA256 with n=32, w=16, h=20, and d=2.
Definition: jenum.h:5099
err_t
Definition: jenum.h:2396
Definition: jtestbench.h:127
uint32_t get_uint(const char *range, bool use_crypto=false)
DTLS v1.3.
Definition: jenum.h:1372
void set_field(field_t field, uint64_t value)
tls_error_t
Definition: jenum.h:2965
void set_field(field_t field, uint64_t value)
void context(uint8_t *context, uint32_t length=32)
CRC32-IEEE polynomial with 32-bit output.
Definition: jenum.h:1971
void append(Option *new_last)
Makes new_last the new last() by chaining it into the list after last().
Definition: optionparser.h:731
void set_hdr(jarray< uint8_t > &hdr)
Blowfish Encryption.
Definition: jenum.h:3669
virtual void operator()(const char *str, int size)
Writes the given number of chars beginning at the given pointer somewhere.
Definition: optionparser.h:1801
protocol_id_t
Definition: jenum.h:4480
Certificate encoded as HASH_URL_BUNDLE.
Definition: jenum.h:4026
XWing hybrid signature post quantum algorithm.
Definition: jenum.h:1382
Advanced GMH header with OFDM.
Definition: jenum.h:3380
20
Definition: jenum.h:2968
FQDN Address of the VPN gateway.
Definition: jenum.h:4636
void set_flow(std::shared_ptr< jstream > &newstream)
virtual ~jtcp()=default
Standard deconstructor.
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Platform to run testbench with.
Definition: jenum.h:816
Encrypt data with XWing Key Pair.
Definition: jenum.h:4771
XMLError QueryAttribute(const char *name, int *value) const
Definition: tinyxml2.h:1618
Direct Driver.
Definition: jenum.h:1356
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Responder role.
Definition: jenum.h:3440
void pop_back()
Definition: jarray.h:1052
XMSSMT using SHAKE256 with n=24, w=16, h=20, and d=2.
Definition: jenum.h:5123
static std::string toCode(jlogger::asciicolor jcolor)
void sign(jxmssaddr &addr, uint8_t *message, uint8_t *wots_sk, uint8_t *seed, uint8_t *sig)
Configure a IPv6 DHCP setting.
Definition: jenum.h:4580
Header extension type field.
Definition: jenum.h:636
Encryption algorithm.
Definition: jenum.h:1366
CRC Indicator 0=no CRC, 1=CRC present.
Definition: jenum.h:730
IPv6 Address ID type.
Definition: jenum.h:3967
RSA Crypto System.
Definition: jenum.h:1360
Kryptolan - 65.
Definition: jenum.h:2099
uint64_t faddr
address of the flow ring
Definition: jtestcfg.h:399
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
uint64_t get_field(field_t field)
SHA3_224 authentication mode with 28 byte MAC.
Definition: jenum.h:1937
LMS Signature using SHAKE with m=32, h=15.
Definition: jenum.h:5027
Null Encryption with AES-GMAC Authentication (NOT ALLOWED)
Definition: jenum.h:3683
role_id_t
Definition: jenum.h:3438
void set_field(field_t field, uint64_t value)
Wifi SPR extension.
Definition: jenum.h:3345
X-coordinate for the ECDSA curve.
Definition: jenum.h:771
T get_field(field_t field)
Definition: jstream.h:349
Secure PSK Authentication.
Definition: jenum.h:4680
Enable reception of packets.
Definition: jenum.h:660
jarray< uint8_t > get_hdr()
T get_field(field_t field)
get the field
Extended sequence number.
Definition: jenum.h:573
uint64_t get_field(field_t field, jarray< uint8_t > &hdr)
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Management(WIFI12) - Deauthentication / Control - CTS / Data - QoS Null (no data)
Definition: jenum.h:3278
void set_writelat(const char *latency)
Decrypted RSA message length was incorrect.
Definition: jenum.h:2445
const Option * last() const
Definition: optionparser.h:648
std::string input
name of the input file (with path)
Definition: jtestcfg.h:402
std::shared_ptr< jarray< T > > get_shared()
Definition: jarray.h:1190
Flow Identifier (AGHM header only)
Definition: jenum.h:733
MERIT Internodal Protocol (MERIT-INP) - 32.
Definition: jenum.h:2066
Bold red.
Definition: jlogger.h:400
static std::string usage()
uint64_t get_field(field_t field)
Camellia CCM AEAD mode.
Definition: jenum.h:1805
void sfmt_fill_array16(uint16_t *array, int size)
Fourth address.
Definition: jenum.h:720
RSA Encrypt type.
Definition: jenum.h:764
~jconfident()=default
Standard deconstructor.
Sequence number underflow.
Definition: jenum.h:2540
Decrypt data with RSA Key Pair.
Definition: jenum.h:4766
CRC24-LTE-A polynomial with 24-bit output.
Definition: jenum.h:1968
Extended Header Group Indicator (AGHM header only)
Definition: jenum.h:734
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
Any 0-hop protocol - 114.
Definition: jenum.h:2148
WOTS+ using SHAKE512 with n=64, w=16.
Definition: jenum.h:4873
const XMLNode * PreviousSibling() const
Get the previous (left) sibling node of this node.
Definition: tinyxml2.h:873
tcpopt_t
Options that TCP may add to the standard header.
Definition: jtcp.h:529
Configure a IPv4 DHCP setting.
Definition: jenum.h:4574
virtual void set_hdr(jarray< uint8_t > &hdr)=0
Use random IV rather than user IV.
Definition: jenum.h:614
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Bold magenta.
Definition: jlogger.h:404
Anti-Replay window represented as a byte array.
Definition: jenum.h:575
bool nextTable()
Moves iteration to the next table (if any). Has to be called once on a new LinePartIterator to move t...
Definition: optionparser.h:2015
HMAC_SHA2_512 keyed authentication mode with 64 byte MAC.
Definition: jenum.h:1948
Performance Transparency Protocol (PTP) - 123.
Definition: jenum.h:2157
EIGRP - 89.
Definition: jenum.h:2123
Interactive Agent Transfer Protocol (IATP) - 117.
Definition: jenum.h:2151
void set_field(field_t field, T fieldval)
Any Protocol.
Definition: jenum.h:4454
SNOWV-GCM AEAD encrypt and authentication mode.
Definition: jmodes.h:930
~file_log_policy()
standard deconstructor
LMOTS Winternitz parameter.
Definition: jenum.h:849
static std::shared_ptr< jicmp > get_icmp(std::shared_ptr< jicmpsa > &security)
jarray< T > split(uint32_t elements)
Definition: jarray.h:999
Definition: jtestbenchbuf.h:128
void teardown()
teardown the responder
bool finished(int numargs, const char **args)
Called by Parser::workhorse() after finishing the parse.
Definition: optionparser.h:1509
HMAC_SHA3_224 keyed authentication mode with 28 byte MAC.
Definition: jenum.h:1949
endian_t m_endian
endianess string for this protocol
Definition: jprotocol.h:731
Length of the polynomial.
Definition: jenum.h:878
PDCP SN of the first Missing PDCP SDU (FMS)
Definition: jenum.h:640
double sfmt_genrand_res53()
Definition: SFMT.h:436
Stats(bool gnu, const Descriptor usage[], int argc, const char **argv, int min_abbr_len=0, bool single_minus_longopt=false)
Creates a new Stats object and immediately updates it for the given usage and argument vector....
Definition: optionparser.h:1002
Management(WIFI4) - Probe Request / Control - RSVD / Data - Null (no data)
Definition: jenum.h:3277
Swap input data before CRC calculation.
Definition: jenum.h:796
T get_field(field_t field)
bool operator==(jarray< T > &rhs)
Definition: jarray.h:1342
LMS Signature using SHAKE with m=32, h=25.
Definition: jenum.h:5029
virtual bool Visit(const XMLDeclaration &)
Visit a declaration.
Definition: tinyxml2.h:561
jarray< uint8_t > get_crypto(uint32_t size)
void gen_keypair()
Generate a ML-KEM key pair and place in security association.
Site Multihoming by IPv6 Intermediation (Shim6) - 140.
Definition: jenum.h:2174
MD5 authentication mode with 16 byte MAC.
Definition: jenum.h:1931
Definition: jecdsaf2m.h:250
XMSSMT using SHAKE256 with n=24, w=16, h=40, and d=8.
Definition: jenum.h:5127
XMLDocument * GetDocument()
Get the XMLDocument that owns this XMLNode.
Definition: tinyxml2.h:748
Decapsulate the packet with the protocol.
Definition: jenum.h:1713
Host Monitoring Protocol (HMP) - 20.
Definition: jenum.h:2054
Hash address in tree or Tree Index.
Definition: jenum.h:834
XMSSMT using SHAKE256 with n=24, w=16, h=60, and d=3.
Definition: jenum.h:5128
std::shared_ptr< jmmu > m_mmu
MMU for tracking memory.
Definition: jproducer.h:356
AES-GCM with extended packet number and 256-bit key.
Definition: jenum.h:3401
Length of the anti-replay window.
Definition: jenum.h:574
Definition: jdtls13.h:361
Enable NAT checksum generation and checking.
Definition: jenum.h:593
Sphincs+ algorithm using SHA2 equivalent to 256-bit security.
Definition: jenum.h:5283
Advanced GMH header with OFDMA.
Definition: jenum.h:3381
XMSSMT using SHA256 with n=32, w=16, h=40, and d=8.
Definition: jenum.h:5103
ip_proto_t
Definition: jenum.h:4453
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void set_hdr(jarray< uint8_t > &hdr)
asciicolor
Definition: jlogger.h:390
jdilithiumsa()
Dilithium security association with default values.
AES-XTS drive encryption mode.
Definition: jenum.h:1794
T get_field(field_t field)
void write(const std::string &msg)
LMOTS value of 'q' parameter.
Definition: jenum.h:847
virtual ~jikev2sa()=default
Dummy protocol id for AX.25.
Definition: jenum.h:1583
Traffic Selector Initiator.
Definition: jenum.h:3550
Management(WIFI11) - Authentication / Control - RTS / Data - QoS Data + CF-Ack + CF-Poll.
Definition: jenum.h:3288
std::string to_str()
Generate XML output as string.
SATNET and Backroom EXPAK (SAT-EXPAK) - 64.
Definition: jenum.h:2098
jdata()
constructor for JDATA object
Datagram Delivery Protocol (DDP) - 37.
Definition: jenum.h:2071
uint32_t antireplay(T &currseq, TE &currext)
Definition: jreplay.h:449
rsaenc_t
Definition: jenum.h:4736
Certificate encoded as ARL.
Definition: jenum.h:4021
XMLError QueryArrayValue(ProtocolPP::jarray< uint8_t > *value) const
uint64_t sfmt_genrand_uint64()
Definition: SFMT.h:332
Definition: jpacket.h:151
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
jstream()
Constructor for jstream.
uint64_t get_field(ProtocolPP::field_t field)
static std::shared_ptr< jtcp > get_tcp(jtcp::tcpstate_t state, std::shared_ptr< jtcpsa > &security)
jfalconsa()
FALCON security association with default values.
OPTIONS.
Definition: jenum.h:684
void operator=(const Option &orig)
Makes *this a copy of orig except for the linked list pointers.
Definition: optionparser.h:812
Anti-replay error found.
Definition: jenum.h:2399
ASN1 DN ID type.
Definition: jenum.h:3971
SNOWV F9 mode authentication.
Definition: jenum.h:1959
Parser(bool gnu, const Descriptor usage[], int argc, char **argv, Option options[], Option buffer[], int min_abbr_len=0, bool single_minus_longopt=false, int bufmax=-1)
Parser(...) with non-const argv.
Definition: optionparser.h:1117
Computer Protocol Heart Beat (CPHB) - 73.
Definition: jenum.h:2107
void set_name(std::string &name)
Definition: ringobj.h:380
Camellia-CCM Encryption with 8-byte ICV.
Definition: jenum.h:3687
Definition: jtlsa13.h:313
60
Definition: jenum.h:2984
virtual jarray< uint8_t > get_hdr()=0
Management(WIFI13) - Action / Control - ACK / Data - RSVD.
Definition: jenum.h:3286
double sfmt_genrand_real3()
Definition: SFMT.h:416
CCITT X.25.
Definition: jenum.h:1527
XMSS using SHAKE256 with n=24, w=16, and h=10.
Definition: jenum.h:4969
XMLError QueryFloatAttribute(const char *name, float *value) const
See QueryIntAttribute()
Definition: tinyxml2.h:1581
LMS Signature using SHAKE with m=24, h=5.
Definition: jenum.h:5030
transform_attr_t
Definition: jenum.h:3619
CFTP - 62.
Definition: jenum.h:2096
ARC4 Stream Cipher (weak not recommended)
Definition: jenum.h:1822
Access index of the XMSS/LMS stack.
Definition: jenum.h:844
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
uint32_t get_avail()
Definition: jring.h:242
Connection Identifier.
Definition: jenum.h:732
Bits for Diff Services/Congestion bits.
Definition: jenum.h:594
void sfmt_fill_array32(uint32_t *array, int size)
Internet Control Message Protocol (ICMP) version 4 - 1.
Definition: jenum.h:2035
AES_XCBC_MAC authentication mode with 12 byte MAC.
Definition: jenum.h:1953
Definition: ringobj.h:458
SERPENT-CTR encryption mode.
Definition: jenum.h:1797
Decryption.
Definition: jenum.h:1715
Definition: jsectestbench.h:127
const int type
Used to distinguish between options with the same Protocol++® (ProtocolPP®) Protocol,...
Definition: optionparser.h:345
Hash function for ECDSA.
Definition: jenum.h:774
Sphincs+ algorithm using SHAKE equivalent to 256-bit security.
Definition: jenum.h:5288
static std::shared_ptr< jxmss > get_xmss(std::shared_ptr< jrand > &rand, std::shared_ptr< jxmssa > &security)
void issue(std::shared_ptr< ProtocolPP::jpacket > &packet)
uint64_t get_field(field_t field)
void process()
process the packets, status, post-processing
Ethernet Loopback packet.
Definition: jenum.h:1523
More data field.
Definition: jenum.h:712
PDCP SN of the PDCP SDU received on WLAN with highest associated PDCP COUNT value.
Definition: jenum.h:648
RESERVED - 7.
Definition: jenum.h:2616
Reliable Data Protocol (RDP) - 27.
Definition: jenum.h:2061
HOST UNREACHABLE FOR ToS - 12.
Definition: jenum.h:2735
REDIRECT DATAGRAM FOR THE ToS AND HOST - 3.
Definition: jenum.h:2742
TIME EXCEEDED - 11.
Definition: jenum.h:2620
INFORMATIONAL Exchange.
Definition: jenum.h:3486
SHA256 authentication mode with 32 byte MAC.
Definition: jenum.h:1934
Support for SEC block.
Definition: jenum.h:1253
Certificate encoded as X509 PKCS #7.
Definition: jenum.h:4014
Second 802.1Q VLAN tag.
Definition: jenum.h:778
If this option is present, then it communicates the maximum receive segment size at the TCP which sen...
Definition: jtcp.h:533
Third address.
Definition: jenum.h:718
ike_ipcomp_t
Definition: jenum.h:4429
IKE Initiator Psuedo Random Key.
Definition: jenum.h:757
void get_security(std::shared_ptr< jicmpsa > &sec)
Server Key Exchange - 12.
Definition: jenum.h:2907
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jmlkem.h:204
SATNET Monitoring (SAT-MON) - 69.
Definition: jenum.h:2103
void set_size(uint32_t size)
Definition: ringobj.h:374
IPv6 over bluebook.
Definition: jenum.h:1547
std::string get_name()
Definition: ringobj.h:362
MODP Group 4096-bit.
Definition: jenum.h:3874
The key quota for this user would be exceeded by creating this key.
Definition: jenum.h:2439
uint32_t get_size()
Definition: ringobj.h:356
void set_hdr(jarray< uint8_t > &hdr)
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Decrypt data with Kyber Key Pair.
Definition: jenum.h:4768
IPsec Transport Mode.
Definition: jenum.h:3458
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Path to the audit log.
Definition: jenum.h:617
DESTINATION HOST UNREACHABLE - 1.
Definition: jenum.h:2724
XMSSMT using SHAKE256 with n=32, w=16, h=60, and d=6.
Definition: jenum.h:5121
void period_certification()
FTT KAT.
Definition: jenum.h:4590
XMLHandle NextSibling()
Get the next sibling of this handle.
Definition: tinyxml2.h:2365
HPNA wlan link local tunnel.
Definition: jenum.h:1556
std::shared_ptr< jreplay< T, TE > > update_replay(protocol_t prot, T &seqnum, TE &extseq, bool usext, uint32_t size, jarray< uint8_t > &window)
Definition: jprotocol.h:632
Flag indicating KEY field is present in GRE.
Definition: jenum.h:863
void set_hdr(jarray< uint8_t > &hdr)
Definition: jbuffer.h:126
uint64_t write_mem(uint8_t *data, uint32_t length)
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Not used in this protocol.
Definition: jmlkem.h:198
LMS Signature using SHAKE with m=32, h=10.
Definition: jenum.h:5026
RESERVED (ICMPv6) - 127.
Definition: jenum.h:2635
secin(uintptr_t address, uint32_t size)
Definition: ringobj.h:415
void decap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
Any local network - 63.
Definition: jenum.h:2097
debug level of logging
Definition: jlogger.h:420
The argument is acceptable for the option.
Definition: optionparser.h:256
void set_hdr(jarray< uint8_t > &hdr)
Definition: tinyxml2.h:2403
Sequence number for the packet.
Definition: jenum.h:572
jlogger::asciicolor get_color(std::string color)
jarray< uint64_t > getdouble(uint32_t amount, bool use_crypto=false)
static std::shared_ptr< jmemblob > get_blob(std::shared_ptr< jrand > &rand, std::shared_ptr< jmemblobsa > &security)
UNRECOGNIZED IPv6 OPTION (ICMPv6) - 2.
Definition: jenum.h:2759
XMLHandle FirstChild()
Get the first child of this handle.
Definition: tinyxml2.h:2341
IPv4 Address ID type.
Definition: jenum.h:3963
Ethernet loopback packet per IEEE 802.3.
Definition: jenum.h:1574
Request the configuration.
Definition: jenum.h:4525
virtual bool ShallowEqual(const XMLNode *) const override
Definition: tinyxml2.h:2191
Certificate encoded as KERBEROS.
Definition: jenum.h:4019
Definition: jlicense.h:99
void encap_packet(std::shared_ptr< jarray< uint8_t >> &input, std::shared_ptr< jarray< uint8_t >> &output)
void read(uintptr_t bufptr, T *data, uint32_t length, uint32_t offset=0)
Definition: jbuffer.h:578
Elliptic Curve Digital Signature Algorithm for Ed25519.
Definition: jenum.h:1364
Multiple Label Switching Encapsulated in IP (MPLS-in-IP) - 137.
Definition: jenum.h:2171
XMLHandle LastChildElement(const char *name=0)
Get the last child element of this handle.
Definition: tinyxml2.h:2353
International Organization for Standardization Internet Protocol (ISO-IP) - 80.
Definition: jenum.h:2114
SNDWND.
Definition: jenum.h:689
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
jlms(std::shared_ptr< jrand > &rand)
uint32_t read(uintptr_t address)
void to_json(std::ofstream &myjson, direction_t direction, std::string &indent)
void set_hdr(jarray< uint8_t > &hdr)
T get_field(field_t field)
71
Definition: jenum.h:2986
LMOTSIGLEN signature length.
Definition: jenum.h:852
Definition: jprotocolpp.h:2705
Checks argument vectors for validity and parses them into data structures that are easier to work wit...
Definition: optionparser.h:1089
virtual void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)=0
Korean Block Cipher SEED in CTR mode.
Definition: jenum.h:1814
XMLError QueryIntValue(int *value) const
Write failed to file output.
Definition: jenum.h:2408
void ProcessData(const uint8_t *input, uint32_t length, uint64_t partial=0)
IRS.
Definition: jenum.h:697
void release(const std::string &stream)
T get_field(field_t field)
AES-CCM Encryption with 8-byte ICV.
Definition: jenum.h:3676
Functions for checking the validity of option arguments.
Definition: optionparser.h:923
virtual bool perform(Option &)
Called by Parser::workhorse() for each Option that has been successfully parsed (including unknown op...
Definition: optionparser.h:1412
Certificate encoded as RAW RSA.
Definition: jenum.h:4023
uint8_t convmsg(icmpmsg_t msg)
const XMLAttribute * Next() const
The next attribute in the list.
Definition: tinyxml2.h:1222
Camellia CBC encryption mode.
Definition: jenum.h:1803
Direction of processing is out of the host.
Definition: jenum.h:3422
SHA384 authentication mode with 48 byte MAC.
Definition: jenum.h:1935
Intermediate System to Intermediate System (IS-IS) Protocol over IPv4 - 124.
Definition: jenum.h:2158
static uint32_t fnv_hash(std::shared_ptr< jarray< uint8_t >> &header, jarray< uint8_t > &mask, uint32_t hdrlen)
void get_security(std::shared_ptr< jmldsasa > &sec)
Definition: jsrtpsa.h:286
Management(WIFI14) - Action No ACK / Control - CF-End / Data - QoS CF-Poll (no data)
Definition: jenum.h:3282
MPLS Multicast traffic.
Definition: jenum.h:1554
Tower to user.
Definition: jmodes.h:947
void dequeue(std::string flow)
enqueue flows to responder
Insufficient memory to create a key.
Definition: jenum.h:2442
ProtocolPP::jarray< uint8_t > ArrayValue() const
Query as a byte array. Added for ProtocolPP()
Definition: tinyxml2.h:1237
file_log_policy()
file_log_policy constructor
Definition: jlogger.h:249
Reserved.
Definition: jenum.h:3333
EMCON - 14.
Definition: jenum.h:2048
115
Definition: jenum.h:2995
Bearer value.
Definition: jenum.h:649
Private key length.
Definition: jenum.h:860
Definition: tinyxml2.h:194
Protocol Independent Multicast (PIM) - 103.
Definition: jenum.h:2137
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Camellia-CCM Encryption with 16-byte ICV.
Definition: jenum.h:3689
ECP Group 192-bit Random.
Definition: jenum.h:3883
Wrapped Encapsulating Security Protocol (WESP) - 141.
Definition: jenum.h:2175
wimaxmode_t
Definition: jenum.h:3377
Output length of the packet.
Definition: jenum.h:784
virtual ~jdirectdrive()=default
standard deconstructor
HT control field.
Definition: jenum.h:722
std::shared_ptr< jrand > m_rand
random data generator passed into constructor
Definition: jprotocol.h:716
void to_xml(tinyxml2::XMLPrinter &myxml, direction_t direction)
Input length of the packet.
Definition: jenum.h:785
WOTS+ LTREE Address type.
Definition: jenum.h:4851
Simple Message Protocol (SMP) - 121.
Definition: jenum.h:2155
const char * Name() const
Get the name of an element (which is the Value() of the node.)
Definition: tinyxml2.h:1379