Symbol: abuf
lib/libcrypto/pkcs7/pk7_doit.c
1028
unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL;
lib/libcrypto/pkcs7/pk7_doit.c
1051
alen = ASN1_item_i2d((ASN1_VALUE *)sk, &abuf,
lib/libcrypto/pkcs7/pk7_doit.c
1058
if (!EVP_VerifyUpdate(&mdc_tmp, abuf, alen)) {
lib/libcrypto/pkcs7/pk7_doit.c
1059
free(abuf);
lib/libcrypto/pkcs7/pk7_doit.c
1063
free(abuf);
lib/libcrypto/pkcs7/pk7_doit.c
795
unsigned char *abuf = NULL;
lib/libcrypto/pkcs7/pk7_doit.c
798
abuf = malloc(abuflen);
lib/libcrypto/pkcs7/pk7_doit.c
799
if (!abuf)
lib/libcrypto/pkcs7/pk7_doit.c
802
if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen,
lib/libcrypto/pkcs7/pk7_doit.c
805
free(abuf);
lib/libcrypto/pkcs7/pk7_doit.c
808
ASN1_STRING_set0(si->enc_digest, abuf, abuflen);
lib/libcrypto/pkcs7/pk7_doit.c
863
unsigned char *abuf = NULL;
lib/libcrypto/pkcs7/pk7_doit.c
882
alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf,
lib/libcrypto/pkcs7/pk7_doit.c
884
if (!abuf)
lib/libcrypto/pkcs7/pk7_doit.c
886
if (EVP_DigestSignUpdate(&mctx, abuf, alen) <= 0)
lib/libcrypto/pkcs7/pk7_doit.c
888
free(abuf);
lib/libcrypto/pkcs7/pk7_doit.c
889
abuf = NULL;
lib/libcrypto/pkcs7/pk7_doit.c
892
abuf = malloc(siglen);
lib/libcrypto/pkcs7/pk7_doit.c
893
if (!abuf)
lib/libcrypto/pkcs7/pk7_doit.c
895
if (EVP_DigestSignFinal(&mctx, abuf, &siglen) <= 0)
lib/libcrypto/pkcs7/pk7_doit.c
906
ASN1_STRING_set0(si->enc_digest, abuf, siglen);
lib/libcrypto/pkcs7/pk7_doit.c
911
free(abuf);
libexec/talkd/print.c
68
char tbuf[80], *tp, abuf[80], *ap;
libexec/talkd/print.c
76
(void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
libexec/talkd/print.c
77
ap = abuf;
regress/lib/libcrypto/ecdh/ecdhtest.c
113
unsigned char *abuf = NULL, *bbuf = NULL;
regress/lib/libcrypto/ecdh/ecdhtest.c
131
if ((abuf = calloc(1, len)) == NULL)
regress/lib/libcrypto/ecdh/ecdhtest.c
136
if (ECDH_compute_key(abuf, len, pubb, keya, KDF1_SHA1) != len)
regress/lib/libcrypto/ecdh/ecdhtest.c
141
if (memcmp(abuf, bbuf, len) != 0) {
regress/lib/libcrypto/ecdh/ecdhtest.c
146
hexdump(abuf, len);
regress/lib/libcrypto/ecdh/ecdhtest.c
164
freezero(abuf, len);
regress/usr.sbin/bgpd/unittests/rde_community_test.c
48
struct ibuf *buf, abuf;
regress/usr.sbin/bgpd/unittests/rde_community_test.c
69
if (ibuf_get_ibuf(in, attr_len, &abuf) == -1) {
regress/usr.sbin/bgpd/unittests/rde_community_test.c
77
r = community_add(&comm, flags, &abuf);
regress/usr.sbin/bgpd/unittests/rde_community_test.c
80
r = community_ext_add(&comm, flags, 0, &abuf);
regress/usr.sbin/bgpd/unittests/rde_community_test.c
83
r = community_large_add(&comm, flags, &abuf);
sbin/unwind/frontend.c
1002
synth_rinfo->flags, pq->abuf, 0, pq->region,
sbin/unwind/frontend.c
101
struct sldns_buffer *abuf;
sbin/unwind/frontend.c
1041
pq->abuf = sldns_buffer_new(sldns_buffer_capacity(opq->abuf));
sbin/unwind/frontend.c
1044
if (!pq->qbuf || !pq->abuf || !pq->region) {
sbin/unwind/frontend.c
1121
if (!sldns_buffer_set_capacity(pq->abuf,
sbin/unwind/frontend.c
1127
sldns_buffer_copy(pq->abuf, pq->qbuf);
sbin/unwind/frontend.c
1129
sldns_buffer_clear(pq->abuf);
sbin/unwind/frontend.c
1131
sldns_buffer_skip(pq->abuf, sizeof(uint16_t)); /* skip id */
sbin/unwind/frontend.c
1132
sldns_buffer_write_u16(pq->abuf, 0); /* clear flags */
sbin/unwind/frontend.c
1133
LDNS_QR_SET(sldns_buffer_begin(pq->abuf));
sbin/unwind/frontend.c
1134
LDNS_RA_SET(sldns_buffer_begin(pq->abuf));
sbin/unwind/frontend.c
1136
LDNS_RD_SET(sldns_buffer_begin(pq->abuf));
sbin/unwind/frontend.c
1138
LDNS_CD_SET(sldns_buffer_begin(pq->abuf));
sbin/unwind/frontend.c
1139
LDNS_RCODE_SET(sldns_buffer_begin(pq->abuf), LDNS_RCODE_NOERROR);
sbin/unwind/frontend.c
1140
sldns_buffer_write_u16(pq->abuf, 1); /* qdcount */
sbin/unwind/frontend.c
1141
sldns_buffer_write_u16(pq->abuf, 1); /* ancount */
sbin/unwind/frontend.c
1142
sldns_buffer_write_u16(pq->abuf, 0); /* nscount */
sbin/unwind/frontend.c
1143
sldns_buffer_write_u16(pq->abuf, 0); /* arcount */
sbin/unwind/frontend.c
1144
(void)query_dname_len(pq->abuf); /* skip qname */
sbin/unwind/frontend.c
1145
sldns_buffer_skip(pq->abuf, sizeof(uint16_t)); /* skip qtype */
sbin/unwind/frontend.c
1146
sldns_buffer_skip(pq->abuf, sizeof(uint16_t)); /* skip qclass */
sbin/unwind/frontend.c
1148
sldns_buffer_write_u16(pq->abuf, 0xc00c); /* ptr to query */
sbin/unwind/frontend.c
1149
sldns_buffer_write_u16(pq->abuf, LDNS_RR_TYPE_TXT);
sbin/unwind/frontend.c
1150
sldns_buffer_write_u16(pq->abuf, LDNS_RR_CLASS_CH);
sbin/unwind/frontend.c
1151
sldns_buffer_write_u32(pq->abuf, 0); /* TTL */
sbin/unwind/frontend.c
1152
sldns_buffer_write_u16(pq->abuf, 1 + len); /* RDLENGTH */
sbin/unwind/frontend.c
1153
sldns_buffer_write_u8(pq->abuf, len); /* length octed */
sbin/unwind/frontend.c
1154
sldns_buffer_write(pq->abuf, name, len);
sbin/unwind/frontend.c
1155
sldns_buffer_flip(pq->abuf);
sbin/unwind/frontend.c
1161
sldns_buffer_clear(pq->abuf);
sbin/unwind/frontend.c
1162
error_encode(pq->abuf, rcode, &pq->qinfo, htons(pq->id), pq->flags,
sbin/unwind/frontend.c
1213
sldns_wire2str_pkt(sldns_buffer_begin(pq->abuf),
sbin/unwind/frontend.c
1214
sldns_buffer_limit(pq->abuf))) != NULL) {
sbin/unwind/frontend.c
1221
if(sendto(pq->fd, sldns_buffer_current(pq->abuf),
sbin/unwind/frontend.c
1222
sldns_buffer_remaining(pq->abuf), 0,
sbin/unwind/frontend.c
1229
tmp = sldns_buffer_new(sldns_buffer_limit(pq->abuf) + 2);
sbin/unwind/frontend.c
1236
sldns_buffer_write_u16(tmp, sldns_buffer_limit(pq->abuf));
sbin/unwind/frontend.c
1237
sldns_buffer_write(tmp, sldns_buffer_current(pq->abuf),
sbin/unwind/frontend.c
1238
sldns_buffer_remaining(pq->abuf));
sbin/unwind/frontend.c
1240
sldns_buffer_free(pq->abuf);
sbin/unwind/frontend.c
1241
pq->abuf = tmp;
sbin/unwind/frontend.c
1732
if (sldns_buffer_position(pq->qbuf) >= 2 && !pq->abuf) {
sbin/unwind/frontend.c
1742
pq->abuf = sldns_buffer_new(len);
sbin/unwind/frontend.c
1743
if (pq->abuf == NULL) {
sbin/unwind/frontend.c
1773
n = write(fd, sldns_buffer_current(pq->abuf),
sbin/unwind/frontend.c
1774
sldns_buffer_remaining(pq->abuf));
sbin/unwind/frontend.c
1782
sldns_buffer_skip(pq->abuf, n);
sbin/unwind/frontend.c
1783
if (sldns_buffer_remaining(pq->abuf) == 0)
sbin/unwind/frontend.c
557
if (sldns_buffer_position(pq->abuf) == 0 &&
sbin/unwind/frontend.c
558
!sldns_buffer_set_capacity(pq->abuf,
sbin/unwind/frontend.c
565
if (sldns_buffer_position(pq->abuf) + data_len >
sbin/unwind/frontend.c
566
sldns_buffer_capacity(pq->abuf))
sbin/unwind/frontend.c
569
sldns_buffer_write(pq->abuf, data, data_len);
sbin/unwind/frontend.c
571
if (sldns_buffer_position(pq->abuf) ==
sbin/unwind/frontend.c
572
sldns_buffer_capacity(pq->abuf)) {
sbin/unwind/frontend.c
573
sldns_buffer_flip(pq->abuf);
sbin/unwind/frontend.c
688
sldns_buffer_free(pq->abuf);
sbin/unwind/frontend.c
728
pq->abuf = sldns_buffer_new(len); /* make sure we can send errors */
sbin/unwind/frontend.c
731
if (!pq->qbuf || !pq->abuf || !pq->region) {
sbin/unwind/frontend.c
884
if (!query_info_parse(&skip, pq->abuf))
sbin/unwind/frontend.c
887
if (reply_info_parse(pq->abuf, &alloc, &qinfo, &rinfo, pq->region,
sbin/unwind/frontend.c
905
sldns_buffer_clear(pq->abuf);
sbin/unwind/frontend.c
907
pq->abuf, 0, pq->region, pq->tcp ? UINT16_MAX : pq->edns.udp_size,
sbin/unwind/frontend.c
935
if (!query_info_parse(&skip, pq->abuf))
sbin/unwind/frontend.c
938
if (reply_info_parse(pq->abuf, &alloc, &qinfo, &rinfo, pq->region,
sbin/unwind/frontend.c
995
if (!sldns_buffer_set_capacity(pq->abuf, pq->tcp ? UINT16_MAX :
sbin/unwind/frontend.c
999
sldns_buffer_clear(pq->abuf);
sys/arch/alpha/stand/nboot/prom.c
61
static char abuf[128] __attribute__ ((aligned (8)));
sys/arch/alpha/stand/nboot/prom.c
64
ret.bits = prom_dispatch(PROM_R_GETENV, id, (u_int64_t)abuf, 128, 0);
sys/arch/alpha/stand/nboot/prom.c
70
memcpy(buf, abuf, len);
sys/arch/alpha/stand/prom.c
103
static char abuf[128] __attribute__ ((aligned (8)));
sys/arch/alpha/stand/prom.c
106
ret.bits = prom_dispatch(PROM_R_GETENV, id, (u_int64_t)abuf, 128, 0);
sys/arch/alpha/stand/prom.c
112
memcpy(buf, abuf, len);
sys/netinet/ip_esp.c
353
uint8_t abuf[AH_HMAC_MAX_HASHLEN];
sys/netinet/ip_esp.c
478
m_copydata(m, m->m_pkthdr.len - alen, alen, abuf);
sys/netinet/ip_esp.c
525
if (timingsafe_bcmp(abuf, aalg, esph->authsize)) {
usr.bin/aucat/abuf.c
100
abuf_wgetblk(struct abuf *buf, int *rsize)
usr.bin/aucat/abuf.c
29
abuf_init(struct abuf *buf, unsigned int len)
usr.bin/aucat/abuf.c
38
abuf_done(struct abuf *buf)
usr.bin/aucat/abuf.c
52
abuf_rgetblk(struct abuf *buf, int *rsize)
usr.bin/aucat/abuf.c
67
abuf_rdiscard(struct abuf *buf, int count)
usr.bin/aucat/abuf.c
85
abuf_wcommit(struct abuf *buf, int count)
usr.bin/aucat/abuf.h
27
void abuf_init(struct abuf *, unsigned int);
usr.bin/aucat/abuf.h
28
void abuf_done(struct abuf *);
usr.bin/aucat/abuf.h
29
unsigned char *abuf_rgetblk(struct abuf *, int *);
usr.bin/aucat/abuf.h
30
unsigned char *abuf_wgetblk(struct abuf *, int *);
usr.bin/aucat/abuf.h
31
void abuf_rdiscard(struct abuf *, int);
usr.bin/aucat/abuf.h
32
void abuf_wcommit(struct abuf *, int);
usr.bin/aucat/aucat.c
77
struct abuf buf; /* file i/o buffer */
usr.bin/dig/lib/dns/rdata/generic/keydata_65533.c
129
char abuf[ISC_FORMATHTTPTIMESTAMP_SIZE];
usr.bin/dig/lib/dns/rdata/generic/keydata_65533.c
173
isc_time_formathttptimestamp(&t, abuf,
usr.bin/dig/lib/dns/rdata/generic/keydata_65533.c
174
sizeof(abuf));
usr.bin/dig/lib/dns/rdata/generic/keydata_65533.c
175
RETERR(isc_str_tobuffer(abuf, target));
usr.bin/mail/quit.c
211
if ((abuf = Fopen(mbox, "r")) != NULL) {
usr.bin/mail/quit.c
212
while ((c = getc(abuf)) != EOF)
usr.bin/mail/quit.c
214
(void)Fclose(abuf);
usr.bin/mail/quit.c
302
abuf = Fopen(mailname, "r+");
usr.bin/mail/quit.c
303
if (abuf == NULL)
usr.bin/mail/quit.c
306
(void)putc(c, abuf);
usr.bin/mail/quit.c
308
trunc(abuf);
usr.bin/mail/quit.c
309
(void)Fclose(abuf);
usr.bin/mail/quit.c
67
FILE *ibuf = NULL, *obuf, *fbuf, *rbuf, *abuf;
usr.bin/sndiod/abuf.c
104
abuf_wgetblk(struct abuf *buf, int *rsize)
usr.bin/sndiod/abuf.c
33
abuf_init(struct abuf *buf, unsigned int len)
usr.bin/sndiod/abuf.c
42
abuf_done(struct abuf *buf)
usr.bin/sndiod/abuf.c
56
abuf_rgetblk(struct abuf *buf, int *rsize)
usr.bin/sndiod/abuf.c
71
abuf_rdiscard(struct abuf *buf, int count)
usr.bin/sndiod/abuf.c
89
abuf_wcommit(struct abuf *buf, int count)
usr.bin/sndiod/abuf.h
27
void abuf_init(struct abuf *, unsigned int);
usr.bin/sndiod/abuf.h
28
void abuf_done(struct abuf *);
usr.bin/sndiod/abuf.h
29
unsigned char *abuf_rgetblk(struct abuf *, int *);
usr.bin/sndiod/abuf.h
30
unsigned char *abuf_wgetblk(struct abuf *, int *);
usr.bin/sndiod/abuf.h
31
void abuf_rdiscard(struct abuf *, int);
usr.bin/sndiod/abuf.h
32
void abuf_wcommit(struct abuf *, int);
usr.bin/sndiod/dev.h
66
struct abuf buf; /* socket side buffer */
usr.bin/sndiod/dev.h
77
struct abuf buf; /* socket side buffer */
usr.bin/sndiod/midi.h
79
struct abuf obuf; /* output buffer */
usr.bin/ssh/ssh-keygen.c
2521
struct sshbuf *sigbuf = NULL, *abuf = NULL;
usr.bin/ssh/ssh-keygen.c
2554
if ((r = sshsig_armor(sigbuf, &abuf)) != 0) {
usr.bin/ssh/ssh-keygen.c
2558
if ((asig = sshbuf_dup_string(abuf)) == NULL) {
usr.bin/ssh/ssh-keygen.c
2602
sshbuf_free(abuf);
usr.bin/ssh/ssh-keygen.c
2742
struct sshbuf *sigbuf = NULL, *abuf = NULL;
usr.bin/ssh/ssh-keygen.c
2753
if ((r = sshbuf_load_file(signature, &abuf)) != 0) {
usr.bin/ssh/ssh-keygen.c
2758
if ((r = sshsig_dearmor(abuf, &sigbuf)) != 0) {
usr.bin/ssh/ssh-keygen.c
2820
sshbuf_free(abuf);
usr.bin/ssh/ssh-keygen.c
2832
struct sshbuf *sigbuf = NULL, *abuf = NULL;
usr.bin/ssh/ssh-keygen.c
2840
if ((r = sshbuf_load_file(signature, &abuf)) != 0) {
usr.bin/ssh/ssh-keygen.c
2844
if ((r = sshsig_dearmor(abuf, &sigbuf)) != 0) {
usr.bin/ssh/ssh-keygen.c
2869
sshbuf_free(abuf);
usr.bin/ssh/ssh-sk-client.c
312
struct sshbuf *kbuf = NULL, *abuf = NULL, *req = NULL, *resp = NULL;
usr.bin/ssh/ssh-sk-client.c
322
if ((abuf = sshbuf_new()) == NULL ||
usr.bin/ssh/ssh-sk-client.c
345
(r = sshbuf_get_stringb(resp, abuf)) != 0) {
usr.bin/ssh/ssh-sk-client.c
359
if (attest != NULL && (r = sshbuf_putb(attest, abuf)) != 0) {
usr.bin/ssh/ssh-sk-client.c
372
sshbuf_free(abuf);
usr.sbin/bgpctl/bgpctl.c
1653
struct ibuf wbuf, abuf;
usr.sbin/bgpctl/bgpctl.c
1678
ibuf_get_ibuf(b, alen, &abuf) == -1)
usr.sbin/bgpctl/bgpctl.c
1683
while (ibuf_size(&abuf) > 0) {
usr.sbin/bgpctl/bgpctl.c
1688
ibuf_from_ibuf(&attrbuf, &abuf);
usr.sbin/bgpctl/bgpctl.c
1706
if (ibuf_skip(&abuf, ibuf_size(&attrbuf)) == -1)
usr.sbin/bgpctl/mrtparser.c
417
struct ibuf abuf;
usr.sbin/bgpctl/mrtparser.c
437
ibuf_get_ibuf(msg, alen, &abuf) == -1)
usr.sbin/bgpctl/mrtparser.c
441
if (mrt_extract_attr(&entries[i], &abuf, r->prefix.aid,
usr.sbin/bgpctl/mrtparser.c
457
struct ibuf abuf;
usr.sbin/bgpctl/mrtparser.c
517
ibuf_get_ibuf(msg, alen, &abuf) == -1)
usr.sbin/bgpctl/mrtparser.c
521
if (mrt_extract_attr(re, &abuf, r->prefix.aid, 0) == -1)
usr.sbin/bgpctl/mrtparser.c
533
struct ibuf abuf;
usr.sbin/bgpctl/mrtparser.c
616
ibuf_get_ibuf(msg, alen, &abuf) == -1)
usr.sbin/bgpctl/mrtparser.c
618
if (mrt_extract_attr(re, &abuf, r->prefix.aid, 0) == -1)
usr.sbin/bgpctl/mrtparser.c
631
struct ibuf abuf;
usr.sbin/bgpctl/mrtparser.c
637
ibuf_from_ibuf(&abuf, buf);
usr.sbin/bgpctl/mrtparser.c
638
if (ibuf_get_n8(&abuf, &flags) == -1 ||
usr.sbin/bgpctl/mrtparser.c
639
ibuf_get_n8(&abuf, &type) == -1)
usr.sbin/bgpctl/mrtparser.c
644
if (ibuf_get_n16(&abuf, &tmp16) == -1)
usr.sbin/bgpctl/mrtparser.c
650
if (ibuf_get_n8(&abuf, &tmp8) == -1)
usr.sbin/bgpctl/mrtparser.c
655
if (ibuf_truncate(&abuf, alen) == -1)
usr.sbin/bgpctl/mrtparser.c
665
if (ibuf_get_n8(&abuf, &re->origin) == -1)
usr.sbin/bgpctl/mrtparser.c
673
if (ibuf_get(&abuf, re->aspath, alen) == -1)
usr.sbin/bgpctl/mrtparser.c
676
re->aspath = mrt_aspath_inflate(&abuf,
usr.sbin/bgpctl/mrtparser.c
687
if (ibuf_get(&abuf, &re->nexthop.v4,
usr.sbin/bgpctl/mrtparser.c
695
if (ibuf_get_n32(&abuf, &re->med) == -1)
usr.sbin/bgpctl/mrtparser.c
701
if (ibuf_get_n32(&abuf, &re->local_pref) == -1)
usr.sbin/bgpctl/mrtparser.c
720
if (ibuf_get_n8(&abuf, &hack) == -1)
usr.sbin/bgpctl/mrtparser.c
723
if (ibuf_skip(&abuf, 3) == -1)
usr.sbin/bgpctl/mrtparser.c
729
if (ibuf_get(&abuf, &re->nexthop.v6,
usr.sbin/bgpctl/mrtparser.c
735
if (ibuf_skip(&abuf, sizeof(uint64_t)) == -1 ||
usr.sbin/bgpctl/mrtparser.c
736
ibuf_get(&abuf, &re->nexthop.v4,
usr.sbin/bgpctl/mrtparser.c
742
if (ibuf_skip(&abuf, sizeof(uint64_t)) == -1 ||
usr.sbin/bgpctl/mrtparser.c
743
ibuf_get(&abuf, &re->nexthop.v6,
usr.sbin/bgpctl/mrtparser.c
756
if (ibuf_get(&abuf, re->aspath, alen) == -1)
usr.sbin/bgpctl/mrtparser.c
771
ibuf_rewind(&abuf);
usr.sbin/bgpctl/mrtparser.c
772
ap->attr_len = ibuf_size(&abuf);
usr.sbin/bgpctl/mrtparser.c
775
if (ibuf_get(&abuf, ap->attr, ap->attr_len) == -1)
usr.sbin/bgpd/flowspec.c
103
alen = abuf[1];
usr.sbin/bgpd/flowspec.c
108
extract_prefix(abuf + 2, ablen - 2, &a, clen, sizeof(a));
usr.sbin/bgpd/flowspec.c
132
flowspec_cmp_prefix6(const uint8_t *abuf, int ablen, const uint8_t *bbuf,
usr.sbin/bgpd/flowspec.c
139
if (abuf[2] < bbuf[2])
usr.sbin/bgpd/flowspec.c
141
if (abuf[2] > bbuf[2])
usr.sbin/bgpd/flowspec.c
145
alen = abuf[1] - abuf[2];
usr.sbin/bgpd/flowspec.c
150
extract_prefix(abuf + 3, ablen - 3, &a, clen, sizeof(a));
usr.sbin/bgpd/flowspec.c
97
flowspec_cmp_prefix4(const uint8_t *abuf, int ablen, const uint8_t *bbuf,
usr.sbin/lldp/lldp.c
730
const uint8_t *abuf;
usr.sbin/lldp/lldp.c
746
abuf = buf;
usr.sbin/lldp/lldp.c
754
aftype = abuf[0];
usr.sbin/lldp/lldp.c
756
abuf++;
usr.sbin/lldp/lldp.c
764
inet_ntop(AF_INET, abuf, ipbuf, sizeof(ipbuf));
usr.sbin/lldp/lldp.c
772
inet_ntop(AF_INET6, abuf, ipbuf, sizeof(ipbuf));
usr.sbin/lldp/lldp.c
781
fprintf(scratch, "%s", ether_ntoa((struct ether_addr *)abuf));
usr.sbin/lldp/lldp.c
787
lldp_bytes_to_scratch(abuf, alen, 0);
usr.sbin/tcpdump/print-atalk.c
224
static u_char *abuf = NULL;
usr.sbin/tcpdump/print-atalk.c
229
if (abuf == NULL) {
usr.sbin/tcpdump/print-atalk.c
230
abuf = malloc(snaplen);
usr.sbin/tcpdump/print-atalk.c
231
if (abuf == NULL)
usr.sbin/tcpdump/print-atalk.c
234
memmove((char *)abuf, (char *)bp, min(length, clen));
usr.sbin/tcpdump/print-atalk.c
235
snapend = abuf + clen;
usr.sbin/tcpdump/print-atalk.c
236
packetp = abuf;
usr.sbin/tcpdump/print-atalk.c
237
bp = abuf;
usr.sbin/tcpdump/print-ip.c
335
static u_char *abuf = NULL;
usr.sbin/tcpdump/print-ip.c
341
if (abuf == NULL) {
usr.sbin/tcpdump/print-ip.c
342
abuf = malloc(snaplen);
usr.sbin/tcpdump/print-ip.c
343
if (abuf == NULL)
usr.sbin/tcpdump/print-ip.c
346
memmove((char *)abuf, (char *)ip, min(length, clen));
usr.sbin/tcpdump/print-ip.c
347
snapend = abuf + clen;
usr.sbin/tcpdump/print-ip.c
348
packetp = abuf;
usr.sbin/tcpdump/print-ip.c
349
ip = (struct ip *)abuf;
usr.sbin/tcpdump/print-ip6.c
73
static u_char *abuf = NULL;
usr.sbin/tcpdump/print-ip6.c
79
if (abuf == NULL) {
usr.sbin/tcpdump/print-ip6.c
80
abuf = malloc(snaplen);
usr.sbin/tcpdump/print-ip6.c
81
if (abuf == NULL)
usr.sbin/tcpdump/print-ip6.c
84
memmove((char *)abuf, (char *)ip6, min(length, clen));
usr.sbin/tcpdump/print-ip6.c
85
snapend = abuf + clen;
usr.sbin/tcpdump/print-ip6.c
86
packetp = bp = abuf;
usr.sbin/tcpdump/print-ip6.c
87
ip6 = (struct ip6_hdr *)abuf;