Searched refs:prefix (Results 1 - 25 of 629) sorted by relevance

1234567891011>>

/freebsd-9.3-release/usr.sbin/faithd/
H A Dprefix.h1 /* $KAME: prefix.h,v 1.4 2001/09/05 03:04:21 itojun Exp $ */
33 struct prefix { struct
42 struct prefix match;
43 struct prefix dest;
44 struct prefix src; /* src to use for outgoing connection */
49 extern const char *prefix_string(const struct prefix *);
50 extern int prefix_match(const struct prefix *, const struct sockaddr *);
H A Dprefix.c1 /* $KAME: prefix.c,v 1.13 2003/09/02 22:50:17 itojun Exp $ */
48 #include "prefix.h"
50 static int prefix_set(const char *, struct prefix *, int);
61 prefix_set(const char *s, struct prefix *prefix, int slash) argument
84 if (res->ai_next || res->ai_addrlen > sizeof(prefix->a))
86 memcpy(&prefix->a, res->ai_addr, res->ai_addrlen);
88 switch (prefix->a.ss_family) {
91 a = (char *)&((struct sockaddr_in *)&prefix->a)->sin_addr;
95 a = (char *)&((struct sockaddr_in6 *)&prefix
128 prefix_string(const struct prefix *prefix) argument
141 prefix_match(const struct prefix *prefix, const struct sockaddr *sa) argument
[all...]
/freebsd-9.3-release/contrib/wpa/src/eapol_auth/
H A Deapol_auth_dump.c127 void eapol_auth_dump_state(FILE *f, const char *prefix, argument
130 fprintf(f, "%sEAPOL state machine:\n", prefix);
131 fprintf(f, "%s aWhile=%d quietWhile=%d reAuthWhen=%d\n", prefix,
141 prefix, _SB(sm->authAbort), _SB(sm->authFail),
143 prefix, _SB(sm->authTimeout), _SB(sm->authSuccess),
145 prefix, _SB(sm->eap_if->eapSuccess),
148 prefix, _SB(sm->keyDone), _SB(sm->keyRun),
150 prefix, _SB(sm->eap_if->portEnabled), _SB(sm->portValid),
169 prefix, prefix, auth_pae_state_tx
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/mi/
H A Dmi-console.h26 const char *prefix,
H A Dmi-getopt.h41 mi_getopt() calls ``error("%s: Unknown option %c", prefix,
45 extern int mi_getopt (const char *prefix, int argc, char **argv,
78 extern int mi_valid_noargs (const char *prefix, int argc, char **argv);
H A Dmi-getopt.c27 mi_getopt (const char *prefix, argument
63 error ("%s: Option %s requires an argument", prefix, arg);
75 error ("%s: Unknown option ``%s''", prefix, arg + 1);
79 mi_valid_noargs (const char *prefix, int argc, char **argv) argument
88 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) == -1)
/freebsd-9.3-release/usr.bin/systat/
H A Dmode.c76 if (prefix(cmd, "mode")) {
81 } else if (prefix(args, "rate")) {
83 } else if (prefix(args, "delta")) {
85 } else if (prefix(args, "since")) {
87 } else if (prefix(args, "absolute")) {
94 if(prefix(cmd, "reset")) {
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dprintfraginfo.c13 void printfraginfo(prefix, ifr)
14 char *prefix;
21 printf("%s%s -> ", prefix, hostname(4, &ifr->ipfr_src));
/freebsd-9.3-release/release/scripts/
H A Dsplit-file.sh23 prefix=`basename $FILE`
24 dd if=${FILE} bs=16k iseek=1 | split -b ${CHUNK_SIZE}k - ${DEST}/${prefix}.
28 files=`ls ${DEST}/${prefix}.*`
30 bootchunk="${DEST}/${prefix}.boot"
34 echo `basename ${bootchunk}` "\"Boot floppy\"" > ${DEST}/${prefix}.split
37 echo `basename ${file}` "\"${DESCR} floppy ${i}\"" >> ${DEST}/${prefix}.split
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Dconfig.h39 extern void delete_prefix(struct prefix *);
40 extern void invalidate_prefix(struct prefix *);
41 extern void update_prefix(struct prefix *);
47 * it is highly unlikely to have 100 prefix information options,
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dkeymap.c55 keymapSetDefault(const char *prefix) argument
59 size_t plen = strlen(prefix);
62 if (!strncmp(prefix, items[i].data, plen))
94 char prefix[16 + 1]; local
106 snprintf(prefix, sizeof(prefix), "keymap=%s.iso", lang);
107 if ((choice = keymapSetDefault(prefix)) == -1)
109 snprintf(prefix, sizeof(prefix), "keymap=%s", lang);
110 if ((choice = keymapSetDefault(prefix))
[all...]
/freebsd-9.3-release/etc/rc.d/
H A Dfaith27 for prefix in ${ipv6_faith_prefix}; do
28 prefixlen=`expr "${prefix}" : ".*/\(.*\)"`
34 prefix=`expr "${prefix}" : \
38 route add -inet6 ${prefix} -prefixlen ${prefixlen} ::1
39 route change -inet6 ${prefix} -prefixlen ${prefixlen} \
57 for prefix in ${ipv6_faith_prefix}; do
58 prefixlen=`expr "${prefix}" : ".*/\(.*\)"`
64 prefix=`expr "${prefix}"
[all...]
/freebsd-9.3-release/crypto/heimdal/tools/
H A Dkrb5-config.in27 --prefix=*)
28 prefix=`echo $i | sed 's/^--prefix=//'`
30 --prefix)
33 --exec-prefix=*)
34 exec_prefix=`echo $i | sed 's/^--exec-prefix=//'`
36 --exec-prefix)
69 echo "options: [--prefix[=dir]] [--exec-prefix[=dir]] [--libs] [--cflags]"
74 if test "$prefix"
[all...]
/freebsd-9.3-release/contrib/tcsh/
H A Dsvn9 def print_output(cmd, prefix):
15 print prefix + line.strip() + term
25 prefix = "file:/"
30 print_output("svn ls " + "file://" + dir, prefix + "/" + dir)
31 print_output("ls -d /" + dir + "*", prefix)
/freebsd-9.3-release/contrib/gcc/
H A Dmkmap-flat.awk25 prefix = "_";
27 prefix = "";
80 sym = prefix $1;
H A Dprefix.c23 the directory format and to handle any prefix translation.
25 This file must be compiled with -DPREFIX= to specify the "prefix"
27 prefix, it will not be affected other than by directory canonicalization.
30 a translation prefix and consist of the name of the package that contains
33 If the prefix is not specified, the filename will only undergo
37 by the specified prefix (with a '@' in front unless the prefix begins
75 #include "prefix.h"
94 const char *prefix = 0; local
98 prefix
190 const char *prefix; local
354 set_std_prefix(const char *prefix, int len) argument
[all...]
/freebsd-9.3-release/contrib/amd/scripts/
H A Dwait4amd.in20 prefix=@prefix@
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/in_1/
H A Da6_38.h29 dns_name_t prefix; member in struct:dns_rdata_in_a6
/freebsd-9.3-release/contrib/gdb/gdb/cli/
H A Dcli-setshow.h36 char *prefix);
/freebsd-9.3-release/contrib/ncurses/misc/
H A Dncurses-config.in33 prefix="@prefix@"
62 --prefix=*)
63 prefix="$ARG"
66 --prefix)
67 echo "$prefix"
69 --exec-prefix=*)
72 --exec-prefix)
78 if test "${prefix}/include" != /usr/include ; then
79 INCS="-I${prefix}/includ
[all...]
/freebsd-9.3-release/contrib/bind9/
H A Disc-config.sh.in20 prefix=@prefix@
31 [--prefix[=DIR]]
32 [--exec-prefix[=DIR]]
58 --prefix=*)
59 prefix=$optarg
61 exec_prefix=$prefix
65 --prefix)
68 --exec-prefix=*)
72 --exec-prefix)
[all...]
/freebsd-9.3-release/contrib/dialog/
H A Ddialog-config.in31 prefix="@prefix@"
55 --prefix=*)
56 prefix="$ARG"
59 --prefix)
60 echo "$prefix"
62 --exec-prefix=*)
65 --exec-prefix)
71 if test "${prefix}/include" != /usr/include ; then
72 INCS="-I${prefix}/includ
[all...]
/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_cmn_err.c35 const char *prefix; local
37 prefix = NULL; /* silence unwitty compilers */
40 prefix = "Solaris(cont): ";
43 prefix = "Solaris: NOTICE: ";
46 prefix = "Solaris: WARNING: ";
49 prefix = "Solaris(panic): ";
58 panic("%s%s", prefix, buf);
61 printf("%s", prefix);
/freebsd-9.3-release/contrib/com_err/
H A Dparse.y105 free(prefix);
106 asprintf (&prefix, "%s_", $2);
107 if (prefix == NULL)
113 prefix = realloc(prefix, 1);
114 if (prefix == NULL)
116 *prefix = '\0';
127 if(prefix && *prefix != '\0') {
128 asprintf (&ec->name, "%s%s", prefix,
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/com_err/
H A Dparse.y103 free(prefix);
104 asprintf (&prefix, "%s_", $2);
105 if (prefix == NULL)
111 prefix = realloc(prefix, 1);
112 if (prefix == NULL)
114 *prefix = '\0';
125 if(prefix && *prefix != '\0') {
126 asprintf (&ec->name, "%s%s", prefix,
[all...]

Completed in 156 milliseconds

1234567891011>>