aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2017-10-13 15:21:22 +0300
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2017-10-13 15:21:22 +0300
commit3f2b7b7bf8540f03bc971ce36b4a7e2b321018ac (patch)
tree93783ab3bd4d1beb5982baa0b8a3abe4c3d20a7e
parent0bcc732c026c83eb0241eba96d097a0d6af05572 (diff)
Added dummy udp 64bytes UDP request packet to use on xmits.
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--src/udp_packet.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/udp_packet.c b/src/udp_packet.c
new file mode 100644
index 0000000..37c73f4
--- /dev/null
+++ b/src/udp_packet.c
@@ -0,0 +1,13 @@
+char pkt_udp[] = {
+ 0x02, 0x50, 0x43, 0xff, 0xff, 0x01, /* mac dst */
+ 0x00, 0x60, 0xdd, 0x45, 0xe5, 0x67, /* mac src */
+ 0x08, 0x00, 0x45, 0x00, 0x00, 0x32,
+ 0x38, 0xb8, 0x40, 0x00, 0x40, 0x11,
+ 0x1e, 0xae, 0xc0, 0xa8, 0x01, 0x03,
+ 0xc0, 0xa8, 0x01, 0x02, 0xed, 0x19,
+ 0x00, 0x35, 0x00, 0x1e, 0x8b, 0xf4,
+ 0xc4, 0x2e, 0x01, 0x00, 0x00, 0x01,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x04, 0x74, 0x65, 0x73, 0x74, 0x00,
+ 0x00, 0x01, 0x00, 0x01
+};