Searched refs:pfx (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-9.3-release/bin/sh/
H A Dmystring.c69 * prefix -- see if pfx is a prefix of string.
73 prefix(const char *pfx, const char *string) argument
75 while (*pfx) {
76 if (*pfx++ != *string++)
H A Dshow.c71 shtree(union node *n, int ind, char *pfx, FILE *fp) argument
79 indent(ind, pfx, fp);
258 indent(int amount, char *pfx, FILE *fp) argument
263 if (pfx && i == amount - 1)
264 fputs(pfx, fp);
/freebsd-9.3-release/lib/libc/stdio/
H A Dtempnam.c50 tempnam(dir, pfx)
51 const char *dir, *pfx;
59 if (!pfx)
60 pfx = "tmp.";
64 *(f + strlen(f) - 1) == '/'? "": "/", pfx);
71 *(f + strlen(f) - 1) == '/'? "": "/", pfx);
77 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx);
82 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx);
/freebsd-9.3-release/usr.sbin/pw/
H A Dpw_nis.c42 char pfx[32]; local
44 int l = sprintf(pfx, "%s:", user);
53 return fileupdate(path, 0600, pwbuf, pfx, l, mode) != 0;
H A Dgrupd.c132 char pfx[64]; local
137 l = snprintf(pfx, sizeof pfx, "%s:", group);
145 l = fileupdate(getgrpath(_GROUP), 0644, grbuf, pfx, l, mode);
H A Dpwupd.c154 char pfx[PWBUFSZ]; local
156 int l = snprintf(pfx, PWBUFSZ, "%s:", user);
171 rc = fileupdate(getpwpath(_PASSWD), 0644, pwbuf, pfx, l, mode);
179 rc = fileupdate(getpwpath(_MASTERPASSWD), 0600, pwbuf, pfx, l, mode);
H A Dpwupd.h52 int fileupdate(char const * fname, mode_t fm, char const * nline, char const * pfx, int pfxlen, int updmode);
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Dconfig.c282 struct prefix *pfx; local
299 while ((pfx = TAILQ_FIRST(&rai->rai_prefix)) != NULL)
300 delete_prefix(pfx);
496 struct prefix *pfx; local
504 ELM_MALLOC(pfx, exit(1));
505 pfx->pfx_rainfo = rai;
506 pfx->pfx_origin = PREFIX_FROM_CONFIG;
508 if (inet_pton(AF_INET6, addr, &pfx->pfx_prefix) != 1) {
514 if (IN6_IS_ADDR_MULTICAST(&pfx->pfx_prefix)) {
521 if (IN6_IS_ADDR_LINKLOCAL(&pfx
1010 struct prefix *pfx; local
1111 struct prefix *pfx; local
1142 delete_prefix(struct prefix *pfx) argument
1163 invalidate_prefix(struct prefix *pfx) argument
1206 update_prefix(struct prefix *pfx) argument
1317 struct prefix *pfx; local
[all...]
H A Drrenum.c147 struct prefix *pfx; local
217 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
220 if (prefix_match(&pfx->pfx_prefix,
221 pfx->pfx_prefixlen, &rpm->rpm_prefix,
224 pfx->pfx_validlifetime =
226 pfx->pfx_preflifetime =
230 pfx->pfx_vltimeexpire =
232 pfx->pfx_validlifetime;
234 pfx->pfx_vltimeexpire = 0;
237 pfx
[all...]
H A Drtadvd.c475 struct prefix *pfx; local
617 pfx = find_prefix(rai, addr, plen);
618 if (pfx) {
619 if (pfx->pfx_timer) {
624 update_prefix(pfx);
656 pfx = find_prefix(rai, addr, plen);
657 if (pfx == NULL) {
666 invalidate_prefix(pfx);
1241 struct prefix *pfx; local
1266 if ((pfx
1360 struct prefix *pfx; local
[all...]
H A Dcontrol_server.c101 DEF_PL_HANDLER(pfx),
338 struct prefix *pfx; local
360 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
361 len += sizeof(*pfx);
373 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
374 memcpy(p, pfx, sizeof(*pfx));
375 p += sizeof(*pfx);
/freebsd-9.3-release/contrib/gcc/
H A Dvec.c48 calculate_allocation (const struct vec_prefix *pfx, int reserve, bool exact) argument
55 if (pfx)
57 alloc = pfx->alloc;
58 num = pfx->num;
100 struct vec_prefix *pfx = vec; local
101 unsigned alloc = alloc = calculate_allocation (pfx, reserve, exact);
108 if (!pfx)
172 struct vec_prefix *pfx = vec; local
173 unsigned alloc = calculate_allocation (pfx, reserve, exact);
180 if (!pfx)
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Diptable.c68 isc_prefix_t pfx; local
75 NETADDR_TO_PREFIX_T(addr, pfx, bitlen);
77 result = isc_radix_insert(tab->radix, &node, NULL, &pfx);
79 isc_refcount_destroy(&pfx.refcount);
84 family = pfx.family;
87 INSIST(pfx.bitlen == 0);
109 isc_refcount_destroy(&pfx.refcount);
H A Dacl.c197 isc_prefix_t pfx; local
220 NETADDR_TO_PREFIX_T(addr, pfx, bitlen);
226 result = isc_radix_search(acl->iptable->radix, &node, &pfx);
243 isc_refcount_destroy(&pfx.refcount);
255 isc_refcount_destroy(&pfx.refcount);
260 isc_refcount_destroy(&pfx.refcount);
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dks_p12.c328 PKCS12_PFX pfx; local
370 ret = decode_PKCS12_PFX(buf, len, &pfx, NULL);
378 if (der_heim_oid_cmp(&pfx.authSafe.contentType, oid_id_pkcs7_data()) != 0) {
379 free_PKCS12_PFX(&pfx);
386 if (pfx.authSafe.content == NULL) {
387 free_PKCS12_PFX(&pfx);
397 ret = decode_PKCS12_OctetString(pfx.authSafe.content->data,
398 pfx.authSafe.content->length,
401 free_PKCS12_PFX(&pfx);
565 PKCS12_PFX pfx; local
[all...]
/freebsd-9.3-release/usr.sbin/rtadvctl/
H A Drtadvctl.c413 char argv_pfx[IFNAMSIZ + sizeof(":pfx=")];
472 struct prefix *pfx; local
648 sprintf(argv_pfx, "%s:pfx=", ifi->ifi_ifname);
655 pfx = (struct prefix *)cp.cp_val;
656 len = cp.cp_val_len / sizeof(*pfx);
662 action_show_prefix(&pfx[i]);
746 action_show_prefix(struct prefix *pfx) argument
753 printf("\t %s/%d", inet_ntop(AF_INET6, &pfx->pfx_prefix,
754 ntopbuf, sizeof(ntopbuf)), pfx->pfx_prefixlen);
757 switch (pfx
[all...]
/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dgetnameinfo.c161 unsigned char pfx;
234 pfx = ((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr[0];
235 if (pfx == 0 || pfx == 0xfe || pfx == 0xff)
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dgetnameinfo.c175 unsigned char pfx;
255 pfx = ((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr[0];
256 if (pfx == 0 || pfx == 0xfe || pfx == 0xff)
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/api/
H A Dcc_dump.c211 cc_dump_party(struct dump *d, const struct ccparty *party, const char *pfx) argument
214 cc_dumpf(d, "%s party(%p): %u.%u %s\n", pfx, party,
223 cc_dump_conn(struct dump *d, const struct ccconn *conn, const char *pfx) argument
227 cc_dumpf(d, "%sconn(%p): %s\n", pfx, conn,
229 cc_dumpf(d, "%s user=%p cref=%u.%u acceptor=%p\n", pfx,
233 cc_dumpf(d, "%s blli_sel=%u\n", pfx, conn->blli_selector);
236 cc_dump_party(d, party, pfx);
/freebsd-9.3-release/usr.bin/limits/
H A Dlimits.c72 const char * pfx; member in struct:__anon10784::__anon10785
252 const char *pfx, const char *sfx, const char *which);
502 if (shellparm[shelltype].lprm[rcswhich].pfx) {
507 shellparm[shelltype].lprm[rcswhich].pfx,
515 shellparm[shelltype].lprm[rcswhich].pfx,
523 shellparm[shelltype].lprm[rcswhich].pfx,
547 print_limit(rlim_t limit, unsigned divisor, const char * inf, const char * pfx, const char * sfx, const char * which) argument
555 printf(pfx, which, numbr);
/freebsd-9.3-release/tools/tools/vop_table/
H A Dvop_table.tcl111 set pfx [lindex [split $i _] 0]
124 } elseif { $t == "${pfx}_${sfx}" } {
132 } elseif { $sfx == "cachedlookup" && $t == "${pfx}_lookup" } {
/freebsd-9.3-release/usr.sbin/ctm/mkCTM/
H A Dmkctm.c124 name_stat(const char *pfx, const char *dir, const char *name, struct dirent *de) argument
135 pfx, name, de->d_name,
137 fprintf(logf, "%s %s%s\n", pfx, name, de->d_name);
139 fprintf(stderr, "%s %s%s\n", pfx, name, de->d_name);
/freebsd-9.3-release/sys/geom/part/
H A Dg_part_ebr.c357 struct sbuf *sb, const char *pfx)
368 sbuf_printf(sb, "%.*s%u", (int)strlen(pfx) - 1, pfx, idx);
356 g_part_ebr_fullname(struct g_part_table *table, struct g_part_entry *entry, struct sbuf *sb, const char *pfx) argument
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dinterfaceiter.c403 isc_netaddr_t pfx; local
423 isc_netaddr_fromsockaddr(&pfx,
428 isc_netaddr_eqprefix(&target, &pfx, pfx_len)) {
/freebsd-9.3-release/sys/netinet/
H A Din.c1333 const struct sockaddr_in *pfx = (const struct sockaddr_in *)prefix; local
1347 pfx, msk) && ((flags & LLE_STATIC) ||

Completed in 157 milliseconds

12