summaryrefslogtreecommitdiff
path: root/platform/include/inject_pkt.h
blob: a89aece99735eb3837c1fb3cb66811671cc25b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _INJECT_PKT_H
#define _INJECT_PKT_H

#ifdef __cpluscplus
extern "C"
{
#endif

#include "public.h"

    int inject_ipv4_pkt(char *ip4_addr, uint8_t *data, uint32_t len);
    int inject_ipv6_pkt(char *ip6_addr, uint8_t *data, uint32_t len);

#ifdef __cpluscplus
}
#endif

#endif