summaryrefslogtreecommitdiff
path: root/trafgen_parser.y
AgeCommit message (Expand)AuthorFilesLines
2017-02-09trafgen: Allow send packets from pcap fileVadim Kochan1-1/+1
2017-01-11trafgen: parser: Add terminating ';' to mpls_expr and icmpv6_proto rulesTobias Klauser1-0/+3
2016-12-21trafgen: parser: Allow to set function at field offsetVadim Kochan1-48/+120
2016-12-21trafgen: parser: Parse IPv6 address by strict match patternVadim Kochan1-1/+1
2016-12-21trafgen: proto: Rename proto_field_xxx -> proto_hdr_field_xxxVadim Kochan1-32/+32
2016-12-21trafgen: parser: Rename field_expr -> field_value_expr ruleVadim Kochan1-15/+15
2016-12-16trafgen: proto: Zero out the correct packet slotTobias Klauser1-3/+3
2016-12-15trafgen: proto: Add missing braceTobias Klauser1-1/+1
2016-12-15trafgen: proto: Zero out newly allocated struct packetTobias Klauser1-2/+1
2016-11-23trafgen: parser: Fix undefined ETH_P_802AD on 2.6.x LinuxVadim Kochan1-0/+4
2016-10-04trafgen: parser: Add 'pfc()' function for PFC headerVadim Kochan1-1/+39
2016-10-04trafgen: parser: Add 'pause()' function for IEEE 802.3X PAUSE headerVadim Kochan1-0/+27
2016-09-21trafgen: parser: Add 'drnd()' function for proto fieldsVadim Kochan1-0/+9
2016-09-21trafgen: parser: Add support of 'dinc' function for proto fieldsVadim Kochan1-0/+53
2016-09-21trafgen: parser: Unify proto field value parsingVadim Kochan1-146/+215
2016-08-12trafgen: proto: Split static protocol definition out of struct proto_hdrTobias Klauser1-1/+1
2016-08-09trafgen: parser: Check read access to file before invoking cppTobias Klauser1-2/+8
2016-08-02trafgen: proto: Move proto headers into packetVadim Kochan1-3/+13
2016-08-02trafgen: proto: Reference to packet from struct proto_hdrVadim Kochan1-0/+10
2016-07-13trafgen: proto: Add ICMPv4 header generationVadim Kochan1-1/+40
2016-07-11trafgen: parser: Replace 'mtype' by 'type'Vadim Kochan1-4/+4
2016-07-11trafgen: parser: Split [e]type to separate keywordsVadim Kochan1-1/+2
2016-04-25trafgen: proto: Add ICMPv6 header generationTobias Klauser1-0/+34
2016-04-25trafgen: proto: Add IPv6 header generationTobias Klauser1-2/+44
2016-02-23trafgen: parser: Add syntax for MPLS header creatingVadim Kochan1-1/+33
2016-02-02trafgen: parser: Add syntax for VLAN header creatingVadim Kochan1-0/+40
2016-02-02trafgen: proto: Simplify getting lower protocol after initVadim Kochan1-2/+1
2016-02-02trivial: trafgen: parser: Fix spacingTobias Klauser1-11/+11
2016-02-01trafgen: parser: Fix parsing of "prot[o]" field in eth()Tobias Klauser1-1/+6
2016-02-01trafgen: parser: Add TCP header generation functionTobias Klauser1-1/+44
2016-01-29trafgen: parser: Rename IPv4 specific types and union membersTobias Klauser1-7/+7
2016-01-29trafgen: parser: Support "etype"/"type" keywords for EthertypeTobias Klauser1-4/+4
2016-01-29trafgen: parser: Add syntax to build UDP headerVadim Kochan1-0/+29
2016-01-29trafgen: parser: Add syntax for IPv4 protocol generationVadim Kochan1-0/+51
2016-01-28trafgen: parser: Add syntax to generate ARP header fieldsVadim Kochan1-1/+47
2016-01-28trafgen: parser: Add syntax to generate Ethernet header fieldsVadim Kochan1-1/+56
2016-01-28trafgen: Add helper to get current packetVadim Kochan1-0/+5
2016-01-28trafgen: Export set_fill funcVadim Kochan1-1/+1
2015-12-17cpp: Constify cpp argv passed to cpp_execTobias Klauser1-2/+2
2015-12-17trafgen: Added option to pass macro/define for C preprocessorVadim Kochan1-2/+3
2015-12-17cpp: Allow to pass additional cpp optionsVadim Kochan1-1/+1
2015-11-25trafgen: Make sure yyin is set before close itVadim Kochan1-1/+1
2015-11-24trafgen: Invoke C preprocessor from cpp.c moduleVadim Kochan1-12/+2
2015-11-10bpfc, trafgen: Do not close stdin when "-" is specifiedVadim Kochan1-1/+2
2015-11-09csum: Remove unused parameter from calc_csum()Tobias Klauser1-1/+1
2015-11-09trafgen: Allow to build packet from command lineVadim Kochan1-0/+25
2015-10-14trafgen: Move checking of dynamic packet elements to headerTobias Klauser1-6/+1
2015-10-13trafgen: Change signature of compile_packets() to match provided typesTobias Klauser1-1/+1
2015-10-13trafgen: Don't panic() on parser errorsTobias Klauser1-9/+18
2015-10-13trafgen: Add checksum helpers for TCP/UDP over IPv6Tobias Klauser1-6/+19