Home
last modified time | relevance | path

Searched refs:ebuf (Results 1 – 25 of 96) sorted by relevance

1234

/netbsd/src/external/bsd/libpcap/dist/
Dpcap-dlpi.c894 split_dname(char *device, u_int *unitp, char *ebuf) argument
905 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s missing unit number",
917 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s bad unit number", device);
921 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number too large",
926 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number is negative",
935 dl_doattach(int fd, int ppa, char *ebuf) argument
943 if (send_request(fd, (char *)&req, sizeof(req), "attach", ebuf) < 0)
946 err = dlokack(fd, "attach", (char *)buf, ebuf, NULL);
954 dl_dohpuxbind(int fd, char *ebuf) argument
969 if (dlbindreq(fd, hpsap, ebuf) < 0)
[all …]
Dpcap-dpdk.c595 static int dpdk_pre_init(char * ebuf, int eaccess_not_fatal) in dpdk_pre_init() argument
652 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
662 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
679 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
687 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
694 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
700 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
726 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
733 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init()
743 dpdk_fmt_errmsg_for_rte_errno(ebuf, in dpdk_pre_init()
[all …]
Dpcap-dos.c114 static int first_init (const char *name, char *ebuf, int promisc);
155 pcap_t *pcap_create_interface (const char *device _U_, char *ebuf) in pcap_create_interface() argument
159 p = PCAP_CREATE_COMMON(ebuf, struct pcap_dos); in pcap_create_interface()
508 char *pcap_lookupdev (char *ebuf) in pcap_lookupdev() argument
528 if (ebuf) in pcap_lookupdev()
529 strcpy (ebuf, "No driver found"); in pcap_lookupdev()
671 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument
688 snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to detect device `%s'", dev_name); in open_driver()
710 snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to activate device `%s'", dev_name); in open_driver()
713 strcat (ebuf, ": "); in open_driver()
[all …]
/netbsd/src/external/bsd/openldap/dist/servers/slapd/
Dmodule.c60 static char ebuf[BUFSIZ]; variable
68 strcpy( ebuf, error ); in module_init()
69 __etoa( ebuf ); in module_init()
70 error = ebuf; in module_init()
90 strcpy( ebuf, error ); in module_kill()
91 __etoa( ebuf ); in module_kill()
92 error = ebuf; in module_kill()
132 #define file ebuf in module_load()
190 strcpy( ebuf, error ); in module_load()
191 __etoa( ebuf ); in module_load()
[all …]
Dproxyp.c83 char ebuf[128]; in proxyp() local
88 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in proxyp()
139 char ebuf[128]; in proxyp() local
144 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in proxyp()
215 char ebuf[128]; in proxyp() local
220 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in proxyp()
Dslaptest.c54 char ebuf[128]; in test_file() local
79 … save_errno, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in test_file()
91 save_errno, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in test_file()
/netbsd/src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
Dnssov.c304 char ebuf[128]; in handleconnection() local
307 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in handleconnection()
331 char ebuf[128]; in handleconnection() local
334 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in handleconnection()
415 char ebuf[128]; in acceptconn() local
420 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
424 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
430 char ebuf[128]; in acceptconn() local
433 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
437 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
[all …]
/netbsd/src/lib/libc/stdlib/
Dstrsuftoll.c138 long long min, long long max, char *ebuf, size_t ebuflen, size_t depth) in __strsuftollx() argument
145 _DIAGASSERT(ebuf != NULL); in __strsuftollx()
148 snprintf(ebuf, ebuflen, "%s: Recursion limit exceeded", desc); in __strsuftollx()
214 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, in __strsuftollx()
216 if (*ebuf != '\0') in __strsuftollx()
221 snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno)); in __strsuftollx()
227 snprintf(ebuf, ebuflen, "%s `%s': illegal number", desc, val); in __strsuftollx()
232 snprintf(ebuf, ebuflen, "%s %lld is less than %lld.", in __strsuftollx()
238 snprintf(ebuf, ebuflen, "%s %lld is greater than %lld.", in __strsuftollx()
242 *ebuf = '\0'; in __strsuftollx()
[all …]
/netbsd/src/usr.sbin/kvm_mkdb/
Dnlist_aout.c110 struct exec ebuf; in create_knlist_aout() local
125 nr = read(fd, &ebuf, sizeof(struct exec)); in create_knlist_aout()
132 if (N_BADMAG(ebuf)) { in create_knlist_aout()
143 if (!ebuf.a_syms) in create_knlist_aout()
147 if (lseek(fd, N_STROFF(ebuf), SEEK_SET) == -1) in create_knlist_aout()
169 if (fseek(fp, N_SYMOFF(ebuf), SEEK_SET) == -1) { in create_knlist_aout()
180 nsyms = ebuf.a_syms / sizeof(struct nlist); in create_knlist_aout()
206 voff = nbuf.n_value - kerntextoff + N_TXTADDR(ebuf); in create_knlist_aout()
208 voff += N_TXTOFF(ebuf) - N_TXTADDR(ebuf); in create_knlist_aout()
210 voff += N_DATOFF(ebuf) - N_DATADDR(ebuf); in create_knlist_aout()
/netbsd/src/external/bsd/file/dist/src/
Dbuffer.c57 b->ebuf = NULL; in buffer_init()
64 free(b->ebuf); in buffer_fini()
65 b->ebuf = NULL; in buffer_fini()
83 free(b->ebuf); in buffer_fill()
84 b->ebuf = NULL; in buffer_fill()
87 if ((b->ebuf = malloc(b->elen)) == NULL) in buffer_fill()
91 if (pread(b->fd, b->ebuf, b->elen, b->eoff) == -1) { in buffer_fill()
92 free(b->ebuf); in buffer_fill()
93 b->ebuf = NULL; in buffer_fill()
/netbsd/src/sys/net80211/
Dieee80211_input.c387 IEEE80211_DEBUGVAR(char ebuf[3 * ETHER_ADDR_LEN]); in ieee80211_input_management()
418 ether_snprintf(ebuf, sizeof(ebuf), wh->i_addr2), in ieee80211_input_management()
518 IEEE80211_DEBUGVAR(char ebuf[3 * ETHER_ADDR_LEN]); in ieee80211_input()
577 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_input()
628 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_input()
1068 IEEE80211_DEBUGVAR(char ebuf[3 * ETHER_ADDR_LEN]); in ieee80211_setup_rates()
1073 ether_snprintf(ebuf, sizeof(ebuf), ni->ni_macaddr), in ieee80211_setup_rates()
1090 IEEE80211_DEBUGVAR(char ebuf[3 * ETHER_ADDR_LEN]); in ieee80211_auth_open()
1145 ether_snprintf(ebuf, sizeof(ebuf), ni->ni_macaddr)); in ieee80211_auth_open()
1166 ether_snprintf(ebuf, sizeof(ebuf), ni->ni_macaddr), in ieee80211_auth_open()
[all …]
/netbsd/src/external/bsd/tcpdump/dist/
Dtcpdump.c514 char ebuf[PCAP_ERRBUF_SIZE]; in show_devices_and_exit() local
517 if (pcap_findalldevs(&devlist, ebuf) < 0) in show_devices_and_exit()
518 error("%s", ebuf); in show_devices_and_exit()
579 char ebuf[PCAP_ERRBUF_SIZE]; in show_remote_devices_and_exit() local
583 ebuf) < 0) in show_remote_devices_and_exit()
584 error("%s", ebuf); in show_remote_devices_and_exit()
1202 char ebuf[PCAP_ERRBUF_SIZE]; in find_interface_by_number() local
1243 status = pcap_findalldevs_ex(host_url, NULL, &devlist, ebuf); in find_interface_by_number()
1247 status = pcap_findalldevs(&devlist, ebuf); in find_interface_by_number()
1249 error("%s", ebuf); in find_interface_by_number()
[all …]
/netbsd/src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/
Dnslcd-prot.h91 char ebuf[128]; \
94 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
168 char ebuf[128]; \
171 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
310 char ebuf[128]; \
313 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
362 char ebuf[128]; \
365 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dafalgtest.c32 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() local
62 OPENSSL_cleanse(ebuf, sizeof(ebuf)); in test_afalg_aes_cbc()
86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
87 || !TEST_true(EVP_CipherFinal_ex(ctx, ebuf + encl, &encf))) in test_afalg_aes_cbc()
91 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc()
96 || !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)) in test_afalg_aes_cbc()
/netbsd/src/sys/arch/mvme68k/stand/sboot/
Dsboot.c40 char buf[128], *ebuf; in sboot() local
55 ebuf = ngets(buf, sizeof(buf)); in sboot()
56 do_cmd(buf, ebuf); in sboot()
77 do_cmd(char *buf, char *ebuf) in do_cmd() argument
124 go(LOAD_ADDR, buf+1, ebuf); in do_cmd()
/netbsd/src/external/bsd/ntp/dist/libntp/
Dbsd_strerror.c41 static char ebuf[20]; in strerror() local
45 snprintf(ebuf, sizeof(ebuf), "Unknown error: %d", errnum); in strerror()
47 return ebuf; in strerror()
/netbsd/src/sys/lib/libsa/
Dstrerror.c63 static char ebuf[36]; in strerror() local
70 snprintf(ebuf, sizeof ebuf, "Unknown error: code %d", err); in strerror()
71 return ebuf; in strerror()
/netbsd/src/external/bsd/ipf/dist/FWTK/
Dfwtkp156 char ebuf[512];
158 strcpy(ebuf,buf);
159 ! sprintf(buf,"521 %s: %s",dest,ebuf);
164 char ebuf[512];
166 strcpy(ebuf,buf);
168 ! sprintf(buf,"521 %s,%d: %s",dest,ntohs(port),ebuf);
170 ! sprintf(buf,"521 %s: %s",dest,ebuf);
241 + char ebuf[512];
243 + strcpy(ebuf,buf);
244 + sprintf(buf,"521 %s: %s",dest,ebuf);
[all …]
Dftp-gw.diff138 char ebuf[512];
140 strcpy(ebuf,buf);
141 ! sprintf(buf,"521 %s: %s",dest,ebuf);
148 char ebuf[512];
150 strcpy(ebuf,buf);
151 ! sprintf(buf,"521 %s,%d: %s",dest,ntohs(port),ebuf);
/netbsd/src/lib/libc/gen/
Dassert.c130 char ebuf[1024]; in __diagassert13() local
131 int l = snprintf_ss(ebuf, sizeof(ebuf), "%s: %s\n", in __diagassert13()
135 (void)write(STDERR_FILENO, ebuf, (size_t)l); in __diagassert13()
/netbsd/src/sys/dev/pcmcia/
Dif_wi_pcmcia.c434 u_int8_t ebuf[256]; in wi_pcmcia_load_firm() local
470 (u_int16_t *)ebuf, sizeof(ebuf) / 2); in wi_pcmcia_load_firm()
471 if (GETLE16(ebuf) > sizeof(ebuf)) in wi_pcmcia_load_firm()
473 if (wi_pcmcia_write_firm(sc, secsym, seclen, ebuf + 4, GETLE16(ebuf))) in wi_pcmcia_load_firm()
480 const void *ebuf, int ebuflen) in wi_pcmcia_write_firm() argument
522 for (q = ebuf, eq = q + ebuflen; q < eq; q += elen * 2) { in wi_pcmcia_write_firm()
/netbsd/src/sys/dev/raidframe/
Drf_evenodd_dagfuncs.c192 rf_RegularESubroutine(RF_DagNode_t *node, char *ebuf) in rf_RegularESubroutine() argument
205 RF_ASSERT(node->params[i + 1].p != ebuf); in rf_RegularESubroutine()
210 destbuf = ebuf + rf_RaidAddressToByte(raidPtr, suoffset); in rf_RegularESubroutine()
242 rf_DegrESubroutine(RF_DagNode_t *node, char *ebuf) in rf_DegrESubroutine() argument
256 RF_ASSERT(node->params[i + 1].p != ebuf); in rf_DegrESubroutine()
261 destbuf = ebuf + rf_RaidAddressToByte(raidPtr, suoffset - failedSUOffset); in rf_DegrESubroutine()
448 char *ebuf) in rf_doubleEOdecode() argument
489 ebuf_current = ((short *) ebuf) + i * shortsPerEU + k; in rf_doubleEOdecode()
492 ebuf_current = ((long *) ebuf) + i * longsPerEU + k; in rf_doubleEOdecode()
557 ebuf_current = (short *) ebuf + shortsPerEU * erow; in rf_doubleEOdecode()
[all …]
Drf_evenodd_dagfuncs.h44 void rf_RegularESubroutine(RF_DagNode_t * node, char *ebuf);
46 void rf_DegrESubroutine(RF_DagNode_t * node, char *ebuf);
58 RF_RowCol_t * fcol, char *pbuf, char *ebuf);
/netbsd/src/external/bsd/libbind/dist/bsd/
Dstrerror.c62 static char ebuf[40] = UPREFIX; /*%< 64-bit number + slop */ in isc_strerror() local
86 for (p = ebuf + sizeof(UPREFIX) - 1;;) { in isc_strerror()
91 return (ebuf); in isc_strerror()
/netbsd/src/external/bsd/openldap/dist/servers/slapd/back-ldif/
Dldif.c488 char ebuf[128]; in ldif_read_file() local
494 … msg = res < 0 ? AC_STRERROR_R( errno, ebuf, sizeof(ebuf) ) : "bad stat() size"; in ldif_read_file()
552 char ebuf[128]; in ldif_write_entry() local
561 parentdir, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in ldif_write_entry()
571 … "cannot create file", e->e_dn, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in ldif_write_entry()
612 … e->e_name.bv_val, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in ldif_write_entry()
617 … "write error to", tmpfname, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in ldif_write_entry()
817 char ebuf[128]; in ldif_readdir() local
832 … path->bv_val, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in ldif_readdir()
905 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in ldif_readdir()
[all …]

1234