Home
last modified time | relevance | path

Searched refs:fill_tuple (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c509 static uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple() function
723 tuplen = fill_tuple(&tuple, info->hdr, info->len, tcp.source, tcp.dest); in process_tcp()
742 tuplen = fill_tuple(&tuple, info->hdr, info->len, udph.source, udph.dest); in process_udp()
H A Dtest_cls_redirect.c618 static INLINING uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple() function
832 fill_tuple(&tuple, iph, iphlen, tcp->source, tcp->dest); in process_tcp()
850 fill_tuple(&tuple, iph, iphlen, udph->source, udph->dest); in process_udp()