/openbsd-src/lib/libc/asr/ |
H A D | res_send_async.c | 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 50 #define AS_NS_SA(p) ((p)->as_ctx->ac_ns[(p)->as.dns.nsidx - 1]) 57 struct asr_query *as; in res_send_async() local 65 if ((as = _asr_async_new(ac, ASR_SEND)) == NULL) { in res_send_async() 69 as->as_run = res_send_async_run; in res_send_async() 71 as->as_flags |= ASYNC_EXTOBUF; in res_send_async() 72 as->as.dns.obuf = (unsigned char *)buf; in res_send_async() 73 as->as.dns.obuflen = buflen; in res_send_async() 74 as->as.dns.obufsize = buflen; in res_send_async() 83 as->as.dns.reqid = h.id; in res_send_async() [all …]
|
H A D | getnameinfo_async.c | 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 43 struct asr_query *as; in getnameinfo_async() local 46 if ((as = _asr_async_new(ac, ASR_GETNAMEINFO)) == NULL) in getnameinfo_async() 48 as->as_run = getnameinfo_async_run; in getnameinfo_async() 51 memmove(&as->as.ni.sa.sa, sa, sizeof (as->as.ni.sa.sain)); in getnameinfo_async() 53 memmove(&as->as.ni.sa.sa, sa, sizeof (as->as.ni.sa.sain6)); in getnameinfo_async() 55 as->as.ni.sa.sa.sa_len = slen; in getnameinfo_async() 56 as->as.ni.hostname = host; in getnameinfo_async() 57 as->as.ni.hostnamelen = hostlen; in getnameinfo_async() 58 as->as.ni.servname = serv; in getnameinfo_async() [all …]
|
H A D | getaddrinfo_async.c | 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 78 struct asr_query *as; in getaddrinfo_async() local 84 if ((as = _asr_async_new(ac, ASR_GETADDRINFO)) == NULL) in getaddrinfo_async() 86 as->as_run = getaddrinfo_async_run; in getaddrinfo_async() 89 if ((as->as.ai.hostname = strdup(hostname)) == NULL) in getaddrinfo_async() 92 if (servname && (as->as.ai.servname = strdup(servname)) == NULL) in getaddrinfo_async() 95 memmove(&as->as in getaddrinfo_async() 113 getaddrinfo_async_run(struct asr_query * as,struct asr_result * ar) getaddrinfo_async_run() argument 520 iter_family(struct asr_query * as,int first) iter_family() argument 543 addrinfo_add(struct asr_query * as,const struct sockaddr * sa,const char * cname) addrinfo_add() argument 605 addrinfo_from_file(struct asr_query * as,int family,FILE * f) addrinfo_from_file() argument 642 addrinfo_from_pkt(struct asr_query * as,char * pkt,size_t pktlen) addrinfo_from_pkt() argument 697 addrconfig_setup(struct asr_query * as) addrconfig_setup() argument [all...] |
H A D | res_search_async.c | 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 44 struct asr_query *as; in res_search_async() local 49 as = _res_search_async_ctx(name, class, type, ac); in res_search_async() 52 return (as); in res_search_async() 59 struct asr_query *as; in _res_search_async_ctx() local 64 if ((as = _asr_async_new(ac, ASR_SEARCH)) == NULL) in _res_search_async_ctx() 66 as->as_run = res_search_async_run; in _res_search_async_ctx() 67 if ((as->as.search.name = strdup(name)) == NULL) in _res_search_async_ctx() 70 as->as.search.class = class; in _res_search_async_ctx() 71 as->as.search.type = type; in _res_search_async_ctx() [all …]
|
H A D | gethostnamadr_async.c | 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 76 struct asr_query *as; in gethostbyname2_async() local 85 if ((as = _asr_async_new(ac, ASR_GETHOSTBYNAME)) == NULL) in gethostbyname2_async() 87 as->as_run = gethostnamadr_async_run; in gethostbyname2_async() 89 as->as.hostnamadr.family = af; in gethostbyname2_async() 91 as->as.hostnamadr.addrlen = INADDRSZ; in gethostbyname2_async() 93 as->as in gethostbyname2_async() 113 struct asr_query *as; gethostbyaddr_async() local 127 struct asr_query *as; _gethostbyaddr_async_ctx() local 147 gethostnamadr_async_run(struct asr_query * as,struct asr_result * ar) gethostnamadr_async_run() argument [all...] |
/openbsd-src/lib/libc/gen/ |
H A D | auth_subr.c | 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 38 * THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN, INC. ``AS IS'' AND 150 void auth_setstate(auth_session_t *as, int s){ as->state = s; } in auth_setstate() argument 151 void auth_set_va_list(auth_session_t *as, va_list ap) { va_copy(as->ap, ap); } in auth_set_va_list() argument 152 int auth_getstate(auth_session_t *as) { return (as->state); } in auth_getstate() argument 153 struct passwd *auth_getpwd(auth_session_t *as) { return (as->pwd); } in auth_getpwd() argument 166 auth_session_t *as; in auth_open() local 168 if ((as = calloc(1, sizeof(auth_session_t))) != NULL) { in auth_open() 169 as->service = defservice; in auth_open() 170 as->fd = -1; in auth_open() [all …]
|
H A D | authenticate.c | 22 * THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN, INC. ``AS IS'' AND 188 auth_approval(auth_session_t *as, login_cap_t *lc, char *name, char *type) in auth_approval() argument 195 close_on_exit = as == NULL; in auth_approval() 198 if (as != NULL && name == NULL) in auth_approval() 199 name = auth_getitem(as, AUTHV_NAME); in auth_approval() 201 if (as != NULL) in auth_approval() 202 pwd = auth_getpwd(as); in auth_approval() 274 if (as == NULL && (as = auth_open()) == NULL) { in auth_approval() 283 auth_setstate(as, AUTH_OKAY); in auth_approval() 284 if (auth_setitem(as, AUTHV_NAME, name) < 0) { in auth_approval() [all …]
|
/openbsd-src/lib/libkeynote/ |
H A D | parse_assertion.c | 15 * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR 39 rec_evaluate_query(struct assertion *as) in rec_evaluate_query() argument 45 as->as_kresult = KRESULT_IN_PROGRESS; in rec_evaluate_query() 51 keynote_evaluate_assertion(as); in rec_evaluate_query() 54 as->as_kresult = KRESULT_DONE; in rec_evaluate_query() 56 as->as_error = keynote_errno; in rec_evaluate_query() 66 if (as->as_result == 0) in rec_evaluate_query() 68 as->as_kresult = KRESULT_DONE; in rec_evaluate_query() 69 return as->as_result; in rec_evaluate_query() 72 for (kl = as->as_keylist; in rec_evaluate_query() [all …]
|
/openbsd-src/regress/usr.sbin/bgpd/unittests/ |
H A D | rde_trie_test.5.check | 1 2a01:c00::/24 source-as 6805 2 2a01:c00::/24 source-as 42 3 2a01:c00::/26 source-as 6805 4 2a01:c00::/26 source-as 42 5 2a01:c00::/28 source-as 6805 6 2a01:c00::/28 source-as 42 7 2a01:c50::/28 source-as 12479 8 2a01:c500::/31 source-as 12479 9 2a01:c500::/32 source-as 12479 10 2a01:c500::/42 source-as 12479 [all …]
|
H A D | rde_trie_test.5.out | 1 2a01:c00::/24 source-as 6805 is not found 2 2a01:c00::/24 source-as 42 is not found 3 2a01:c00::/26 source-as 6805 is VALID 4 2a01:c00::/26 source-as 42 is invalid 5 2a01:c00::/28 source-as 6805 is invalid 6 2a01:c00::/28 source-as 42 is invalid 7 2a01:c50::/28 source-as 12479 is not found 8 2a01:c500::/31 source-as 12479 is VALID 9 2a01:c500::/32 source-as 12479 is VALID 10 2a01:c500::/42 source-as 12479 is VALID [all …]
|
H A D | rde_trie_test.5.in | 1 prefix 2a01:c00::/26 source-as 6805 2 prefix 2a01:c500::/28 source-as 12479 maxlen 46 3 prefix 2a01:c500::/31 source-as 12479 maxlen 42 4 prefix 2a01:c910::/29 source-as 3215 maxlen 48 5 prefix 2a01:ce80::/26 source-as 51964 maxlen 48 6 prefix 2a01:cf00::/40 source-as 20603 maxlen 48 7 prefix 2a01:cf00::/42 source-as 2278 maxlen 48 8 prefix 2a01:cf00:f::/48 source-as 2278 9 prefix 2a01:e00::/26 source-as 12322 maxlen 32 10 prefix 2a01:e00::/32 source-as 12322 [all …]
|
/openbsd-src/regress/usr.sbin/bgpd/config/ |
H A D | bgpd.conf.13.ok | 1 AS 1 12 remote-as 7 13 enforce neighbor-as yes 14 enforce local-as yes 19 remote-as 5 20 enforce neighbor-as yes 21 enforce local-as yes 26 remote-as 5 27 enforce neighbor-as yes 28 enforce local-as yes [all …]
|
H A D | bgpd.conf.4.ok | 1 AS 1 12 remote-as 64496 13 enforce neighbor-as yes 14 enforce local-as yes 19 remote-as 64496 20 enforce neighbor-as yes 21 enforce local-as yes 27 remote-as 64496 28 enforce neighbor-as yes 29 enforce local-as yes [all …]
|
H A D | bgpd.conf.14.in | 4 AS 1 7 192.0.2.0/24 source-as 1 11 192.0.2.0/24 source-as 1 15 aspa-set { customer-as 17 provider-as { 12 } } 17 customer-as 1 provider-as { 2 } 18 customer-as 1 provider-as { 3 } 19 customer-as 1 provider-as { 4 5 6 } 23 customer-as 41 provider-as { 2 } 24 customer-as 42 expires 12345 provider-as { 3 } 25 customer-as 42 expires 10000 provider-as { 4 } [all …]
|
H A D | bgpd.conf.9.in | 4 AS 1 7 roa-set { 1.2.3/24 source-as 0 } 9 10/8 source-as 1 10 10/8 source-as 2 11 10/8 source-as 3 12 10/8 source-as 4 13 10/8 maxlen 24 source-as 3 14 10/8 maxlen 24 source-as 4 15 10/8 maxlen 24 source-as 5 21 origin-set one1 { 1.2.3/24 source-as 0 } [all …]
|
H A D | bgpd.conf.9.ok | 1 AS 1 8 1.2.3.0/24 source-as 0 9 10.0.0.0/8 source-as 1 10 10.0.0.0/8 source-as 2 11 10.0.0.0/8 source-as 3 12 10.0.0.0/8 maxlen 24 source-as 3 13 10.0.0.0/8 source-as 4 14 10.0.0.0/8 maxlen 24 source-as 4 15 10.0.0.0/8 maxlen 24 source-as 5 22 1.2.3.0/24 source-as 0 [all …]
|
H A D | bgpd.conf.10.in | 4 AS 64512 8 match from any community local-as:5678 9 match from any community neighbor-as:5678 11 match from any community 1234:local-as 12 match from any community 1234:neighbor-as 28 match from any large-community local-as:5678:90 29 match from any large-community neighbor-as:5678:90 30 match from any large-community 1234:local-as:90 31 match from any large-community 1234:neighbor-as:90 32 match from any large-community 1234:5678:local-as [all …]
|
H A D | bgpd.conf.10.ok | 1 AS 64512 12 match from any community local-as:5678 13 match from any community neighbor-as:5678 15 match from any community 1234:local-as 16 match from any community 1234:neighbor-as 28 match from any large-community local-as:5678:90 29 match from any large-community neighbor-as:5678:90 30 match from any large-community 1234:local-as:90 31 match from any large-community 1234:neighbor-as:90 32 match from any large-community 1234:5678:local-as [all …]
|
/openbsd-src/usr.sbin/bgpd/ |
H A D | bgpd.conf.5 | 11 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 28 daemon implements the Border Gateway Protocol version 4 as described 53 The neighbor definition and properties are set in this section, as well as 87 .Ic AS , 97 remote-as 65001 103 daemon as a whole. 106 .It Ic AS Ar as-number Op Ar as [all...] |
/openbsd-src/share/tmac/mdoc/ |
H A D | doc-common | 18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 170 . if "\\$3"alpha" .as vT \ (Alpha) 171 . if "\\$3"amd64" .as vT \ (AMD64) 172 . if "\\$3"amiga" .as vT \ (Amiga) 173 . if "\\$3"arc" .as vT \ (ARC) 174 . if "\\$3"armish" .as vT \ (ARMISH) 175 . if "\\$3"aviion" .as vT \ (AViiON) 176 . if "\\$3"hp300" .as vT \ (HP300) 177 . if "\\$3"hppa" .as vT \ (HPPA) 178 . if "\\$3"hppa64" .as vT \ (HPPA64) [all …]
|
H A D | doc-syms | 18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 77 . as b1 \&\\*(A\\n(aP\&\\*(tNBSD\\*(aa 83 . as b1 \&\-\\*(A\\n(jj 87 . as b1 \&\-Reno 91 . as b1 \&\-\\*(A\\n(jj 95 . as b1 \&\-Tahoe 112 . as b1 \&\\*(tNBSD\\*(aa 133 . if "\\*(A\\n(aP"0.8" .as b1 \&NetBSD\ 0.8\\*(aa 134 . if "\\*(A\\n(aP"0.8a" .as b1 \&NetBSD\ 0.8A\\*(aa 135 . if "\\*(A\\n(aP"0.9" .as b1 \&NetBSD\ 0.9\\*(aa [all …]
|
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
H A D | xtensa-relax.c | 7 it under the terms of the GNU General Public License as published by 24 preconditions for the match as well as an expansion if the pattern 71 {"movi.n %as,%imm", "movi %as,%imm"} would convert the narrow 75 {"beqz %as,%label", "bnez %as,%LABEL0;j %label;LABEL0"} 87 when the first and second operands are not the same as specified 88 by the "| %at!=%as" precondition clause. 89 {"l32i %at,%as,%imm | %at!=%as", 90 "LITERAL0 %imm; l32r %at,%LITERAL0; add %at,%at,%as; l32i %at,%at,0"} 98 #include "as.h" 244 instruction replacement. As an example, here are the transitions [all …]
|
/openbsd-src/usr.sbin/rpki-client/ |
H A D | as.c | 1 /* $OpenBSD: as.c,v 1.17 2024/11/12 09:23:07 tb Exp $ */ 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 26 /* Parse a uint32_t AS identifier from an ASN1_INTEGER. */ 41 * Given a newly-parsed AS number or range "as", make sure that "as" does 47 as_check_overlap(const struct cert_as *as, const char *fn, in as_check_overlap() 55 (as->type == CERT_AS_INHERIT || ases[0].type == CERT_AS_INHERIT)) { in as_check_overlap() 69 switch (as->type) { in as_check_overlap() 71 if (as in as_check_overlap() 48 as_check_overlap(const struct cert_as * a,const char * fn,const struct cert_as * as,size_t asz,int quiet) as_check_overlap() argument 120 as_check_covered(uint32_t min,uint32_t max,const struct cert_as * as,size_t asz) as_check_covered() argument 140 as_warn(const char * fn,const char * msg,const struct cert_as * as) as_warn() argument [all...] |
/openbsd-src/sys/dev/ic/ |
H A D | ac97.c | 19 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS 48 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 332 int ac97_add_port(struct ac97_softc *as, struct ac97_source_info *src); 598 ac97_read(struct ac97_softc *as, u_int8_t reg, u_int16_t *val) in ac97_read() argument 602 if (((as->host_flags & AC97_HOST_DONT_READ) && in ac97_read() 605 (as->host_flags & AC97_HOST_DONT_READANY)) { in ac97_read() 606 *val = as->shadow_reg[reg >> 1]; in ac97_read() 610 if ((error = as->host_if->read(as->host_if->arg, reg, val))) in ac97_read() 611 *val = as->shadow_reg[reg >> 1]; in ac97_read() 616 ac97_write(struct ac97_softc *as, u_int8_t reg, u_int16_t val) in ac97_write() argument [all …]
|
/openbsd-src/gnu/usr.bin/perl/t/lib/croak/ |
H A D | gv | 3 # NAME $# is no longer supported as of Perl 5.30 [RT #133583] 6 $# is no longer supported as of Perl 5.30 at - line 1. 8 # NAME $* is no longer supported as of Perl 5.30 [RT #133583] 11 $* is no longer supported as of Perl 5.30 at - line 1. 13 # NAME $# is no longer supported as of Perl 5.30 [RT #133583] 16 $# is no longer supported as of Perl 5.30 at - line 1. 18 # NAME $* is no longer supported as of Perl 5.30 [RT #133583] 21 $* is no longer supported as of Perl 5.30 at - line 1. 23 # NAME $# is no longer supported as of Perl 5.30 [RT #133583] 26 $# is no longer supported as of Perl 5.30 at - line 1. [all …]
|