Searched refs:packlen (Results 1 - 10 of 10) sorted by relevance
/freebsd-11-stable/sys/netinet/ |
H A D | accf_dns.c | 115 unsigned long packlen; local 127 GET16(p, packlen); 128 if (packlen + 2 > q.len)
|
/freebsd-11-stable/contrib/traceroute/ |
H A D | traceroute.c | 333 int packlen; /* total length of packet */ variable 734 packlen = minpacket; 736 packlen = 40; 742 packlen = str2val(argv[optind + 1], 769 protlen = packlen - sizeof(*outip) - optlen; 770 if ((proto->num == IPPROTO_SCTP) && (packlen & 3)) { 776 outip = (struct ip *)malloc((unsigned)packlen); 781 memset((char *)outip, 0, packlen); 787 outip->ip_len = htons(packlen); 790 outip->ip_len = packlen; [all...] |
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | config.c | 1318 size_t packlen, lladdroptlen = 0; local 1335 packlen = sizeof(struct nd_router_advert); 1344 packlen += lladdroptlen; 1347 packlen += sizeof(struct nd_opt_prefix_info) * rai->rai_pfxs; 1349 packlen += sizeof(struct nd_opt_mtu); 1352 packlen += sizeof(struct nd_opt_route_info) + 1358 packlen += sizeof(struct nd_opt_rdnss); 1360 packlen += sizeof(rdna->ra_dns); 1365 packlen += sizeof(struct nd_opt_dnssl); 1374 packlen [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | packet.c | 204 u_int packlen; member in struct:session_state 1688 if (state->packlen == 0) { 1691 state->packlen = PEEK_U32(cp); 1692 if (state->packlen < 4 + 1 || 1693 state->packlen > PACKET_MAX_SIZE) 1696 need = state->packlen + 4; 1701 state->packlen)) != 0 || 1710 state->packlen = 0; 1746 if (aadlen && state->packlen == 0) { 1748 &state->packlen, stat [all...] |
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha1.c | 222 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = local 243 packlen = 5 + 16 + ((frag + 20 + 16) & -16); 256 ciph_d[i].out = ciph_d[i - 1].out + packlen; 894 unsigned int frag, last, packlen, inp_len; local 929 packlen = 5 + 16 + ((frag + 20 + 16) & -16); 930 packlen = (packlen << n4x) - packlen; 931 packlen += 5 + 16 + ((last + 20 + 16) & -16); 935 return (int)packlen; [all...] |
H A D | e_aes_cbc_hmac_sha256.c | 218 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = local 240 packlen = 5 + 16 + ((frag + 32 + 16) & -16); 253 ciph_d[i].out = ciph_d[i - 1].out + packlen; 873 unsigned int frag, last, packlen, inp_len; local 908 packlen = 5 + 16 + ((frag + 32 + 16) & -16); 909 packlen = (packlen << n4x) - packlen; 910 packlen += 5 + 16 + ((last + 32 + 16) & -16); 914 return (int)packlen; [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | s3_pkt.c | 707 int packlen; local 716 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, 721 packlen *= 8; 723 packlen *= 4; 725 wb->buf = OPENSSL_malloc(packlen); 730 wb->len = packlen; 768 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, 772 if (packlen <= 0 || packlen > (int)wb->len) { /* never happens */ 794 wb->left = packlen; [all...] |
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | rtsold.c | 515 size_t packlen = sizeof(struct nd_router_solicit), lladdroptlen = 0; local 524 packlen += lladdroptlen; 525 ifi->rs_datalen = packlen; 528 if ((buf = malloc(packlen)) == NULL) {
|
/freebsd-11-stable/sbin/ping6/ |
H A D | ping6.c | 294 int almost_done, ch, hold, packlen, preload, optval, error; local 734 packlen = 2048 + IP6LEN + ICMP6ECHOLEN + EXTRA; 736 packlen = datalen + IP6LEN + ICMP6ECHOLEN + EXTRA; 741 packlen = 2048 + IP6LEN + ICMP6ECHOLEN + EXTRA; 744 if (!(packet = (u_char *)malloc((u_int)packlen))) 747 for (i = ICMP6ECHOLEN; i < packlen; ++i) 1133 iov[0].iov_len = packlen;
|
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | speed.c | 2803 int packlen; local 2816 packlen = EVP_CIPHER_CTX_ctrl(&ctx, 2820 if (packlen > 0) {
|
Completed in 299 milliseconds