/freebsd-12-stable/tools/regression/bpf/bpf_filter/tests/ |
H A D | test0067.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0069.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0070.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0072.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0073.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0016.h | 20 static u_char pkt[] = { variable 25 static u_int wirelen = sizeof(pkt); 28 static u_int buflen = sizeof(pkt);
|
H A D | test0017.h | 20 static u_char pkt[] = { variable 25 static u_int wirelen = sizeof(pkt); 28 static u_int buflen = sizeof(pkt);
|
H A D | test0018.h | 20 static u_char pkt[] = { variable 25 static u_int wirelen = sizeof(pkt); 28 static u_int buflen = sizeof(pkt);
|
H A D | test0062.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0065.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0068.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
H A D | test0071.h | 16 static u_char pkt[] = { variable 21 static u_int wirelen = sizeof(pkt);
|
/freebsd-12-stable/crypto/openssl/ssl/statem/ |
H A D | statem_local.h | 52 typedef int (*confunc_f) (SSL *s, WPACKET *pkt); 60 int parse_ca_names(SSL *s, PACKET *pkt); 62 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt); 73 int ossl_statem_client_construct_message(SSL *s, WPACKET *pkt, 76 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt); 86 int ossl_statem_server_construct_message(SSL *s, WPACKET *pkt, 89 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt); 99 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt); 100 __owur MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt); 101 __owur int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt); [all...] |
H A D | extensions_clnt.c | 15 EXT_RETURN tls_construct_ctos_renegotiate(SSL *s, WPACKET *pkt, argument 23 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_renegotiate) 24 || !WPACKET_start_sub_packet_u16(pkt) 25 || !WPACKET_sub_memcpy_u8(pkt, s->s3->previous_client_finished, 27 || !WPACKET_close(pkt)) { 36 EXT_RETURN tls_construct_ctos_server_name(SSL *s, WPACKET *pkt, argument 44 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_server_name) 46 || !WPACKET_start_sub_packet_u16(pkt) 48 || !WPACKET_start_sub_packet_u16(pkt) 49 || !WPACKET_put_bytes_u8(pkt, TLSEXT_NAMETYPE_host_nam 63 tls_construct_ctos_maxfragmentlen(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 89 tls_construct_ctos_srp(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 145 tls_construct_ctos_ec_pt_formats(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 171 tls_construct_ctos_supported_groups(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 220 tls_construct_ctos_session_ticket(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 264 tls_construct_ctos_sig_algs(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 292 tls_construct_ctos_status_request(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 366 tls_construct_ctos_npn(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 387 tls_construct_ctos_alpn(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 412 tls_construct_ctos_use_srtp(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 456 tls_construct_ctos_etm(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 473 tls_construct_ctos_sct(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 494 tls_construct_ctos_ems(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 507 tls_construct_ctos_supported_versions(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 557 tls_construct_ctos_psk_kex_modes(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 585 add_key_share(SSL *s, WPACKET *pkt, unsigned int curve_id) argument 643 tls_construct_ctos_key_share(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 704 tls_construct_ctos_cookie(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 733 tls_construct_ctos_early_data(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 916 tls_construct_ctos_padding(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 987 tls_construct_ctos_psk(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1192 tls_construct_ctos_post_handshake_auth(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1222 tls_parse_stoc_renegotiate(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1282 tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1323 tls_parse_stoc_server_name(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1356 tls_parse_stoc_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1400 tls_parse_stoc_session_ticket(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1429 tls_parse_stoc_status_request(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1473 tls_parse_stoc_sct(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1545 ssl_next_proto_validate(SSL *s, PACKET *pkt) argument 1561 tls_parse_stoc_npn(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1616 tls_parse_stoc_alpn(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1687 tls_parse_stoc_use_srtp(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1738 tls_parse_stoc_etm(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1750 tls_parse_stoc_ems(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1760 tls_parse_stoc_supported_versions(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1794 tls_parse_stoc_key_share(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1896 tls_parse_stoc_cookie(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1912 tls_parse_stoc_early_data(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument 1953 tls_parse_stoc_psk(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) argument [all...] |
/freebsd-12-stable/contrib/netbsd-tests/lib/libbpfjit/ |
H A D | t_bpfjit.c | 48 const uint8_t *pkt, unsigned int wirelen, unsigned int buflen) 52 args.pkt = pkt; 88 uint8_t pkt[1]; /* the program doesn't read any data */ local 97 ATF_CHECK(jitcall(code, pkt, 1, 1) == 17); 116 uint8_t pkt[1]; /* the program doesn't read any data */ local 134 ATF_CHECK(jitcall(code, pkt, 1, 1) == 13); 155 uint8_t pkt[1]; /* the program doesn't read any data */ local 164 ATF_CHECK(jitcall(code, pkt, 1, 1) == 5); 185 uint8_t pkt[ local 47 jitcall(bpfjit_func_t fn, const uint8_t *pkt, unsigned int wirelen, unsigned int buflen) argument 215 uint8_t pkt[1]; /* the program doesn't read any data */ local 244 uint8_t pkt[1]; /* the program doesn't read any data */ local 274 uint8_t pkt[1]; /* the program doesn't read any data */ local 304 uint8_t pkt[1]; /* the program doesn't read any data */ local 334 uint8_t pkt[1]; /* the program doesn't read any data */ local 364 uint8_t pkt[1]; /* the program doesn't read any data */ local 394 uint8_t pkt[1]; /* the program doesn't read any data */ local 424 uint8_t pkt[1]; /* the program doesn't read any data */ local 454 uint8_t pkt[1]; /* the program doesn't read any data */ local 483 uint8_t pkt[1]; /* the program doesn't read any data */ local 513 uint8_t pkt[1]; /* the program doesn't read any data */ local 543 uint8_t pkt[1]; /* the program doesn't read any data */ local 573 uint8_t pkt[1]; /* the program doesn't read any data */ local 603 uint8_t pkt[1]; /* the program doesn't read any data */ local 633 uint8_t pkt[1]; /* the program doesn't read any data */ local 663 uint8_t pkt[1]; /* the program doesn't read any data */ local 693 uint8_t pkt[1]; /* the program doesn't read any data */ local 723 uint8_t pkt[1]; /* the program doesn't read any data */ local 753 uint8_t pkt[1]; /* the program doesn't read any data */ local 783 uint8_t pkt[1]; /* the program doesn't read any data */ local 813 uint8_t pkt[1]; /* the program doesn't read any data */ local 843 uint8_t pkt[1]; /* the program doesn't read any data */ local 873 uint8_t pkt[1]; /* the program doesn't read any data */ local 903 uint8_t pkt[1]; /* the program doesn't read any data */ local 965 uint8_t pkt[1]; /* the program doesn't read any data */ local 998 uint8_t pkt[1]; /* the program doesn't read any data */ local 1029 uint8_t pkt[1]; /* the program doesn't read any data */ local 1060 uint8_t pkt[1]; /* the program doesn't read any data */ local 1090 uint8_t pkt[1]; /* the program doesn't read any data */ local 1121 uint8_t pkt[1]; /* the program doesn't read any data */ local 1152 uint8_t pkt[1]; /* the program doesn't read any data */ local 1183 uint8_t pkt[1]; /* the program doesn't read any data */ local 1214 uint8_t pkt[1]; /* the program doesn't read any data */ local 1245 uint8_t pkt[1]; /* the program doesn't read any data */ local 1276 uint8_t pkt[1]; /* the program doesn't read any data */ local 1307 uint8_t pkt[1]; /* the program doesn't read any data */ local 1337 uint8_t pkt[1]; /* the program doesn't read any data */ local 1368 uint8_t pkt[1]; /* the program doesn't read any data */ local 1399 uint8_t pkt[1]; /* the program doesn't read any data */ local 1430 uint8_t pkt[1]; /* the program doesn't read any data */ local 1461 uint8_t pkt[1]; /* the program doesn't read any data */ local 1492 uint8_t pkt[1]; /* the program doesn't read any data */ local 1523 uint8_t pkt[1]; /* the program doesn't read any data */ local 1554 uint8_t pkt[1]; /* the program doesn't read any data */ local 1585 uint8_t pkt[1]; /* the program doesn't read any data */ local 1616 uint8_t pkt[1]; /* the program doesn't read any data */ local 1647 uint8_t pkt[1]; /* the program doesn't read any data */ local 1678 uint8_t pkt[1]; /* the program doesn't read any data */ local 1709 uint8_t pkt[1]; /* the program doesn't read any data */ local 1740 uint8_t pkt[1]; /* the program doesn't read any data */ local 1771 uint8_t pkt[1]; /* the program doesn't read any data */ local 1842 uint8_t pkt[1]; /* the program doesn't read any data */ local 1874 uint8_t pkt[1]; /* the program doesn't read any data */ local 1907 uint8_t pkt[1]; /* the program doesn't read any data */ local 1999 uint8_t pkt[8]; /* the program doesn't read any data */ local 2050 uint8_t pkt[8]; /* the program doesn't read any data */ local 2101 uint8_t pkt[8]; /* the program doesn't read any data */ local 2152 uint8_t pkt[8]; /* the program doesn't read any data */ local 2214 uint8_t pkt[1]; /* the program doesn't read any data */ local 2265 uint8_t pkt[8]; /* the program doesn't read any data */ local 2323 uint8_t pkt[8]; /* the program doesn't read any data */ local 2380 uint8_t pkt[8]; /* the program doesn't read any data */ local 2437 uint8_t pkt[8]; /* the program doesn't read any data */ local 2474 uint8_t pkt[8]; /* the program doesn't read any data */ local 2505 uint8_t pkt[8]; /* the program doesn't read any data */ local 2536 uint8_t pkt[8]; /* the program doesn't read any data */ local 2601 uint8_t pkt[1]; /* the program doesn't read any data */ local 2643 uint8_t *pkt = deadbeef_at_5; local 2745 uint8_t pkt[8] = { 0 }; local 2813 uint8_t *pkt = deadbeef_at_5; local 2915 uint8_t pkt[8] = { 0 }; local 2952 uint8_t pkt[8] = { 10, 20, 30, 40, 50, 60, 70, 80 }; local 2989 uint8_t pkt[8] = { 10, 20, 30, 40, 50, 60, 70, 80 }; local 3022 uint8_t pkt[32]; /* the program doesn't read any data */ local 3052 uint8_t pkt[1]; /* the program doesn't read any data */ local 3082 uint8_t pkt[1]; /* the program doesn't read any data */ local 3114 uint8_t pkt[1]; /* the program doesn't read any data */ local 3145 uint8_t pkt[5]; /* the program doesn't read any data */ local 3180 uint8_t pkt[5]; /* the program doesn't read any data */ local 3211 uint8_t pkt[2] = { 0, 0x7a }; local 3242 uint8_t pkt[] = { 0, 11, 22, 33, 44, 55 }; local 3272 uint8_t pkt[1]; /* the program doesn't read any data */ local 3305 uint8_t pkt[16]; /* the program doesn't read any data */ local 3337 uint8_t pkt[1]; /* the program doesn't read any data */ local 3374 uint8_t pkt[2]; /* the program doesn't read any data */ local 3414 uint8_t pkt[2]; /* the program doesn't read any data */ local 3445 uint8_t pkt[BPF_MEMWORDS]; /* the program doesn't read any data */ local 3505 uint8_t pkt[16]; /* the program doesn't read any data */ local 3538 uint8_t pkt[1]; /* the program doesn't read any data */ local 3581 uint8_t pkt[16]; /* the program doesn't read any data */ local 3610 uint8_t pkt[BPF_MEMWORDS]; /* the program doesn't read any data */ local 3677 uint8_t pkt[2][34] = { local 3734 uint8_t pkt[2][34] = { local 3791 uint8_t pkt[2][34] = { local 3849 uint8_t pkt[2][34] = { local 3907 uint8_t pkt[2][34] = { local 3966 uint8_t pkt[2][34] = { local 4025 uint8_t pkt[2][34] = { local 4080 uint8_t pkt[6] = {0, 0, /* UINT32_MAX: */ 255, 255, 255, 255}; local 4122 uint8_t pkt[1]; /* the program doesn't read any data */ local 4158 uint8_t pkt[10] = {}; local 4243 uint8_t pkt[22] = {}; local 4345 uint8_t pkt[34] = {}; local 4481 uint8_t pkt[30] = {}; local [all...] |
H A D | t_cop.c | 144 uint8_t pkt[1] = { 0 }; local 146 .pkt = pkt, 147 .buflen = sizeof(pkt), 148 .wirelen = sizeof(pkt), 177 uint8_t pkt[1] = { 0 }; local 179 .pkt = pkt, 180 .buflen = sizeof(pkt), 181 .wirelen = sizeof(pkt) 210 uint8_t pkt[1] = { 0 }; local 243 uint8_t pkt[1] = { 0 }; local 279 uint8_t pkt[1] = { 0 }; local 321 uint8_t pkt[1] = { 2 }; local 399 uint8_t pkt[1] = { 0 }; local 433 uint8_t pkt[1] = { 0 }; local 467 uint8_t pkt[1] = { 0 }; local 501 uint8_t pkt[1] = { 0 }; local 538 uint8_t pkt[1] = { 0 }; local 581 uint8_t pkt[1] = { 2 }; local 614 uint8_t pkt[1] = { 0 }; local [all...] |
/freebsd-12-stable/contrib/netbsd-tests/net/bpfjit/ |
H A D | t_bpfjit.c | 61 const uint8_t *pkt, unsigned int wirelen, unsigned int buflen) 65 args.pkt = pkt; 108 uint8_t pkt[1]; /* the program doesn't read any data */ local 115 ATF_CHECK(exec_prog(insns, insn_count, pkt, 1) == 17); 133 uint8_t pkt[1]; /* the program doesn't read any data */ local 148 ATF_CHECK(exec_prog(insns, insn_count, pkt, 1) == 13); 166 uint8_t pkt[1]; /* the program doesn't read any data */ local 173 ATF_CHECK(exec_prog(insns, insn_count, pkt, 1) == 5); 191 uint8_t pkt[ local 60 jitcall(bpfjit_func_t fn, const uint8_t *pkt, unsigned int wirelen, unsigned int buflen) argument 216 uint8_t pkt[1]; /* the program doesn't read any data */ local 240 uint8_t pkt[1]; /* the program doesn't read any data */ local 265 uint8_t pkt[1]; /* the program doesn't read any data */ local 290 uint8_t pkt[1]; /* the program doesn't read any data */ local 315 uint8_t pkt[1]; /* the program doesn't read any data */ local 340 uint8_t pkt[1]; /* the program doesn't read any data */ local 365 uint8_t pkt[1]; /* the program doesn't read any data */ local 390 uint8_t pkt[1]; /* the program doesn't read any data */ local 415 uint8_t pkt[1]; /* the program doesn't read any data */ local 439 uint8_t pkt[1]; /* the program doesn't read any data */ local 464 uint8_t pkt[1]; /* the program doesn't read any data */ local 489 uint8_t pkt[1]; /* the program doesn't read any data */ local 514 uint8_t pkt[1]; /* the program doesn't read any data */ local 539 uint8_t pkt[1]; /* the program doesn't read any data */ local 564 uint8_t pkt[1]; /* the program doesn't read any data */ local 589 uint8_t pkt[1]; /* the program doesn't read any data */ local 614 uint8_t pkt[1]; /* the program doesn't read any data */ local 639 uint8_t pkt[1]; /* the program doesn't read any data */ local 664 uint8_t pkt[1]; /* the program doesn't read any data */ local 689 uint8_t pkt[1]; /* the program doesn't read any data */ local 714 uint8_t pkt[1]; /* the program doesn't read any data */ local 739 uint8_t pkt[1]; /* the program doesn't read any data */ local 764 uint8_t pkt[1]; /* the program doesn't read any data */ local 789 uint8_t pkt[1]; /* the program doesn't read any data */ local 847 uint8_t pkt[1]; /* the program doesn't read any data */ local 884 uint8_t pkt[1]; /* the program doesn't read any data */ local 910 uint8_t pkt[1]; /* the program doesn't read any data */ local 936 uint8_t pkt[1]; /* the program doesn't read any data */ local 961 uint8_t pkt[1]; /* the program doesn't read any data */ local 987 uint8_t pkt[1]; /* the program doesn't read any data */ local 1013 uint8_t pkt[1]; /* the program doesn't read any data */ local 1039 uint8_t pkt[1]; /* the program doesn't read any data */ local 1065 uint8_t pkt[1]; /* the program doesn't read any data */ local 1091 uint8_t pkt[1]; /* the program doesn't read any data */ local 1117 uint8_t pkt[1]; /* the program doesn't read any data */ local 1143 uint8_t pkt[1]; /* the program doesn't read any data */ local 1168 uint8_t pkt[1]; /* the program doesn't read any data */ local 1194 uint8_t pkt[1]; /* the program doesn't read any data */ local 1220 uint8_t pkt[1]; /* the program doesn't read any data */ local 1246 uint8_t pkt[1]; /* the program doesn't read any data */ local 1272 uint8_t pkt[1]; /* the program doesn't read any data */ local 1298 uint8_t pkt[1]; /* the program doesn't read any data */ local 1324 uint8_t pkt[1]; /* the program doesn't read any data */ local 1350 uint8_t pkt[1]; /* the program doesn't read any data */ local 1376 uint8_t pkt[1]; /* the program doesn't read any data */ local 1402 uint8_t pkt[1]; /* the program doesn't read any data */ local 1428 uint8_t pkt[1]; /* the program doesn't read any data */ local 1454 uint8_t pkt[1]; /* the program doesn't read any data */ local 1480 uint8_t pkt[1]; /* the program doesn't read any data */ local 1506 uint8_t pkt[1]; /* the program doesn't read any data */ local 1532 uint8_t pkt[1]; /* the program doesn't read any data */ local 1599 uint8_t pkt[1]; /* the program doesn't read any data */ local 1635 uint8_t pkt[1]; /* the program doesn't read any data */ local 1663 uint8_t pkt[1]; /* the program doesn't read any data */ local 1763 uint8_t pkt[8]; /* the program doesn't read any data */ local 1820 uint8_t pkt[8]; /* the program doesn't read any data */ local 1877 uint8_t pkt[8]; /* the program doesn't read any data */ local 1934 uint8_t pkt[8]; /* the program doesn't read any data */ local 2001 uint8_t pkt[1]; /* the program doesn't read any data */ local 2048 uint8_t pkt[8]; /* the program doesn't read any data */ local 2112 uint8_t pkt[8]; /* the program doesn't read any data */ local 2175 uint8_t pkt[8]; /* the program doesn't read any data */ local 2238 uint8_t pkt[8]; /* the program doesn't read any data */ local 2281 uint8_t pkt[8]; /* the program doesn't read any data */ local 2318 uint8_t pkt[8]; /* the program doesn't read any data */ local 2355 uint8_t pkt[8]; /* the program doesn't read any data */ local 2425 uint8_t pkt[1]; /* the program doesn't read any data */ local 2463 uint8_t *pkt = deadbeef_at_5; local 2571 uint8_t pkt[8] = { 0 }; local 2633 uint8_t *pkt = deadbeef_at_5; local 2741 uint8_t pkt[8] = { 0 }; local 2773 uint8_t pkt[8] = { 10, 20, 30, 40, 50, 60, 70, 80 }; local 2816 uint8_t pkt[8] = { 10, 20, 30, 40, 50, 60, 70, 80 }; local 2855 uint8_t pkt[32]; /* the program doesn't read any data */ local 2890 uint8_t pkt[1]; /* the program doesn't read any data */ local 2915 uint8_t pkt[1]; /* the program doesn't read any data */ local 2942 uint8_t pkt[1]; /* the program doesn't read any data */ local 2969 uint8_t pkt[5]; /* the program doesn't read any data */ local 3010 uint8_t pkt[5]; /* the program doesn't read any data */ local 3046 uint8_t pkt[2] = { 0, 0x7a }; local 3072 uint8_t pkt[6] = { 0, 11, 22, 33, 44, 55 }; local 3097 uint8_t pkt[1]; /* the program doesn't read any data */ local 3126 uint8_t pkt[16]; /* the program doesn't read any data */ local 3164 uint8_t pkt[1]; /* the program doesn't read any data */ local 3197 uint8_t pkt[2]; /* the program doesn't read any data */ local 3243 uint8_t pkt[2]; /* the program doesn't read any data */ local 3280 uint8_t pkt[BPF_MEMWORDS]; /* the program doesn't read any data */ local 3346 uint8_t pkt[16]; /* the program doesn't read any data */ local 3385 uint8_t pkt[1]; /* the program doesn't read any data */ local 3426 uint8_t pkt[16]; /* the program doesn't read any data */ local 3461 uint8_t pkt[BPF_MEMWORDS]; /* the program doesn't read any data */ local 3534 uint8_t pkt[2][34] = { local 3597 uint8_t pkt[2][34] = { local 3660 uint8_t pkt[2][34] = { local 3724 uint8_t pkt[2][34] = { local 3788 uint8_t pkt[2][34] = { local 3853 uint8_t pkt[2][34] = { local 3918 uint8_t pkt[2][34] = { local 3979 uint8_t pkt[6] = {0, 0, /* UINT32_MAX: */ 255, 255, 255, 255}; local 4026 uint8_t pkt[1]; /* the program doesn't read any data */ local 4058 uint8_t pkt[10] = {}; local 4149 uint8_t pkt[22] = {}; local 4257 uint8_t pkt[34] = {}; local 4399 uint8_t pkt[30] = {}; local [all...] |
H A D | t_cop.c | 156 uint8_t pkt[1] = { 0 }; local 158 .pkt = pkt, 159 .buflen = sizeof(pkt), 160 .wirelen = sizeof(pkt), 195 uint8_t pkt[1] = { 0 }; local 197 .pkt = pkt, 198 .buflen = sizeof(pkt), 199 .wirelen = sizeof(pkt) 234 uint8_t pkt[1] = { 0 }; local 273 uint8_t pkt[1] = { 0 }; local 315 uint8_t pkt[1] = { 0 }; local 363 uint8_t pkt[1] = { 2 }; local 457 uint8_t pkt[1] = { 0 }; local 497 uint8_t pkt[1] = { 0 }; local 537 uint8_t pkt[1] = { 0 }; local 577 uint8_t pkt[1] = { 0 }; local 620 uint8_t pkt[1] = { 0 }; local 669 uint8_t pkt[1] = { 2 }; local 708 uint8_t pkt[1] = { 0 }; local [all...] |
/freebsd-12-stable/contrib/netbsd-tests/net/bpf/ |
H A D | h_bpf.h | 54 * [pkt, pkt + split] bytes, the second chunk (if it's not empty) 55 * holds (pkt + split, pkt + pktsize) bytes. 60 unsigned char pkt[], size_t pktsize, size_t split) 64 mb1->m_data = (char *)pkt; 71 mb2->m_data = (char *)&pkt[split]; 83 unsigned char pkt[], size_t pktsize) 89 args.pkt = (const uint8_t *)pkt; 59 init_mchain2(struct mbuf *mb1, struct mbuf *mb2, unsigned char pkt[], size_t pktsize, size_t split) argument 82 exec_prog(struct bpf_insn *insns, size_t insn_count, unsigned char pkt[], size_t pktsize) argument 110 interp_prog_mchain2(struct bpf_insn *insns, unsigned char pkt[], size_t pktsize, size_t split) argument 134 exec_prog_mchain2(struct bpf_insn *insns, size_t insn_count, unsigned char pkt[], size_t pktsize, size_t split) argument [all...] |
/freebsd-12-stable/usr.sbin/bluetooth/btpand/ |
H A D | tap.c | 134 tap_send(channel_t *chan, packet_t *pkt) argument 139 iov[0].iov_base = pkt->dst; 141 iov[1].iov_base = pkt->src; 143 iov[2].iov_base = pkt->type; 145 iov[3].iov_base = pkt->ptr; 146 iov[3].iov_len = pkt->len; 156 tap_recv(packet_t *pkt) argument 159 if (pkt->len < ETHER_HDR_LEN) 162 pkt->dst = pkt [all...] |
/freebsd-12-stable/contrib/unbound/util/data/ |
H A D | msgencode.c | 252 write_compressed_dname(sldns_buffer* pkt, uint8_t* dname, int labs, argument 262 if(sldns_buffer_remaining(pkt) < 1) 264 sldns_buffer_write_u8(pkt, 0); 271 if(sldns_buffer_remaining(pkt) < (size_t)lablen+1) 273 sldns_buffer_write_u8(pkt, lablen); 274 sldns_buffer_write(pkt, dname, lablen); 278 if(sldns_buffer_remaining(pkt) < 2) 281 sldns_buffer_write_u16(pkt, ptr); 287 compress_owner(struct ub_packed_rrset_key* key, sldns_buffer* pkt, argument 301 if(!write_compressed_dname(pkt, ke 336 compress_any_dname(uint8_t* dname, sldns_buffer* pkt, int labs, struct regional* region, struct compress_tree_node** tree) argument 367 compress_rdata(sldns_buffer* pkt, uint8_t* rdata, size_t todolen, struct regional* region, struct compress_tree_node** tree, const sldns_rr_descriptor* desc) argument 449 packed_rrset_encode(struct ub_packed_rrset_key* key, sldns_buffer* pkt, uint16_t* num_rrs, time_t timenow, struct regional* region, int do_data, int do_sig, struct compress_tree_node** tree, sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset) argument 544 insert_section(struct reply_info* rep, size_t num_rrsets, uint16_t* num_rrs, sldns_buffer* pkt, size_t rrsets_before, time_t timenow, struct regional* region, struct compress_tree_node** tree, sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset) argument 807 attach_edns_record_max_msg_sz(sldns_buffer* pkt, struct edns_data* edns, uint16_t max_msg_sz) argument 870 attach_edns_record(sldns_buffer* pkt, struct edns_data* edns) argument 878 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, uint16_t id, uint16_t qflags, sldns_buffer* pkt, time_t timenow, int cached, struct regional* region, uint16_t udpsize, struct edns_data* edns, int dnssec, int secure) argument 930 qinfo_query_encode(sldns_buffer* pkt, struct query_info* qinfo) argument [all...] |
/freebsd-12-stable/contrib/ntp/sntp/ |
H A D | main.h | 19 void set_li_vn_mode(struct pkt *spkt, char leap, char version, char mode); 21 int generate_pkt(struct pkt *x_pkt, const struct timeval *tv_xmt, 23 int handle_pkt(int rpktl, struct pkt *rpkt, sockaddr_u *host, 25 void offset_calculation(struct pkt *rpkt, int rpktl,
|
/freebsd-12-stable/contrib/ldns/ldns/ |
H A D | tsig.h | 43 * \param[in] pkt the packet to verify 51 bool ldns_pkt_tsig_verify(ldns_pkt *pkt, const uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, const ldns_rdf *mac); 56 * \param[in] pkt the packet to verify 66 bool ldns_pkt_tsig_verify_next(ldns_pkt *pkt, const uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, const ldns_rdf *mac, 71 * \param[in] pkt the packet to sign 79 ldns_status ldns_pkt_tsig_sign(ldns_pkt *pkt, const char *key_name, const char *key_data, uint16_t fudge, 84 * \param[in] pkt the packet to sign 94 ldns_status ldns_pkt_tsig_sign_next(ldns_pkt *pkt, const char *key_name, const char *key_data, uint16_t fudge,
|
/freebsd-12-stable/sys/dev/iwm/ |
H A D | if_iwm_phy_db.h | 114 struct iwm_rx_packet *pkt);
|
/freebsd-12-stable/stand/libsa/ |
H A D | bootparam.c | 130 void *pkt; local 162 pkt = NULL; 164 args, send_tail - (char*)args, (void **)&repl, &pkt); 222 free(pkt); 241 void *pkt; local 275 pkt = NULL; 279 (void **)&rdata, &pkt); 313 free(pkt); 325 xdr_string_encode(char **pkt, char *str, int len) argument 332 lenp = (uint32_t *) *pkt; 344 xdr_string_decode(char **pkt, char *str, int *len_p) argument 371 xdr_inaddr_encode(char **pkt, struct in_addr ia) argument 402 xdr_inaddr_decode(char **pkt, struct in_addr *ia) argument [all...] |