Home
last modified time | relevance | path

Searched refs:pkt2 (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dclienthellotest.c67 PACKET pkt, pkt2, pkt3; in test_client_hello() local
81 memset(&pkt2, 0, sizeof(pkt2)); in test_client_hello()
208 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in test_client_hello()
210 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in test_client_hello()
212 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in test_client_hello()
214 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in test_client_hello()
218 while (PACKET_remaining(&pkt2)) { in test_client_hello()
220 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
221 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in test_client_hello()
H A Dservername_test.c45 PACKET pkt, pkt2, pkt3, pkt4, pkt5; in get_sni_from_client_hello() local
50 memset(&pkt2, 0, sizeof(pkt2)); in get_sni_from_client_hello()
65 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello()
67 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_sni_from_client_hello()
69 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello()
71 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_sni_from_client_hello()
75 while (PACKET_remaining(&pkt2)) { in get_sni_from_client_hello()
76 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
77 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_sni_from_client_hello()
H A Dbad_dtls_test.c119 PACKET pkt, pkt2; in validate_client_hello() local
156 if (!PACKET_get_length_prefixed_1(&pkt, &pkt2) || in validate_client_hello()
157 !PACKET_equal(&pkt2, session_id, sizeof(session_id))) in validate_client_hello()
161 if (!PACKET_get_length_prefixed_1(&pkt, &pkt2)) in validate_client_hello()
163 if (PACKET_remaining(&pkt2)) { in validate_client_hello()
164 if (!PACKET_equal(&pkt2, cookie, sizeof(cookie))) in validate_client_hello()
H A Dsslapitest.c6954 PACKET pkt, pkt2, pkt3; in get_MFL_from_client_hello() local
6961 memset(&pkt2, 0, sizeof(pkt2)); in get_MFL_from_client_hello()
6974 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_MFL_from_client_hello()
6976 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_MFL_from_client_hello()
6978 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_MFL_from_client_hello()
6980 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_MFL_from_client_hello()
6984 while (PACKET_remaining(&pkt2)) { in get_MFL_from_client_hello()
6985 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
6986 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_MFL_from_client_hello()
/freebsd/contrib/netbsd-tests/net/arp/
H A Dt_arp.sh428 pkt2=$(make_pkt_str_garp $IP4DST_PROXYARP1 $macaddr_dst)
431 "cat ./out |grep -q -e '$pkt1' -e '$pkt2'"
433 atf_check -s exit:0 -x "cat ./out |grep -q -e '$pkt1' -e '$pkt2'"