Utility functions for inspecting packets.
More...
Go to the source code of this file.
|
uint16_t | cksum (const void *_data, int len) |
|
uint16_t | ethertype (uint8_t *buf) |
|
uint8_t | ip_protocol (uint8_t *buf) |
|
void | print_addr_eth (uint8_t *addr) |
|
void | print_addr_ip (struct in_addr address) |
|
void | print_addr_ip_int (uint32_t ip) |
|
void | print_hdr_eth (uint8_t *buf) |
|
void | print_hdr_ip (uint8_t *buf) |
|
void | print_hdr_icmp (uint8_t *buf) |
|
void | print_hdr_arp (uint8_t *buf) |
|
void | print_hdrs (uint8_t *buf, uint32_t length) |
|
Utility functions for inspecting packets.