###########################
# mixed_modifiable_params #
###########################
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Action: mixed_modifiable_params
Entry Type: gRPC
Sent Packet Command(change interface to suit your system):
sendp(Ether(src="00:11:11:11:11:11", dst="00:22:22:22:22:22") / IP(src="1.1.1.1", dst="2.2.2.2") / TCP(sport=2111) / Raw(load=b'\xCA\xFE\x12\x34'), iface="eth2", count=1)

`tcpdump -i <interface of VF1> -vvv -nn` output:
Before modification: (see change in source values but dest values stay the same)
09:36:27.624148 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 44)
    2.1.1.1.2112 > 2.1.1.2.2113: Flags [S], cksum 0x9c26 (correct), seq 0:4, win 8192, length 4

After modification:
09:36:31.289119 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 44)
    2.1.2.1.2122 > 2.1.1.2.2113: Flags [S], cksum 0x9b1c (correct), seq 0:4, win 8192, length 4
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Action: mixed_modifiable_params
Entry Type: High update rate (SHM)
Sent Packet Command(change interface to suit your system):
sendp(Ether(src="00:11:11:11:11:11", dst="00:22:22:22:22:22") / IP(src="1.1.1.1", dst="2.2.2.2") / UDP(sport=3111) / Raw(load=b'\xCA\xFE\x12\x34'), iface="eth2", count=1)

`tcpdump -i <interface of VF1> -vvv -nn` output:
Before modification: (see change in source values but dest values stay the same)
09:40:46.860741 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 32)
    3.1.1.1.3112 > 3.1.1.2.3113: [udp sum ok] UDP, length 4

After modification:
09:40:50.421727 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 32)
    3.1.2.1.3122 > 3.1.1.2.3113: [udp sum ok] UDP, length 4
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

###########################
#  all_modifiable_params  #
###########################
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Action: all_modifiable_params
Entry Type: gRPC
Sent Packet Command(change interface to suit your system):
sendp(Ether(src="00:11:11:11:11:11", dst="00:22:22:22:22:22") / IP(src="1.1.1.1", dst="2.2.2.2") / TCP(sport=2222) / Raw(load=b'\xCA\xFE\x12\x34'), iface="eth2", count=1)

`tcpdump -i <interface of VF3> -vvv -nn` output:
Before modification: (see TTL change for example)
10:38:08.532592 IP (tos 0x2,ECT(0), ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 44)
    1.1.1.1.2222 > 2.2.2.2.80: Flags [S], cksum 0xa3a8 (correct), seq 0:4, win 8192, length 4: HTTP

After modification:
10:38:11.980578 IP (tos 0x2,ECT(0), ttl 16, id 1, offset 0, flags [none], proto TCP (6), length 44)
    1.1.1.1.2222 > 2.2.2.2.80: Flags [S], cksum 0xa3a8 (correct), seq 0:4, win 8192, length 4: HTTP

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Action: all_modifiable_params
Entry Type: High update rate (SHM)
Sent Packet Command(change interface to suit your system):
sendp(Ether(src="00:11:11:11:11:11", dst="00:22:22:22:22:22") / IP(src="1.1.1.1", dst="2.2.2.2") / UDP(sport=3222) / Raw(load=b'\xCA\xFE\x12\x34'), iface="eth2", count=1)

`tcpdump -i <interface of VF3> -vvv -nn` output:
Before modification: (see TTL change for example, ignore the "(invalid)", it's since the packet is just an example packet)
10:46:16.301684 IP (tos 0x2,ECT(0), ttl 32, id 1, offset 0, flags [none], proto UDP (17), length 32)
    1.1.1.1.3222 > 2.2.2.2.53: [udp sum ok] domain [length 4 < 12] (invalid)

After modification:
10:46:19.559588 IP (tos 0x4c, ttl 34, id 1, offset 0, flags [none], proto UDP (17), length 32)
    1.1.1.1.3222 > 2.2.2.2.53: [udp sum ok] domain [length 4 < 12] (invalid)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

##################################
#  one_modifiable_param_for_all  #
##################################
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Action: one_modifiable_param_for_all
Entry Type: gRPC
Sent Packet Command(change interface to suit your system):
sendp(Ether(src="00:11:11:11:11:11", dst="00:22:22:22:22:22") / IP(src="1.1.1.1", dst="2.2.2.2") / TCP(sport=2333) / Raw(load=b'\xCA\xFE\x12\x34'), iface="eth2", count=1)

`tcpdump -i <interface of VF3> -vvv -nn` output:
Before modification: (see TTL and source port change for example)
10:49:57.206813 IP (tos 0x0, ttl 16, id 1, offset 0, flags [none], proto TCP (6), length 44)
    1.1.1.1.514 > 2.2.2.2.80: Flags [S], cksum 0xaa54 (correct), seq 0:4, win 8192, length 4: HTTP

After modification:
10:50:00.679787 IP (tos 0x0, ttl 32, id 1, offset 0, flags [none], proto TCP (6), length 44)
    1.1.1.1.515 > 2.2.2.2.80: Flags [S], cksum 0xaa53 (correct), seq 0:4, win 8192, length 4: HTTP

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Action: one_modifiable_param_for_all
Entry Type: High update rate (SHM)
Sent Packet Command(change interface to suit your system):
sendp(Ether(src="00:11:11:11:11:11", dst="00:22:22:22:22:22") / IP(src="1.1.1.1", dst="2.2.2.2") / UDP(sport=3333) / Raw(load=b'\xCA\xFE\x12\x34'), iface="eth2", count=1)

`tcpdump -i <interface of VF3> -vvv -nn` output:
Before modification: (see TTL and source port change for example, ignore the "(invalid)", it's since the packet is just an example packet)
10:51:21.974752 IP (tos 0x0, ttl 16, id 1, offset 0, flags [none], proto UDP (17), length 32)
    1.1.1.1.771 > 2.2.2.2.53: [udp sum ok] domain [length 4 < 12] (invalid)

After modification:
10:51:24.532694 IP (tos 0x0, ttl 32, id 1, offset 0, flags [none], proto UDP (17), length 32)
    1.1.1.1.772 > 2.2.2.2.53: [udp sum ok] domain [length 4 < 12] (invalid)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




