struct tapi_ip4_packet_t

struct tapi_ip4_packet_t {
    // fields

    in_addr_t src_addr;
    in_addr_t dst_addr;
    int hlen;
    int len;
    uint8_t ip_proto;
    uint8_t ttl;
    uint8_t tos;
    uint8_t* payload;
    size_t pld_len;
    size_t ip_ident;
    bool more_frags;
    size_t offset;
};