summaryrefslogtreecommitdiff
path: root/trafgen_proto.c
AgeCommit message (Expand)AuthorFilesLines
2017-06-02trafgen: l7: Add DNS header generation APIVadim Kochan1-0/+127
2017-06-02trafgen: proto: Allow to set field with variable lengthVadim Kochan1-26/+76
2017-05-15trafgen: parser: Use proto_field_set_xxx where it is possibleVadim Kochan1-0/+5
2017-02-06trafgen: l3: Make possible to send frames via tun deviceVadim Kochan1-0/+5
2016-12-21trafgen: parser: Allow to set function at field offsetVadim Kochan1-16/+11
2016-12-21trafgen: proto: Add proto field only setters/gettersVadim Kochan1-0/+46
2016-12-21trafgen: proto: Rename proto_field_xxx -> proto_hdr_field_xxxVadim Kochan1-71/+73
2016-12-21trafgen: proto: Change __proto_field_set_bytes(...) to take struct proto_fieldVadim Kochan1-17/+33
2016-12-05trafgen: l3: Support interface without IP addressKen Wu1-4/+8
2016-10-21trafgen: proto: Don't drop const qualifier during castTobias Klauser1-2/+2
2016-09-21trafgen: parser: Unify proto field value parsingVadim Kochan1-1/+1
2016-09-21trafgen: proto: Introduce proto_upper_header() functionVadim Kochan1-0/+12
2016-09-21trafgen: proto: Improve to find lower header by indexVadim Kochan1-14/+11
2016-09-21trafgen: proto: Randomize proto field at runtimeVadim Kochan1-0/+27
2016-09-21trafgen: proto: Increment proto field at runtimeVadim Kochan1-0/+54
2016-09-21trafgen: proto: Update field value at runtimeVadim Kochan1-0/+32
2016-08-12trafgen: proto: Split static protocol definition out of struct proto_hdrTobias Klauser1-31/+34
2016-08-09trafgen: proto: Make bytes pointer const in proto field set functionsTobias Klauser1-3/+6
2016-08-09trafgen: proto: Store registered protocols in an arrayTobias Klauser1-12/+7
2016-08-09trafgen: proto: Don't store context in each proto headerTobias Klauser1-12/+7
2016-08-05trafgen: proto: Use field id as array indexVadim Kochan1-6/+5
2016-08-02trafgen: proto: Move proto headers into packetVadim Kochan1-21/+9
2016-08-02trafgen: proto: Reference to packet from struct proto_hdrVadim Kochan1-6/+7
2016-07-18trafgen: ipv4: Do not use user-provided 'ihl' field to calculate csumVadim Kochan1-1/+3
2016-04-25trafgen: proto: Add IPv6 header generationTobias Klauser1-4/+29
2016-04-22trafgen: proto: Replace panic() with bug() where applicableTobias Klauser1-2/+1
2016-04-21trafgen: proto: Inline proto_current_header() into its only callerTobias Klauser1-9/+1
2016-02-23trafgen: proto: Fix bad field maskingVadim Kochan1-4/+20
2016-02-03trafgen: proto: Make proto_current_header() staticTobias Klauser1-1/+1
2016-02-02trafgen: proto: Add set_next_proto callback to struct proto_hdrVadim Kochan1-5/+14
2016-02-02trafgen: proto: Simplify getting lower protocol after initVadim Kochan1-7/+10
2016-02-01trafgen: proto: Mark fields parameter to proto_header_fields_add as constTobias Klauser1-2/+2
2016-01-29trafgen: l4: Add UDP header generation logicVadim Kochan1-0/+2
2016-01-29trafgen: l3: Add IPv4 header generation backendVadim Kochan1-0/+2
2016-01-28trafgen: proto: Add functon to fill field with device ipv4 addressVadim Kochan1-0/+32
2016-01-28trafgen: l2: Add Ethernet protocol header generationVadim Kochan1-1/+4
2016-01-28trafgen: proto: Add function to set field from device MACVadim Kochan1-0/+31
2016-01-28trafgen: Add basic protocol generation logicVadim Kochan1-0/+326