test_pkt_t
append_ether(test_pkt_t *tp, uint16_t ethertype)
append_ip4(test_pkt_t *tp, uint8_t ipproto)
append_ip6(test_pkt_t *tp, uint8_t ipproto)
append_tcp(test_pkt_t *tp)
static test_pkt_t *
test_pkt_t *tp = tp_alloc();
static test_pkt_t *
test_pkt_t *tp = tp_alloc();
static test_pkt_t *
test_pkt_t *tp = tp_alloc();
static test_pkt_t *
test_pkt_t *tp = tp_alloc();
static test_pkt_t *
test_pkt_t *tp = tp_alloc();
static test_pkt_t *
test_pkt_t *tp = tp_alloc();
build_meoi_payload(test_pkt_t *tp, const mac_ether_offload_info_t *results,
build_partial_payload(test_pkt_t *tp, uint_t offset,
build_ether_payload(test_pkt_t *tp, uint8_t *dstaddr, uint32_t tci,
pkt_print(const test_pkt_t *tp)
run_meoi_variants(const char *prefix, test_pkt_t *tp,
run_partial_variants(const char *prefix, test_pkt_t *tp,
run_ether_variants(const char *prefix, test_pkt_t *tp, uint8_t *dstaddr,
test_pkt_t *tp_tcp4 = build_tcp4(&meoi_tcp4);
test_pkt_t *tp_tcp6 = build_tcp6(&meoi_tcp6);
test_pkt_t *tp_frag_v4 = build_frag_v4(&meoi_frag_v4);
test_pkt_t *tp_frag_v6 = build_frag_v6(&meoi_frag_v6);
test_pkt_t *tp_frag_off_v4 = build_frag_off_v4(&meoi_frag_off_v4);
test_pkt_t *tp_frag_off_v6 = build_frag_off_v6(&meoi_frag_off_v6);
test_pkt_t *tp_ether_plain = tp_alloc();
test_pkt_t *tp_ether_vlan = tp_alloc();
static test_pkt_t *
void *buf = calloc(1, sizeof (test_pkt_t));
tp_free(test_pkt_t *tp)
tp_append(test_pkt_t *tp, const void *bytes, size_t sz)