Home
last modified time | relevance | path

Searched refs:redir (Results 1 – 23 of 23) sorted by relevance

/freebsd/bin/sh/
H A Dredir.c103 redirect(union node *redir, int flags) in redirect() argument
117 if (redir != NULL) { in redirect()
128 for (n = redir ; n ; n = n->nfile.next) { in redirect()
165 openredirect(union node *redir, char memory[10]) in openredirect() argument
168 int fd = redir->nfile.fd; in openredirect()
174 switch (redir->nfile.type) { in openredirect()
176 fname = redir->nfile.expfname; in openredirect()
181 fname = redir->nfile.expfname; in openredirect()
187 fname = redir->nfile.expfname; in openredirect()
206 fname = redir->nfile.expfname; in openredirect()
[all …]
H A Deval.c482 exphere(union node *redir, struct arglist *fn) in exphere() argument
490 redir->nhere.expdoc = ""; in exphere()
500 expandarg(redir->nhere.doc, fn, 0); in exphere()
501 redir->nhere.expdoc = fn->args[0]; in exphere()
522 union node *redir; in expredir() local
524 for (redir = n ; redir ; redir = redir->nfile.next) { in expredir()
527 switch (redir->type) { in expredir()
533 expandarg(redir->nfile.fname, &fn, EXP_TILDE); in expredir()
534 redir->nfile.expfname = fn.args[0]; in expredir()
538 if (redir->ndup.vname) { in expredir()
[all …]
H A Dparser.c415 union node *redir, **rpp; in command() local
421 redir = NULL; in command()
423 rpp = &redir; in command()
588 if (!redir) in command()
592 n1 = simplecmd(rpp, redir); in command()
606 if (redir) { in command()
613 n1->nredir.redirect = redir; in command()
621 simplecmd(union node **rpp, union node *redir) in simplecmd() argument
631 if (redir == NULL) in simplecmd()
632 rpp = &redir; in simplecmd()
[all …]
H A DMakefile16 mystring.c options.c output.c parser.c printf.c redir.c show.c \
H A DTOUR177 redir.c Code to handle redirection of input and output.
198 plished by duplicating the original file descriptors. The redir-
/freebsd/contrib/one-true-awk/testdir/
H A DT.redir1 echo T.redir: test redirections
6 diff foo /etc/passwd || echo 'BAD: T.redir (print >"foo")'
10 diff foo /etc/passwd || echo 'BAD: T.redir (print >>"foo")'
15 diff foo /etc/passwd || echo 'BAD: T.redir (print > and >>"foo")'
19 diff foo /etc/passwd || echo 'BAD: T.redir (print | "cat >foo")'
28 diff foo1 foo2 || echo 'BAD: T.redir (buffering)'
32 diff foo2 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stderr")'
33 diff foo1 /dev/null || echo 'BAD: T.redir (print >"/dev/stderr")'
37 diff foo1 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stdout")'
38 diff foo2 /dev/null || echo 'BAD: T.redir (print >"/dev/stderr")'
/freebsd/sbin/ipf/iplang/
H A DBNF49 "unreach" "{" unreachtype "}" ";" | "squench" | "redir" |
50 "redir" "{" redirtype "}" ";" | "echo" "{" echoopts "}" ";" |
61 redirtype ::= "net-redir" | "host-redir" | "tos-net-redir" |
62 "tos-host-redir" .
H A Diplang_y.y1511 void set_redir(int redir, char **arg) in set_redir() argument
1513 icmp->icmp_code = redir; in set_redir()
/freebsd/tools/tools/net80211/w00t/
H A DREADME14 redir Gives ability to decrypt in real-time on a WEP network, via Internet.
57 redir:
65 ./redir -d buddy_ip -b bssid -t tap0 -r wifi_rtr_mac -s wifi_src_ip -p 666
H A DMakefile1 SUBDIR= libw00t ap assoc expand prga redir
/freebsd/tools/tools/net80211/w00t/redir/
H A DMakefile3 PROG= redir
/freebsd/contrib/netbsd-tests/ipf/regress/
H A Df222 block out proto icmp all icmp-type redir group icmpredir
H A Df212 block in proto icmp all icmp-type redir group icmpredir
H A Di824 pass in proto icmp all icmp-type redir
55 pass in proto icmp all icmp-type redir
/freebsd/share/examples/ipfilter/
H A Dfirewall.119 block in log quick on ppp0 proto icmp from any to any icmp-type redir
H A DBNF54 icmp-type = "unreach" | "echo" | "echorep" | "squench" | "redir" |
H A Dfirewall.221 block in log quick on ppp0 proto icmp from any to any icmp-type redir
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Di826 pass in inet proto icmp from any to any icmp-type redir
59 pass in inet proto icmp from any to any icmp-type redir
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_console.c1424 int port, redir; in dump_redir_entry() local
1427 redir = 0; in dump_redir_entry()
1431 if (!redir) { in dump_redir_entry()
1439 redir = 1; in dump_redir_entry()
1450 if (redir) in dump_redir_entry()
/freebsd/sys/netinet/libalias/
H A Dalias_db.c2470 struct in_addr redir; in FindSctpRedirectAddress() local
2479 redir = FindOriginalAddress(la,sm->ip_hdr->ip_dst); in FindSctpRedirectAddress()
2480 if (redir.s_addr == la->aliasAddress.s_addr || in FindSctpRedirectAddress()
2481 redir.s_addr == la->targetAddress.s_addr) { in FindSctpRedirectAddress()
2489 return (redir); /* address redirect */ in FindSctpRedirectAddress()
/freebsd/sbin/ipf/ipnat/
H A Dipnat_y.y169 | redir eol
328 redir: rdrit ifnames addr dport tlate dip nport setproto rdroptions
/freebsd/contrib/one-true-awk/
H A DChangeLog193 * regdir/t.redir1: Renamed from regdir/t.redir.
/freebsd/usr.sbin/services_mkdb/
H A Dservices2034 amt-redir-tcp 16994/tcp #Intel(R) AMT Redirection/TCP
2035 amt-redir-tcp 16994/udp #Intel(R) AMT Redirection/TCP
2036 amt-redir-tls 16995/tcp #Intel(R) AMT Redirection/TLS
2037 amt-redir-tls 16995/udp #Intel(R) AMT Redirection/TLS