Searched refs:wire (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/contrib/ldns/drill/
H A Dwork.c68 packetbuffromfile(char *filename, uint8_t *wire) argument
137 verbose("Not printing wire because it contains non ascii data\n");
155 wire,
159 memcpy(wire, hexbuf, (size_t) hexbufpos);
172 uint8_t *wire; local
177 wire = xmalloc(LDNS_MAX_PACKETLEN);
179 wiresize = packetbuffromfile(filename, wire);
182 ldns_buffer_new_frm_data(result_buffer, wire, wiresize);
184 xfree(wire);
192 uint8_t *wire; local
221 uint8_t *wire = NULL; local
[all...]
/freebsd-13-stable/contrib/ldns/
H A Dwire2host.c4 * conversion routines from the wire to the host
56 ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos) argument
73 label_size = wire[*pos];
87 pointer_target_buf[0] = wire[*pos] & 63;
88 pointer_target_buf[1] = wire[*pos + 1];
99 label_size = wire[*pos];
122 memcpy(&tmp_dname[dname_pos], &wire[*pos], label_size);
128 label_size = wire[*pos];
158 ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos) argument
178 rd_length = ldns_read_uint16(&wire[*po
319 ldns_wire2rr(ldns_rr **rr_p, const uint8_t *wire, size_t max, size_t *pos, ldns_pkt_section section) argument
367 ldns_wire2pkt_hdr(ldns_pkt *packet, const uint8_t *wire, size_t max, size_t *pos) argument
404 ldns_wire2pkt(ldns_pkt **packet_p, const uint8_t *wire, size_t max) argument
[all...]
H A Dnet.c689 uint8_t *wire, *wireout; local
692 wire = LDNS_XMALLOC(uint8_t, LDNS_MAX_PACKETLEN);
693 if (!wire) {
698 wire_size = recvfrom(sockfd, (void*)wire, LDNS_MAX_PACKETLEN, 0,
704 LDNS_FREE(wire);
709 wireout = LDNS_XREALLOC(wire, uint8_t, (size_t)wire_size);
710 if(!wireout) LDNS_FREE(wire);
718 uint8_t *wire; local
722 wire = LDNS_XMALLOC(uint8_t, 2);
723 if (!wire) {
777 uint8_t *wire; local
[all...]
H A Dtsig.c52 * Makes an exact copy of the wire, but with the tsig rr removed
55 ldns_tsig_prepare_pkt_wire(const uint8_t *wire, size_t wire_len, size_t *result_len) argument
72 /* fake parse the wire */
73 qd_count = LDNS_QDCOUNT(wire);
74 an_count = LDNS_ANCOUNT(wire);
75 ns_count = LDNS_NSCOUNT(wire);
76 ar_count = LDNS_ARCOUNT(wire);
87 status = ldns_wire2rr(&rr, wire, wire_len, &pos, LDNS_SECTION_QUESTION);
95 status = ldns_wire2rr(&rr, wire, wire_len, &pos, LDNS_SECTION_ANSWER);
103 status = ldns_wire2rr(&rr, wire, wire_le
288 ldns_pkt_tsig_verify(ldns_pkt *pkt, const uint8_t *wire, size_t wirelen, const char *key_name, const char *key_data, const ldns_rdf *orig_mac_rdf) argument
295 ldns_pkt_tsig_verify_next(ldns_pkt *pkt, const uint8_t *wire, size_t wirelen, const char* key_name, const char *key_data, const ldns_rdf *orig_mac_rdf, int tsig_timers_only) argument
[all...]
/freebsd-13-stable/contrib/ldns/ldns/
H A Dtsig.h42 * The wire must be given too because tsig does not sign normalized packets.
44 * \param[in] wire needed to verify the mac
45 * \param[in] wire_size size of wire
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);
55 * The wire must be given too because tsig does not sign normalized packets.
57 * \param[in] wire needed to verify the mac
58 * \param[in] wire_size size of wire
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,
H A Dwire2host.h2 * wire2host.h - from wire conversion routines
14 * Contains functions that translate dns data from the wire format (as sent
117 * converts the data on the uint8_t bytearray (in wire format) to a DNS packet.
129 * converts the data in the ldns_buffer (in wire format) to a DNS packet.
140 * converts the data on the uint8_t bytearray (in wire format) to a DNS
146 * \param[in] wire pointer to the buffer with the data
152 ldns_status ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos);
155 * converts the data on the uint8_t bytearray (in wire format) to DNS
165 * \param[in] wire pointer to the buffer with the data
171 ldns_status ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_
[all...]
/freebsd-13-stable/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c739 unsigned char wire[DTLS1_HM_HEADER_LENGTH]; local
761 i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, wire,
769 if (wire[0] != SSL3_MT_CCS) {
776 memcpy(s->init_buf->data, wire, readbytes);
793 dtls1_get_message_header(wire, &msg_hdr);
828 && wire[0] == SSL3_MT_HELLO_REQUEST) {
834 if (wire[1] == 0 && wire[2] == 0 && wire[3] == 0) {
837 wire, DTLS1_HM_HEADER_LENGT
[all...]
/freebsd-13-stable/libexec/rc/rc.d/
H A Dserial133 3wire() {
134 # 3-wire serial terminals. These don't supply carrier, so
159 # 3wire u 0
/freebsd-13-stable/sys/ofed/include/rdma/
H A Dopa_port_info.h410 u8 wire; member in struct:opa_port_info::__anon15579
H A Dib_verbs.h780 * @wire: wire domain layout desciptor.
785 struct ib_sig_domain wire; member in struct:ib_sig_attrs
/freebsd-13-stable/sys/arm/ti/
H A Dti_adc.c706 int wire, ai; local
709 wire = wire_configs[i] & 0xf;
711 switch (wire) {
729 device_printf(sc->sc_dev, "Invalid wire config\n");
783 "ti,wire-config", sizeof(*wire_configs),
787 "invalid number of ti,wire-config: %d (should be %d)\n",
/freebsd-13-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c3401 struct ib_sig_domain *wire = &sig_attrs->wire; local
3425 switch (sig_attrs->wire.sig_type) {
3429 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval &&
3430 mem->sig_type == wire->sig_type) {
3433 if (mem->sig.dif.bg_type == wire->sig.dif.bg_type)
3434 basic->wire.copy_byte_mask |= MLX5_CPY_GRD_MASK;
3435 if (mem->sig.dif.app_tag == wire->sig.dif.app_tag)
3436 basic->wire.copy_byte_mask |= MLX5_CPY_APP_MASK;
3437 if (mem->sig.dif.ref_tag == wire
[all...]
/freebsd-13-stable/contrib/unbound/services/
H A Dauthzone.c5423 uint8_t* wire = sldns_buffer_begin(pkt); local
5430 if(!LDNS_QR_WIRE(wire)) {
5435 if(LDNS_TC_WIRE(wire)) {
5441 if(LDNS_ID_WIRE(wire) != xfr->task_transfer->id) {
5446 if(LDNS_RCODE_WIRE(wire) != LDNS_RCODE_NOERROR) {
5448 sldns_wire2str_rcode_buf((int)LDNS_RCODE_WIRE(wire), rcode,
5452 if(LDNS_RCODE_WIRE(wire) == LDNS_RCODE_NOTIMPL ||
5453 LDNS_RCODE_WIRE(wire) == LDNS_RCODE_SERVFAIL ||
5454 LDNS_RCODE_WIRE(wire) == LDNS_RCODE_REFUSED ||
5455 LDNS_RCODE_WIRE(wire)
[all...]
/freebsd-13-stable/sys/dev/mlx5/
H A Dqp.h387 } wire; member in struct:mlx5_bsf::mlx5_bsf_basic
/freebsd-13-stable/usr.sbin/crunch/examples/
H A Dreally-big.conf78 special amd objs vers.amd.o afs_ops.o am_ops.o clock.o util.o xutil.o efs_ops.o mapc.o info_file.o info_hes.o info_ndbm.o info_passwd.o info_nis.o info_union.o map.o srvr_afs.o srvr_nfs.o mntfs.o misc_rpc.o mount_fs.o mtab.o mtab_bsd.o nfs_ops.o nfs_prot_svc.o nfs_start.o nfs_subr.o opts.o pfs_ops.o rpc_fwd.o sched.o sfs_ops.o amq_svc.o amq_subr.o umount_fs.o host_ops.o nfsx_ops.o ufs_ops.o ifs_ops.o amd.o get_args.o restart.o wire.o
/freebsd-13-stable/targets/pseudo/userland/
H A DMakefile.depend426 usr.sbin/amd/wire-test \

Completed in 342 milliseconds