Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dipv6_flowlabel.c38 static void do_send(int fd, bool with_flowlabel, uint32_t flowlabel) in do_send() argument
40 char control[CMSG_SPACE(sizeof(flowlabel))] = {0}; in do_send()
55 cm->cmsg_len = CMSG_LEN(sizeof(flowlabel)); in do_send()
58 *(uint32_t *)CMSG_DATA(cm) = htonl(flowlabel); in do_send()
69 fprintf(stderr, "sent with label %u\n", flowlabel); in do_send()
81 uint32_t flowlabel; in do_recv() local
114 flowlabel = ntohl(*(uint32_t *)CMSG_DATA(cm)); in do_recv()
115 fprintf(stderr, "recv with label %u\n", flowlabel); in do_recv()
117 if (expect != FLOWLABEL_WILDCARD && expect != flowlabel) in do_recv()
119 flowlabel, expect); in do_recv()
/tools/testing/selftests/bpf/
Dtest_tunnel.sh91 ip link add dev $DEV_NS type $TYPE seq flowlabel 0xbcdef key 2 \