Searched refs:tctx (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c201 struct tcp_ctx *tctx; local
209 tctx = malloc(sizeof(*tctx));
210 if (tctx == NULL)
214 error = tcp_addr(addr, atoi(proto_get("tcp:port")), &tctx->tc_sa);
216 free(tctx);
220 PJDLOG_ASSERT(tctx->tc_sa.ss_family != AF_UNSPEC);
222 tctx->tc_fd = socket(tctx->tc_sa.ss_family, SOCK_STREAM, 0);
223 if (tctx
267 struct tcp_ctx *tctx; local
343 struct tcp_ctx *tctx = ctx; local
410 struct tcp_ctx *tctx; local
444 struct tcp_ctx *tctx = ctx; local
479 struct tcp_ctx *tctx; local
501 struct tcp_ctx *tctx = ctx; local
517 struct tcp_ctx *tctx = ctx; local
533 const struct tcp_ctx *tctx = ctx; local
544 const struct tcp_ctx *tctx = ctx; local
643 const struct tcp_ctx *tctx = ctx; local
667 const struct tcp_ctx *tctx = ctx; local
691 struct tcp_ctx *tctx = ctx; local
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dproto_tcp.c194 struct tcp_ctx *tctx; local
202 tctx = malloc(sizeof(*tctx));
203 if (tctx == NULL)
207 if ((ret = tcp_addr(addr, PROTO_TCP_DEFAULT_PORT, &tctx->tc_sa)) != 0) {
208 free(tctx);
212 PJDLOG_ASSERT(tctx->tc_sa.ss_family != AF_UNSPEC);
214 tctx->tc_fd = socket(tctx->tc_sa.ss_family, SOCK_STREAM, 0);
215 if (tctx
240 struct tcp_ctx *tctx; local
263 struct tcp_ctx *tctx; local
289 struct tcp_ctx *tctx = ctx; local
344 struct tcp_ctx *tctx = ctx; local
409 struct tcp_ctx *tctx; local
443 struct tcp_ctx *tctx = ctx; local
485 struct tcp_ctx *tctx = ctx; local
498 struct tcp_ctx *tctx = ctx; local
511 const struct tcp_ctx *tctx = ctx; local
522 const struct tcp_ctx *tctx = ctx; local
568 const struct tcp_ctx *tctx = ctx; local
586 const struct tcp_ctx *tctx = ctx; local
604 struct tcp_ctx *tctx = ctx; local
[all...]
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dtkeyconf.c58 dns_tkeyctx_t *tctx = NULL; local
67 result = dns_tkeyctx_create(mctx, ectx, &tctx);
83 type, NULL, mctx, &tctx->dhkey));
95 tctx->domain = isc_mem_get(mctx, sizeof(dns_name_t));
96 if (tctx->domain == NULL) {
100 dns_name_init(tctx->domain, NULL);
101 RETERR(dns_name_dup(name, mctx, tctx->domain));
114 RETERR(dst_gssapi_acquirecred(name, ISC_FALSE, &tctx->gsscred));
121 tctx->gssapi_keytab = isc_mem_strdup(mctx, s);
122 if (tctx
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dsignature.c64 MD5_CTX tctx; local
66 MD5_Init(&tctx);
67 MD5_Update(&tctx, key, key_len);
68 MD5_Final(tk, &tctx);
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/generic/
H A Dkey_25.c118 if ((tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0 &&
128 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
130 RETERR(str_totext(tctx->linebreak, target));
131 if (tctx->width == 0) /* No splitting */
134 RETERR(isc_base64_totext(&sr, tctx->width - 2,
135 tctx->linebreak, target));
137 if ((tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0)
138 RETERR(str_totext(tctx->linebreak, target));
139 else if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
142 if ((tctx
[all...]
H A Ddnskey_48.c126 if ((tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0 &&
138 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
140 RETERR(str_totext(tctx->linebreak, target));
141 if (tctx->width == 0) /* No splitting */
144 RETERR(isc_base64_totext(&sr, tctx->width - 2,
145 tctx->linebreak, target));
147 if ((tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0)
148 RETERR(str_totext(tctx->linebreak, target));
149 else if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
152 if ((tctx
[all...]
H A Dtkey_249.c146 sub = name_prefix(&name, tctx->origin, &prefix);
201 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
203 RETERR(str_totext(tctx->linebreak, target));
204 if (tctx->width == 0) /* No splitting */
207 RETERR(isc_base64_totext(&dr, tctx->width - 2,
208 tctx->linebreak, target));
209 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
230 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
232 RETERR(str_totext(tctx->linebreak, target));
233 if (tctx
[all...]
H A Dcert_37.c80 UNUSED(tctx);
109 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
111 RETERR(str_totext(tctx->linebreak, target));
112 if (tctx->width == 0) /* No splitting */
115 RETERR(isc_base64_totext(&sr, tctx->width - 2,
116 tctx->linebreak, target));
117 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Dsshfp_44.c72 UNUSED(tctx);
95 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
97 RETERR(str_totext(tctx->linebreak, target));
98 if (tctx->width == 0) /* No splitting */
101 RETERR(isc_hex_totext(&sr, tctx->width - 2,
102 tctx->linebreak, target));
103 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Dtlsa_52.c80 UNUSED(tctx);
111 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
113 RETERR(str_totext(tctx->linebreak, target));
114 if (tctx->width == 0) /* No splitting */
117 RETERR(isc_hex_totext(&sr, tctx->width - 2,
118 tctx->linebreak, target));
119 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Dkeydata_65533.c106 if ((tctx->flags & DNS_STYLEFLAG_KEYDATA) == 0 || rdata->length < 16)
107 return (unknown_totext(rdata, tctx, target));
160 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
162 RETERR(str_totext(tctx->linebreak, target));
163 if (tctx->width == 0) /* No splitting */
166 RETERR(isc_base64_totext(&sr, tctx->width - 2,
167 tctx->linebreak, target));
169 if ((tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0)
170 RETERR(str_totext(tctx->linebreak, target));
171 else if ((tctx
[all...]
H A Dopt_41.c74 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
76 RETERR(str_totext(tctx->linebreak, target));
79 if (tctx->width == 0) /* No splitting */
82 RETERR(isc_base64_totext(&or, tctx->width - 2,
83 tctx->linebreak,
86 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Ddlv_32769.c106 UNUSED(tctx);
137 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
139 RETERR(str_totext(tctx->linebreak, target));
140 if (tctx->width == 0) /* No splitting */
143 RETERR(isc_hex_totext(&sr, tctx->width - 2,
144 tctx->linebreak, target));
145 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Dds_43.c106 UNUSED(tctx);
137 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
139 RETERR(str_totext(tctx->linebreak, target));
140 if (tctx->width == 0) /* No splitting */
143 RETERR(isc_hex_totext(&sr, tctx->width - 2,
144 tctx->linebreak, target));
145 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Dsig_24.c195 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
197 RETERR(str_totext(tctx->linebreak, target));
223 sub = name_prefix(&name, tctx->origin, &prefix);
229 RETERR(str_totext(tctx->linebreak, target));
230 if (tctx->width == 0) /* No splitting */
233 RETERR(isc_base64_totext(&sr, tctx->width - 2,
234 tctx->linebreak, target));
235 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Dsoa_6.c103 multiline = ISC_TF((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0);
105 comment = ISC_TF((tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0);
122 sub = name_prefix(&mname, tctx->origin, &prefix);
127 sub = name_prefix(&rname, tctx->origin, &prefix);
132 RETERR(str_totext(tctx->linebreak, target));
149 RETERR(str_totext(tctx->linebreak, target));
151 RETERR(str_totext(tctx->linebreak, target));
H A Dipseckey_45.c135 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
192 RETERR(str_totext(tctx->linebreak, target));
193 if (tctx->width == 0) /* No splitting */
196 RETERR(isc_base64_totext(&region, tctx->width - 2,
197 tctx->linebreak, target));
200 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
H A Drrsig_46.c211 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
213 RETERR(str_totext(tctx->linebreak, target));
251 RETERR(str_totext(tctx->linebreak, target));
252 if (tctx->width == 0) /* No splitting */
255 RETERR(isc_base64_totext(&sr, tctx->width - 2,
256 tctx->linebreak, target));
257 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dtkey.c88 dns_tkeyctx_t *tctx; local
94 tctx = isc_mem_get(mctx, sizeof(dns_tkeyctx_t));
95 if (tctx == NULL)
97 tctx->mctx = NULL;
98 isc_mem_attach(mctx, &tctx->mctx);
99 tctx->ectx = NULL;
100 isc_entropy_attach(ectx, &tctx->ectx);
101 tctx->dhkey = NULL;
102 tctx->domain = NULL;
103 tctx
113 dns_tkeyctx_t *tctx; local
270 process_dhtkey(dns_message_t *msg, dns_name_t *signer, dns_name_t *name, dns_rdata_tkey_t *tkeyin, dns_tkeyctx_t *tctx, dns_rdata_tkey_t *tkeyout, dns_tsig_keyring_t *ring, dns_namelist_t *namelist) argument
428 process_gsstkey(dns_name_t *name, dns_rdata_tkey_t *tkeyin, dns_tkeyctx_t *tctx, dns_rdata_tkey_t *tkeyout, dns_tsig_keyring_t *ring) argument
611 dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx, dns_tsig_keyring_t *ring) argument
[all...]
H A Drdata.c76 #define ARGS_TOTEXT dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, \
206 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
221 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
795 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, argument
815 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
823 if (tctx->width == 0) /* No splitting */
826 result = isc_hex_totext(&sr, tctx->width - 2,
827 tctx->linebreak,
830 (tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
837 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, argument
866 dns_rdata_textctx_t tctx; local
886 dns_rdata_textctx_t tctx; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/in_1/
H A Ddhcid_49.c53 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
55 if (tctx->width == 0) /* No splitting */
58 RETERR(isc_base64_totext(&sr, tctx->width - 2,
59 tctx->linebreak, target));
60 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) {
/freebsd-9.3-release/sys/nfs/
H A Dbootp_subr.c237 static unsigned char *bootpc_tag(struct bootpc_tagcontext *tctx,
239 static void bootpc_tag_helper(struct bootpc_tagcontext *tctx,
1377 bootpc_tag_helper(struct bootpc_tagcontext *tctx, argument
1384 if (tctx->badtag != 0 || tctx->badopt != 0)
1397 tctx->badopt = 1;
1402 if (tctx->taglen + len > TAG_MAXLEN) {
1403 tctx->badtag = 1;
1406 tctx->foundopt = 1;
1408 memcpy(tctx
1420 bootpc_tag(struct bootpc_tagcontext *tctx, struct bootp_packet *bp, int len, int tag) argument
[all...]
/freebsd-9.3-release/lib/bind/dns/
H A Dcode.h224 case 1: result = totext_in_a(rdata, tctx, target); break; \
225 case 3: result = totext_ch_a(rdata, tctx, target); break; \
226 case 4: result = totext_hs_a(rdata, tctx, target); break; \
230 case 2: result = totext_ns(rdata, tctx, target); break; \
231 case 3: result = totext_md(rdata, tctx, target); break; \
232 case 4: result = totext_mf(rdata, tctx, target); break; \
233 case 5: result = totext_cname(rdata, tctx, target); break; \
234 case 6: result = totext_soa(rdata, tctx, target); break; \
235 case 7: result = totext_mb(rdata, tctx, target); break; \
236 case 8: result = totext_mg(rdata, tctx, targe
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/any_255/
H A Dtsig_250.c155 sub = name_prefix(&name, tctx->origin, &prefix);
202 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
204 RETERR(str_totext(tctx->linebreak, target));
205 if (tctx->width == 0) /* No splitting */
208 RETERR(isc_base64_totext(&sigr, tctx->width - 2,
209 tctx->linebreak, target));
210 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
242 if (tctx->width == 0) /* No splitting */
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dtkey.h58 *\li 'tctx' is not NULL
59 *\li '*tctx' is NULL
73 *\li 'tctx' is not NULL
74 *\li '*tctx' is not NULL
78 dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx,
86 *\li 'tctx' is a valid TKEY context

Completed in 257 milliseconds

1234