Go to the source code of this file.
|
int | resolve_packet (void *in_pck, ssize_t in_size, void *out_pck, uint32_t *out_size, uint8_t ip_addr[4]) |
|
int | resolve_packet2 (void *pck, uint32_t *size, uint8_t ip_addr[4]) |
|
int | resolve_packet3 (void **pck, uint32_t *size, uint8_t ip_addr[4]) |
|
int | generate_packet (void *pck, uint32_t *size, uint8_t saddr[4], uint8_t daddr[4], uint8_t hw_daddr[6], uint32_t seq) |
|
int | generate_packet2 (void *pck, uint32_t *size, uint8_t saddr[4], uint8_t daddr[4], uint8_t hw_daddr[6], uint32_t seq, icmpr_flow_mode_t) |
|
int | print_packet (void *pck) |
|
◆ icmpr_flow_mode_t
Enumerator |
---|
ICMPR_FLOW_MODE_ETH | |
ICMPR_FLOW_MODE_IP | |
Definition at line 21 of file icmp_proto.h.
◆ generate_packet()
int generate_packet |
( |
void * |
pck, |
|
|
uint32_t * |
size, |
|
|
uint8_t |
saddr[4], |
|
|
uint8_t |
daddr[4], |
|
|
uint8_t |
hw_daddr[6], |
|
|
uint32_t |
seq |
|
) |
| |
◆ generate_packet2()
int generate_packet2 |
( |
void * |
pck, |
|
|
uint32_t * |
size, |
|
|
uint8_t |
saddr[4], |
|
|
uint8_t |
daddr[4], |
|
|
uint8_t |
hw_daddr[6], |
|
|
uint32_t |
seq, |
|
|
icmpr_flow_mode_t |
|
|
) |
| |
◆ print_packet()
int print_packet |
( |
void * |
pck | ) |
|
◆ resolve_packet()
int resolve_packet |
( |
void * |
in_pck, |
|
|
ssize_t |
in_size, |
|
|
void * |
out_pck, |
|
|
uint32_t * |
out_size, |
|
|
uint8_t |
ip_addr[4] |
|
) |
| |
◆ resolve_packet2()
int resolve_packet2 |
( |
void * |
pck, |
|
|
uint32_t * |
size, |
|
|
uint8_t |
ip_addr[4] |
|
) |
| |
◆ resolve_packet3()
int resolve_packet3 |
( |
void ** |
pck, |
|
|
uint32_t * |
size, |
|
|
uint8_t |
ip_addr[4] |
|
) |
| |