Symbol: tos
crypto/openssh/misc.c
274
set_sock_tos(int fd, int tos)
crypto/openssh/misc.c
285
debug3_f("set socket %d IP_TOS 0x%02x", fd, tos);
crypto/openssh/misc.c
287
&tos, sizeof(tos)) == -1) {
crypto/openssh/misc.c
289
fd, tos, strerror(errno));
crypto/openssh/misc.c
295
debug3_f("set socket %d IPV6_TCLASS 0x%02x", fd, tos);
crypto/openssh/misc.c
297
&tos, sizeof(tos)) == -1) {
crypto/openssh/misc.c
299
fd, tos, strerror(errno));
crypto/openssh/packet.c
2203
ssh_packet_set_tos(struct ssh *ssh, int tos)
crypto/openssh/packet.c
2205
if (!ssh_packet_connection_is_on_socket(ssh) || tos == INT_MAX)
crypto/openssh/packet.c
2207
set_sock_tos(ssh->state->connection_in, tos);
lib/libc/gmon/gmon.c
101
p->tos[0].link = 0;
lib/libc/gmon/gmon.c
184
toindex = p->tos[toindex].link) {
lib/libc/gmon/gmon.c
188
frompc, p->tos[toindex].selfpc,
lib/libc/gmon/gmon.c
189
p->tos[toindex].count);
lib/libc/gmon/gmon.c
193
rawarc.raw_selfpc = p->tos[toindex].selfpc;
lib/libc/gmon/gmon.c
194
rawarc.raw_count = p->tos[toindex].count;
lib/libc/gmon/gmon.c
95
p->tos = (struct tostruct *)cp;
lib/libc/gmon/mcount.c
118
toindex = ++p->tos[0].link;
lib/libc/gmon/mcount.c
122
top = &p->tos[toindex];
lib/libc/gmon/mcount.c
133
top = &p->tos[top->link];
lib/libc/gmon/mcount.c
84
toindex = ++p->tos[0].link;
lib/libc/gmon/mcount.c
90
top = &p->tos[toindex];
lib/libc/gmon/mcount.c
96
top = &p->tos[toindex];
libexec/ftpd/ftpd.c
1864
int retry = 0, tos, conerrno;
libexec/ftpd/ftpd.c
1910
tos = IPTOS_THROUGHPUT;
libexec/ftpd/ftpd.c
1911
if (setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(int)) < 0)
libexec/ftpd/ftpd.c
249
int ch, on = 1, tos;
libexec/ftpd/ftpd.c
544
tos = IPTOS_LOWDELAY;
libexec/ftpd/ftpd.c
545
if (setsockopt(0, IPPROTO_IP, IP_TOS, &tos, sizeof(int)) < 0)
libexec/telnetd/telnetd.c
126
int tos = -1;
libexec/telnetd/telnetd.c
259
if ((tos = parsetos(optarg, "tcp")) < 0)
libexec/telnetd/telnetd.c
373
if (tos < 0 && (tp = gettosbyname("telnet", "tcp")))
libexec/telnetd/telnetd.c
374
tos = tp->t_tos;
libexec/telnetd/telnetd.c
376
if (tos < 0)
libexec/telnetd/telnetd.c
377
tos = 020; /* Low Delay bit */
libexec/telnetd/telnetd.c
378
if (tos
libexec/telnetd/telnetd.c
380
(char *)&tos, sizeof(tos)) < 0)
sbin/ping/ping.c
215
tos, ttl;
sbin/ping/ping.c
236
alarmtimeout = df = preload = tos = 0;
sbin/ping/ping.c
440
tos = ultmp;
sbin/ping/ping.c
574
ip->ip_tos = tos;
sys/net/pf/pf.c
3939
else if (r->tos && !(r->tos == pd->tos))
sys/net/pf/pf.c
4361
else if (r->tos && !(r->tos == pd->tos))
sys/net/pf/pf.c
6601
pd.tos = h->ip_tos;
sys/net/pf/pf.c
6735
if (pqid || (pd.tos & IPTOS_LOWDELAY))
sys/net/pf/pf.c
6937
pd.tos = 0;
sys/net/pf/pf.c
7138
if (pd.tos & IPTOS_LOWDELAY)
sys/net/pf/pf_ioctl.c
864
PF_MD5_UPD(rule, tos);
sys/net/pf/pfvar.h
1234
u_int8_t tos;
sys/net/pf/pfvar.h
659
u_int8_t tos;
sys/net/stf/if_stf.c
337
u_int8_t tos;
sys/net/stf/if_stf.c
372
tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
sys/net/stf/if_stf.c
410
ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &tos);
sys/net/stf/if_stf.c
412
ip_ecn_ingress(ECN_NOCARE, &ip->ip_tos, &tos);
sys/netgraph7/netflow/netflow.c
644
rec->tos = fle->f.r.r_tos;
sys/netgraph7/netflow/netflow.h
110
uint8_t tos; /* IP type of service */
sys/netgraph7/netflow/netflow.h
87
uint8_t tos; /* IP type of service */
sys/netgraph7/netflow/ng_netflow.h
109
u_char tos; /* IP TOS */
sys/netgraph7/netflow/ng_netflow.h
117
#define r_tos misc.i.tos
sys/netinet/in_gif.c
105
u_int8_t tos;
sys/netinet/in_gif.c
127
tos = ip->ip_tos;
sys/netinet/in_gif.c
142
tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
sys/netinet/in_gif.c
169
ip_ecn_ingress(ECN_ALLOWED, &iphdr.ip_tos, &tos);
sys/netinet/in_gif.c
171
ip_ecn_ingress(ECN_NOCARE, &iphdr.ip_tos, &tos);
sys/netinet/ip_flow.c
140
ipflow_hash(struct in_addr dst, struct in_addr src, unsigned tos)
sys/netinet/ip_flow.c
142
unsigned hash = tos + src.s_addr;
sys/netinet/udp_usrreq.c
1112
((struct ip *)ui)->ip_tos = tos;
sys/netinet/udp_usrreq.c
903
u_char tos;
sys/netinet/udp_usrreq.c
940
tos = inp->inp_ip_tos;
sys/netinet/udp_usrreq.c
983
tos = *(u_char *)CMSG_DATA(cm);
sys/netproto/802_11/wlan/ieee80211_output.c
1145
uint8_t tos;
sys/netproto/802_11/wlan/ieee80211_output.c
1151
offsetof(struct ip, ip_tos), sizeof(tos), &tos);
sys/netproto/802_11/wlan/ieee80211_output.c
1152
tos >>= 5; /* NB: ECN + low 3 bits of DSCP */
sys/netproto/802_11/wlan/ieee80211_output.c
1153
d_wme_ac = TID_TO_WME_AC(tos);
sys/netproto/802_11/wlan/ieee80211_output.c
1159
uint8_t tos;
sys/netproto/802_11/wlan/ieee80211_output.c
1165
tos = (uint8_t)(ntohl(flow) >> 20);
sys/netproto/802_11/wlan/ieee80211_output.c
1166
tos >>= 5; /* NB: ECN + low 3 bits of DSCP */
sys/netproto/802_11/wlan/ieee80211_output.c
1167
d_wme_ac = TID_TO_WME_AC(tos);
sys/sys/gmon.h
156
struct tostruct *tos;
test/udp/tos/udp_tos.c
100
fprintf(stderr, "sendmsg tos %d\n", tos);
test/udp/tos/udp_tos.c
138
tos = *((u_char *)CMSG_DATA(cm));
test/udp/tos/udp_tos.c
140
fprintf(stderr, "TOS: %d\n", tos);
test/udp/tos/udp_tos.c
25
int s, opt, n, tos, cmsg_tos;
test/udp/tos/udp_tos.c
37
tos = -1;
test/udp/tos/udp_tos.c
57
tos = strtol(optarg, NULL, 10);
test/udp/tos/udp_tos.c
72
if (tos >= 0) {
test/udp/tos/udp_tos.c
75
&tos, sizeof(tos)) < 0)
test/udp/tos/udp_tos.c
76
err(2, "setsockopt IP_TOS %d failed", tos);
test/udp/tos/udp_tos.c
98
*((u_char *)CMSG_DATA(cm)) = tos;
usr.bin/dc/bcode.c
494
struct value *value = tos();
usr.bin/dc/bcode.c
69
static __inline struct value *tos(void);
usr.bin/indent/indent.c
1156
match_state[ifdef_level].tos = -1;
usr.bin/indent/indent.c
487
if (ps.tos > 1) /* check for balanced braces */
usr.bin/indent/indent.c
590
if (ps.in_or_st && *token == '(' && ps.tos <= 2) {
usr.bin/indent/indent.c
861
if (ps.p_stack[ps.tos] == decl && !ps.block_init) /* semicolons can be
usr.bin/indent/indent.c
890
ps.search_brace = opt.cuddle_else && ps.p_stack[ps.tos] == ifhead
usr.bin/indent/indent.c
891
&& ps.il[ps.tos] >= ps.ind_level;
usr.bin/indent/indent.c
892
if (ps.tos <= 1 && opt.blanklines_after_procs && ps.dec_nest <= 0)
usr.bin/indent/indent.c
950
if (ps.last_token == rparen && ps.tos <= 1) {
usr.bin/indent/indent_globs.h
315
int tos; /* pointer to top of stack */
usr.bin/indent/lexi.c
318
if (*buf_ptr == '(' && state->tos <= 1 && state->ind_level == 0 &&
usr.bin/indent/parse.c
103
ps.p_stack[++ps.tos] = tk;
usr.bin/indent/parse.c
104
ps.il[ps.tos] = ps.ind_level = ps.i_l_follow;
usr.bin/indent/parse.c
111
if (ps.p_stack[ps.tos] == stmt || ps.p_stack[ps.tos] == decl
usr.bin/indent/parse.c
112
|| ps.p_stack[ps.tos] == stmtl)
usr.bin/indent/parse.c
124
if (ps.p_stack[ps.tos] == swstmt && opt.case_indent >= 1)
usr.bin/indent/parse.c
132
ps.p_stack[++ps.tos] = lbrace;
usr.bin/indent/parse.c
133
ps.il[ps.tos] = ps.ind_level;
usr.bin/indent/parse.c
134
ps.p_stack[++ps.tos] = stmt;
usr.bin/indent/parse.c
136
ps.il[ps.tos] = ps.i_l_follow;
usr.bin/indent/parse.c
140
if (ps.p_stack[ps.tos] == dohead) {
usr.bin/indent/parse.c
142
ps.ind_level = ps.i_l_follow = ps.il[ps.tos];
usr.bin/indent/parse.c
143
ps.p_stack[++ps.tos] = whilestmt;
usr.bin/indent/parse.c
144
ps.il[ps.tos] = ps.ind_level = ps.i_l_follow;
usr.bin/indent/parse.c
147
ps.p_stack[++ps.tos] = whilestmt;
usr.bin/indent/parse.c
148
ps.il[ps.tos] = ps.i_l_follow;
usr.bin/indent/parse.c
157
if (ps.p_stack[ps.tos] != ifhead)
usr.bin/indent/parse.c
160
ps.ind_level = ps.il[ps.tos]; /* indentation for else should
usr.bin/indent/parse.c
164
ps.p_stack[ps.tos] = elsehead;
usr.bin/indent/parse.c
172
if (ps.tos > 0 && ps.p_stack[ps.tos - 1] == lbrace) {
usr.bin/indent/parse.c
173
ps.ind_level = ps.i_l_follow = ps.il[--ps.tos];
usr.bin/indent/parse.c
174
ps.p_stack[ps.tos] = stmt;
usr.bin/indent/parse.c
181
ps.p_stack[++ps.tos] = swstmt;
usr.bin/indent/parse.c
182
ps.cstk[ps.tos] = case_ind;
usr.bin/indent/parse.c
184
ps.il[ps.tos] = ps.i_l_follow;
usr.bin/indent/parse.c
196
ps.p_stack[++ps.tos] = stmt;
usr.bin/indent/parse.c
197
ps.il[ps.tos] = ps.ind_level;
usr.bin/indent/parse.c
207
if (ps.tos >= STACKSIZE - 1)
usr.bin/indent/parse.c
213
for (i = 1; i <= ps.tos; ++i)
usr.bin/indent/parse.c
268
switch (ps.p_stack[ps.tos]) {
usr.bin/indent/parse.c
271
switch (ps.p_stack[ps.tos - 1]) {
usr.bin/indent/parse.c
276
ps.p_stack[--ps.tos] = stmtl;
usr.bin/indent/parse.c
280
ps.p_stack[--ps.tos] = dohead;
usr.bin/indent/parse.c
281
ps.i_l_follow = ps.il[ps.tos];
usr.bin/indent/parse.c
286
ps.p_stack[--ps.tos] = ifhead;
usr.bin/indent/parse.c
287
for (i = ps.tos - 1;
usr.bin/indent/parse.c
306
case_ind = ps.cstk[ps.tos - 1];
usr.bin/indent/parse.c
315
ps.p_stack[--ps.tos] = stmt;
usr.bin/indent/parse.c
316
ps.i_l_follow = ps.il[ps.tos];
usr.bin/indent/parse.c
326
if (ps.p_stack[ps.tos - 1] == dohead) {
usr.bin/indent/parse.c
328
ps.tos -= 2;
usr.bin/indent/parse.c
58
while (ps.p_stack[ps.tos] == ifhead && tk != elselit) {
usr.bin/indent/parse.c
60
ps.p_stack[ps.tos] = stmt; /* apply the if(..) stmt ::= stmt
usr.bin/indent/parse.c
72
if (ps.p_stack[ps.tos] != decl) { /* only put one declaration
usr.bin/indent/parse.c
76
ps.p_stack[++ps.tos] = decl;
usr.bin/indent/parse.c
77
ps.il[ps.tos] = ps.i_l_follow;
usr.bin/indent/parse.c
82
for (i = ps.tos - 1; i > 0; --i)
usr.bin/indent/parse.c
92
if (ps.p_stack[ps.tos] == elsehead && opt.else_if) /* "else if ..." */
usr.bin/indent/parse.c
98
ps.i_l_follow = ps.il[ps.tos--];
usr.bin/telnet/commands.c
2333
if (tos < 0 && (tp = gettosbyname("telnet", "tcp")))
usr.bin/telnet/commands.c
2334
tos = tp->t_tos;
usr.bin/telnet/commands.c
2336
if (tos < 0)
usr.bin/telnet/commands.c
2337
tos = IPTOS_LOWDELAY;
usr.bin/telnet/commands.c
2338
if (tos
usr.bin/telnet/commands.c
2340
(char *)&tos, sizeof(int)) < 0)
usr.bin/telnet/commands.c
91
int tos = -1;
usr.bin/telnet/main.c
165
extern int tos;
usr.bin/telnet/main.c
167
if ((tos = parsetos(optarg, "tcp")) < 0)
usr.sbin/dntpd/socket.c
101
tos = IP_PORTRANGE_HIGH;
usr.sbin/dntpd/socket.c
102
setsockopt(fd, IPPROTO_IP, IP_PORTRANGE, &tos, sizeof(tos));
usr.sbin/dntpd/socket.c
48
int tos;
usr.sbin/dntpd/socket.c
96
tos = IPTOS_LOWDELAY;
usr.sbin/dntpd/socket.c
97
setsockopt(fd, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));
usr.sbin/pfctl/parse.y
1143
| SETTOS tos {
usr.sbin/pfctl/parse.y
1987
r.tos = $9.tos;
usr.sbin/pfctl/parse.y
225
u_int32_t tos;
usr.sbin/pfctl/parse.y
2361
| TOS tos {
usr.sbin/pfctl/parse.y
2367
filter_opts.tos = $2;
usr.sbin/pfctl/parse.y
3428
tos : STRING {
usr.sbin/pfctl/parse.y
462
%type <v.number> tos not yesno
usr.sbin/pfctl/parse.y
870
r.tos = $9.tos;
usr.sbin/pfctl/pfctl_optimize.c
167
PF_RULE_FIELD(tos, NOMERGE),
usr.sbin/pfctl/pfctl_parser.c
821
if (r->tos)
usr.sbin/pfctl/pfctl_parser.c
822
printf(" tos 0x%2.2x", r->tos);
usr.sbin/ppp/ip.c
550
u_char tos;
usr.sbin/ppp/ip.c
566
tos = 0; /* XXX: pip6->ip6_vfc >> 4 ? */
usr.sbin/ppp/ip.c
578
tos = pip->ip_tos;
usr.sbin/ppp/ip.c
625
if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos)
usr.sbin/ppp/ip.c
789
if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos)
usr.sbin/ppp/ncp.c
104
ncp->cfg.urgent.tos = 1;
usr.sbin/ppp/ncp.c
472
ncp->cfg.urgent.tos ? "yes" : "no");
usr.sbin/ppp/ncp.h
43
unsigned tos : 1; /* Urgent IPTOS_LOWDELAY packets ? */
usr.sbin/ppp/ncp.h
95
#define ncp_ClearUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 0;
usr.sbin/ppp/ncp.h
96
#define ncp_SetUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 1;
usr.sbin/traceroute/traceroute.c
321
int ch, i, lsrr = 0, on = 1, probe, seq = 0, tos = 0;
usr.sbin/traceroute/traceroute.c
453
tos = (int)l;
usr.sbin/traceroute/traceroute.c
547
ip->ip_tos = tos;