Symbol: IPPROTO_TCP
usr/src/cmd/cmd-inet/usr.bin/ftp/ftp.c
1487
if (timeout && setsockopt(data, IPPROTO_TCP,
usr/src/cmd/cmd-inet/usr.bin/ftp/ftp.c
1616
if (timeout && setsockopt(data, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
usr/src/cmd/cmd-inet/usr.bin/ftp/ftp.c
262
if (timeout && setsockopt(s, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
usr/src/cmd/cmd-inet/usr.bin/nc/netcat.c
314
hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.bin/nc/netcat.c
342
proxyhints.ai_protocol = IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.bin/nc/netcat.c
599
ahints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.bin/nc/netcat.c
908
if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2418
if (protocol_selected(IPPROTO_TCP) &&
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
544
proto = IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
5501
if (!protocol_selected(IPPROTO_TCP))
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
701
if (protocol_selected(IPPROTO_TCP))
usr/src/cmd/cmd-inet/usr.bin/pppd/ipcp.c
1953
if (val != IPPROTO_TCP) {
usr/src/cmd/cmd-inet/usr.bin/pppd/ipv6cp.c
1520
if (get_ip6nh(pkt) != IPPROTO_TCP) {
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
1539
offs = proto == IPPROTO_TCP ? (get_tcpoff(bp)*4) : 8;
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
1540
if (proto == IPPROTO_TCP || proto == IPPROTO_UDP)
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
1543
proto == IPPROTO_TCP ?
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
1577
offs = proto == IPPROTO_TCP ? (get_tcpoff(bp)*4) : 8;
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
1578
if (proto == IPPROTO_TCP || proto == IPPROTO_UDP)
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
1581
proto == IPPROTO_TCP ?
usr/src/cmd/cmd-inet/usr.bin/rdate.c
132
if (setsockopt(s, IPPROTO_TCP, TCP_CONN_ABORT_THRESHOLD,
usr/src/cmd/cmd-inet/usr.bin/rdate.c
97
hints.ai_protocol = IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
183
param->proto = IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilbd_hc.c
1185
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilbd_hc.c
828
rule->irl_proto != IPPROTO_TCP) ||
usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ilbadm_nat.c
50
if (info->nat_proto == IPPROTO_TCP)
usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ilbadm_rules.c
329
if (rd->r_proto == IPPROTO_TCP)
usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ilbadm_rules.c
939
rd->r_proto = IPPROTO_TCP;
usr/src/cmd/cmd-inet/usr.sbin/in.telnetd.c
2312
s = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping.c
2308
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
452
if (ip->ip_p == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
709
if ((ip->ip_p == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
768
if ((ip->ip_p == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
802
if ((ip->ip_p == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
487
if (last_hdr == IPPROTO_TCP || last_hdr == IPPROTO_UDP)
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
550
if ((last_hdr == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
588
if ((last_hdr == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
632
if ((last_hdr == IPPROTO_TCP ||
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dns.c
721
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dns.c
81
if (proto == IPPROTO_TCP) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
1335
"tcp", 9, 1, IPPROTO_TCP, 0, OP_OFFSET_LINK,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
1336
"tcp", 6, 1, IPPROTO_TCP, 1, OP_OFFSET_LINK,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
1361
"tcp", 9, 1, IPPROTO_TCP, 0, OP_OFFSET_LINK,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
1362
"tcp", 6, 1, IPPROTO_TCP, 1, OP_OFFSET_LINK,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
1382
"tcp", 9, 1, IPPROTO_TCP, 0, OP_OFFSET_LINK,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
1383
"tcp", 6, 1, IPPROTO_TCP, 1, OP_OFFSET_LINK,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
2512
compare_value(9, 1, IPPROTO_TCP);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
823
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
892
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
131
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
477
case IPPROTO_TCP: {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ip.c
263
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ip.c
448
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ip.c
725
case IPPROTO_TCP: return ("TCP");
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ipsec.c
220
case IPPROTO_TCP:
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
1248
pf_check_transport_protocol(IPPROTO_TCP);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
138
{IPPROTO_TCP, ETHERTYPE_IP, IPV4_TYPE_HEADER_OFFSET},
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
139
{IPPROTO_TCP, ETHERTYPE_IPV6, IPV6_TYPE_HEADER_OFFSET},
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
157
{IPPROTO_TCP, (DL_IPNETINFO_VERSION << 8 | AF_INET),
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
159
{IPPROTO_TCP, (DL_IPNETINFO_VERSION << 8 | AF_INET6),
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
191
{IPPROTO_TCP, ETHERTYPE_IP, IPV4_TYPE_HEADER_OFFSET},
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
192
{IPPROTO_TCP, ETHERTYPE_IPV6, IPV6_TYPE_HEADER_OFFSET},
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rpc.c
212
if (type == IPPROTO_TCP) { /* record mark */
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rpc.c
91
if (type == IPPROTO_TCP) { /* record mark */
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rport.c
149
case IPPROTO_TCP: pt = pt_tcp; break;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rport.c
167
case IPPROTO_TCP: pt = pt_tcp; break;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rport.c
355
proto != IPPROTO_TCP) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rport.c
360
if (dst == IPPORT_SYSLOG && proto != IPPROTO_TCP) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
1441
if (curr_proto == IPPROTO_TCP)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
1476
char *prototag = (curr_proto == IPPROTO_TCP? "/tcp" : "");
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
1487
if (curr_proto == IPPROTO_TCP)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
1514
if (curr_proto == IPPROTO_TCP)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
173
if (flags & F_DTAIL && curr_proto == IPPROTO_TCP) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
726
if (curr_proto == IPPROTO_TCP)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
766
char *prototag = (curr_proto == IPPROTO_TCP ? "/tcp" : "");
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_slp.c
811
if (curr_proto == IPPROTO_TCP &&
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_tcp.c
133
sunrpc = !reservedport(IPPROTO_TCP, ntohs(tcp->th_dport)) &&
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_tcp.c
134
!reservedport(IPPROTO_TCP, ntohs(tcp->th_sport)) &&
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_tcp.c
147
pname = getportname(IPPROTO_TCP, ntohs(tcp->th_dport));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_tcp.c
216
if (!interpret_reserved(flags, IPPROTO_TCP,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_tcp.c
219
interpret_rpc(flags, data, fraglen, IPPROTO_TCP);
usr/src/cmd/dcs/sparc/sun4u/rdr_messages.c
411
if (rdr_setopt(fd, TCP_NODELAY, IPPROTO_TCP) != RDR_OK) {
usr/src/cmd/fs.d/nfs/lib/nfs_tbind.c
423
opt->level = IPPROTO_TCP;
usr/src/cmd/idmap/idmapd/idmap_config.c
528
.ai_protocol = IPPROTO_TCP,
usr/src/cmd/ipf/lib/ipft_ef.c
102
if (ip->ip_p == IPPROTO_TCP)
usr/src/cmd/ipf/lib/ipft_ef.c
98
case IPPROTO_TCP :
usr/src/cmd/ipf/lib/ipft_td.c
149
case IPPROTO_TCP :
usr/src/cmd/ipf/lib/ipft_td.c
153
if (ip->ip_p == IPPROTO_TCP)
usr/src/cmd/ipf/lib/ipft_tx.c
228
ip->ip_p = IPPROTO_TCP;
usr/src/cmd/ipf/lib/ipft_tx.c
249
if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) {
usr/src/cmd/ipf/lib/ipft_tx.c
259
if (ip->ip_p == IPPROTO_TCP) {
usr/src/cmd/ipf/lib/ipft_tx.c
269
if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) {
usr/src/cmd/ipf/lib/ipft_tx.c
282
if (*cpp && ip->ip_p == IPPROTO_TCP) {
usr/src/cmd/ipf/lib/ipft_tx.c
321
if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
usr/src/cmd/ipf/lib/printaps.c
42
if ((ap.aps_p == IPPROTO_TCP) && (opts & OPT_VERBOSE)) {
usr/src/cmd/ipf/lib/printfr.c
178
if ((fp->fr_proto == IPPROTO_TCP) &&
usr/src/cmd/ipf/lib/printpacket.c
58
if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
usr/src/cmd/ipf/lib/printpacket.c
63
if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
usr/src/cmd/ipf/lib/printpacket.c
65
if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
usr/src/cmd/ipf/lib/printpacket6.c
29
if (p == IPPROTO_TCP || p == IPPROTO_UDP)
usr/src/cmd/ipf/lib/printpacket6.c
38
if (p == IPPROTO_TCP || p == IPPROTO_UDP)
usr/src/cmd/ipf/lib/printstate.c
32
if (ips.is_p == IPPROTO_TCP) {
usr/src/cmd/ipf/tools/ipf_y.y
1238
| IPFY_STRICT { DOALL(if (fr->fr_proto != IPPROTO_TCP) { \
usr/src/cmd/ipf/tools/ipf_y.y
1243
| IPFY_NEWISN { DOALL(if (fr->fr_proto != IPPROTO_TCP) { \
usr/src/cmd/ipf/tools/ipf_y.y
795
if (frc->fr_proto != IPPROTO_TCP)
usr/src/cmd/ipf/tools/ipfcomp.c
611
if ((ipf->fri_ip.fi_p == IPPROTO_TCP) &&
usr/src/cmd/ipf/tools/ipfstat.c
1263
if (((ips.is_p == IPPROTO_TCP) ||
usr/src/cmd/ipf/tools/ipfstat.c
1270
if ((topclosed == 0) && (ips.is_p == IPPROTO_TCP) &&
usr/src/cmd/ipf/tools/ipfstat.c
1314
if ((ips.is_p == IPPROTO_TCP) ||
usr/src/cmd/ipf/tools/ipfstat.c
1491
if ((tp->st_p == IPPROTO_TCP) ||
usr/src/cmd/ipf/tools/ipftest.c
782
case IPPROTO_TCP :
usr/src/cmd/ipf/tools/ipmon.c
1129
if ((p == IPPROTO_TCP || p == IPPROTO_UDP) && !off) {
usr/src/cmd/ipf/tools/ipmon.c
1141
if (p == IPPROTO_TCP) {
usr/src/cmd/ipf/tools/ipmon.c
1193
((ipc->ip_p == IPPROTO_TCP) ||
usr/src/cmd/ipf/tools/ipmon.c
836
if ((sl->isl_p == IPPROTO_TCP) &&
usr/src/cmd/ipf/tools/ipmon.c
856
if (sl->isl_p == IPPROTO_TCP || sl->isl_p == IPPROTO_UDP) {
usr/src/cmd/ipf/tools/ipmon_y.y
520
if (ip->ip_p != IPPROTO_UDP && ip->ip_p != IPPROTO_TCP)
usr/src/cmd/ipf/tools/ipmon_y.y
569
if (ip->ip_p != IPPROTO_UDP && ip->ip_p != IPPROTO_TCP)
usr/src/cmd/ipf/tools/ipnat_y.y
251
setnatproto(IPPROTO_TCP);
usr/src/cmd/ipf/tools/ipnat_y.y
261
setnatproto(IPPROTO_TCP);
usr/src/cmd/ipf/tools/ipnat_y.y
685
tcpudp: | IPNY_TCP { setnatproto(IPPROTO_TCP); }
usr/src/cmd/ipf/tools/ipnat_y.y
712
| IPNY_TCP { $$ = IPPROTO_TCP; }
usr/src/cmd/ipf/tools/ipnat_y.y
926
case IPPROTO_TCP :
usr/src/cmd/krb5/slave/kpropd.c
337
finet = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
usr/src/cmd/mdb/common/modules/genunix/net.c
1059
if (proto == IPPROTO_TCP)
usr/src/cmd/mdb/common/modules/genunix/net.c
1073
if (proto == IPPROTO_TCP)
usr/src/cmd/mdb/common/modules/genunix/net.c
1090
if ((ncb->opts & NETSTAT_VERBOSE) && proto == IPPROTO_TCP)
usr/src/cmd/mdb/common/modules/genunix/net.c
1203
status = netstat_print_common("tcp_conn_cache", IPPROTO_TCP,
usr/src/cmd/mdb/common/modules/ip/ip.c
1303
case IPPROTO_TCP: {
usr/src/cmd/mdb/common/modules/mac/mac.c
85
case IPPROTO_TCP:
usr/src/cmd/ndmpd/ndmp/ndmpd_util.c
949
if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &val, sizeof (val)) != 0)
usr/src/cmd/rpcbind/pmap_svc.c
204
} else if (reg.pm_prot == IPPROTO_TCP) {
usr/src/cmd/rpcbind/rpcb_svc_com.c
1613
pmap.pm_prot = IPPROTO_TCP;
usr/src/cmd/rpcbind/rpcb_svc_com.c
1667
prot = IPPROTO_TCP;
usr/src/cmd/rpcbind/rpcbind.c
640
pml->pml_map.pm_prot = IPPROTO_TCP;
usr/src/cmd/rpcinfo/rpcinfo.c
552
else if (head->pml_map.pm_prot == IPPROTO_TCP)
usr/src/cmd/rpcinfo/rpcinfo.c
810
else if (pmaphead->pml_map.pm_prot == IPPROTO_TCP)
usr/src/cmd/sendmail/src/milter.c
1185
setsockopt(m->mf_sock, IPPROTO_TCP, TCP_NODELAY,
usr/src/cmd/sendmail/src/milter.c
416
setsockopt(m->mf_sock, IPPROTO_TCP, TCP_CORK, (char *)&cork,
usr/src/cmd/sendmail/src/milter.c
425
setsockopt(m->mf_sock, IPPROTO_TCP, TCP_CORK, (char *)&cork,
usr/src/cmd/smbsrv/smbd/smbd_join.c
221
(void) setsockopt(sock, IPPROTO_TCP,
usr/src/cmd/truss/codes.c
2634
case IPPROTO_TCP: return ("IPPROTO_TCP");
usr/src/cmd/truss/print.c
2270
case IPPROTO_TCP: outstring(pri, tcp_optname(pri, val));
usr/src/cmd/vscan/vscand/vs_eng.c
731
(setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY,
usr/src/cmd/ypcmd/rpc_bootstrap.c
333
IPPROTO_TCP;
usr/src/cmd/ypcmd/ypserv_resolv.c
231
proto = IPPROTO_TCP;
usr/src/common/inet/inet_hash.c
321
case IPPROTO_TCP:
usr/src/lib/libadutils/common/srv_query.c
568
hints.ai_protocol = IPPROTO_TCP;
usr/src/lib/libc/port/gen/klpdlib.c
192
*proto = IPPROTO_TCP;
usr/src/lib/libdhcpagent/common/dhcpagent_ipc.c
387
(void) setsockopt(fd, IPPROTO_TCP, TCP_ANONPRIVBIND, &on, sizeof (on));
usr/src/lib/libdladm/common/flowattr.c
321
if (protocol == IPPROTO_TCP)
usr/src/lib/libdladm/common/flowattr.c
339
return (IPPROTO_TCP);
usr/src/lib/libipmp/common/ipmp_mpathd.c
74
(void) setsockopt(fd, IPPROTO_TCP, TCP_ANONPRIVBIND, &on, sizeof (on));
usr/src/lib/libnisdb/ldap_cto.c
64
if (setsockopt(ret, IPPROTO_TCP, TCP_CONN_ABORT_THRESHOLD,
usr/src/lib/libnsl/nis/gen/nis_subr.c
753
IPPROTO_UDP : IPPROTO_TCP;
usr/src/lib/libnsl/nss/netdir_inet_sundry.c
974
opt->level = IPPROTO_TCP;
usr/src/lib/libnsl/rpc/clnt_vc.c
399
opt->level = IPPROTO_TCP;
usr/src/lib/libnsl/rpc/clnt_vc.c
431
opt->level = IPPROTO_TCP;
usr/src/lib/libnsl/rpc/pmap_clnt.c
71
if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP))
usr/src/lib/libnsl/rpc/rpc_soc.c
109
proto = strcmp(tp, "udp") == 0 ? IPPROTO_UDP : IPPROTO_TCP;
usr/src/lib/libnsl/rpc/rpc_td.c
72
opt->level = IPPROTO_TCP;
usr/src/lib/libnsl/rpc/rpcb_clnt.c
983
IPPROTO_UDP : IPPROTO_TCP;
usr/src/lib/libresolv2/common/irs/getaddrinfo.c
164
{ PF_INET6, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 },
usr/src/lib/libresolv2/common/irs/getaddrinfo.c
167
{ PF_INET, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 },
usr/src/lib/libresolv2/common/resolv/res_send.c
691
(void)setsockopt(statp->_vcsock, IPPROTO_TCP,
usr/src/lib/libsip/common/sip_itf.c
428
if (transport == IPPROTO_TCP) {
usr/src/lib/libsip/common/sip_itf.c
570
if (transport == IPPROTO_TCP) {
usr/src/lib/libsocket/inet/bindresvport.c
80
level = IPPROTO_TCP;
usr/src/lib/libsocket/inet/getaddrinfo.c
279
case IPPROTO_TCP:
usr/src/lib/libsocket/inet/getaddrinfo.c
308
aip->ai_protocol = IPPROTO_TCP;
usr/src/lib/libsocket/inet/getaddrinfo.c
354
case IPPROTO_TCP:
usr/src/lib/libsocket/inet/getaddrinfo.c
384
SP_ADDX(SOCK_STREAM, IPPROTO_TCP, port);
usr/src/lib/libsocket/inet/getaddrinfo.c
828
*proto = IPPROTO_TCP;
usr/src/lib/libsocket/inet/rcmd.c
474
if (setsockopt(s, IPPROTO_TCP, TCP_ANONPRIVBIND, &on,
usr/src/lib/libsocket/inet/rcmd.c
506
(void) setsockopt(s, IPPROTO_TCP, TCP_ANONPRIVBIND, &off,
usr/src/lib/print/libhttp-core/common/http.c
581
setsockopt(http->fd, IPPROTO_TCP, TCP_NODELAY, (char *)&val, sizeof(val));
usr/src/lib/print/libhttp-core/common/http.c
583
setsockopt(http->fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val));
usr/src/stand/lib/fs/nfs/clnt_btcp.c
157
*sockp = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
usr/src/stand/lib/inet/ipv4.c
796
(type == INETBOOT_STREAM && iphp->ip_p != IPPROTO_TCP)) {
usr/src/stand/lib/sock/socket.c
250
case IPPROTO_TCP:
usr/src/stand/lib/sock/socket.c
380
case IPPROTO_TCP:
usr/src/stand/lib/tcp/tcp.c
400
isp->proto = IPPROTO_TCP;
usr/src/stand/lib/tcp/tcp.c
5496
tcp->tcp_ipha->ip_p = IPPROTO_TCP;
usr/src/stand/lib/tcp/tcp.c
7071
case IPPROTO_TCP: {
usr/src/test/os-tests/tests/mac/mac_parsing.c
163
append_ip4(tp, IPPROTO_TCP);
usr/src/test/os-tests/tests/mac/mac_parsing.c
173
.meoi_l4proto = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
186
append_ip6(tp, IPPROTO_TCP);
usr/src/test/os-tests/tests/mac/mac_parsing.c
196
.meoi_l4proto = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
214
.ip_p = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
227
.meoi_l4proto = IPPROTO_TCP
usr/src/test/os-tests/tests/mac/mac_parsing.c
259
.ip6o_type = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
284
.meoi_l4proto = IPPROTO_TCP
usr/src/test/os-tests/tests/mac/mac_parsing.c
301
.ip_p = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
313
.meoi_l4proto = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
345
.ip6o_type = IPPROTO_TCP,
usr/src/test/os-tests/tests/mac/mac_parsing.c
369
.meoi_l4proto = IPPROTO_TCP,
usr/src/test/os-tests/tests/sockfs/so_protocol.c
47
.sp_expprot = IPPROTO_TCP
usr/src/test/os-tests/tests/sockfs/so_protocol.c
52
.sp_prot = IPPROTO_TCP,
usr/src/test/os-tests/tests/sockfs/so_protocol.c
53
.sp_expprot = IPPROTO_TCP
usr/src/test/os-tests/tests/sockfs/so_protocol.c
83
.sp_expprot = IPPROTO_TCP
usr/src/test/os-tests/tests/sockfs/so_protocol.c
88
.sp_prot = IPPROTO_TCP,
usr/src/test/os-tests/tests/sockfs/so_protocol.c
89
.sp_expprot = IPPROTO_TCP
usr/src/test/os-tests/tests/tcpsig/tcpsig.c
502
if (getsockopt(conn, IPPROTO_TCP, TCP_MD5SIG, &opt, &optlen) != 0) {
usr/src/test/os-tests/tests/tcpsig/tcpsig.c
627
if (setsockopt(src, IPPROTO_TCP, TCP_MD5SIG, &x, sizeof (x)) != 0) {
usr/src/test/os-tests/tests/tcpsig/tcpsig.c
643
if (setsockopt(dst, IPPROTO_TCP, TCP_MD5SIG, &x, sizeof (x)) != 0) {
usr/src/ucblib/librpcsoc/clnt_tcp.c
136
if ((port = pmap_getport(raddr, prog, vers, IPPROTO_TCP))
usr/src/ucblib/librpcsoc/clnt_tcp.c
149
*sockp = _socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
usr/src/ucblib/librpcsoc/svc_tcp.c
118
if ((sock = _socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
usr/src/uts/common/fs/nfs/nfs_dlinet.c
337
if (ping_prog(args->addr, NFS_PROGRAM, NFS_V4, IPPROTO_TCP,
usr/src/uts/common/fs/nfs/nfs_dlinet.c
339
proto = IPPROTO_TCP;
usr/src/uts/common/fs/nfs/nfs_dlinet.c
366
case IPPROTO_TCP:
usr/src/uts/common/fs/nfs/nfs_dlinet.c
470
if (ping_prog(sa, NFS_PROGRAM, NFS_VERSION, IPPROTO_TCP, NULL))
usr/src/uts/common/fs/nfs/nfs_dlinet.c
471
*proto = IPPROTO_TCP;
usr/src/uts/common/fs/nfs/nfs_dlinet.c
566
if (ping_prog(sa, NFS_PROGRAM, NFS_V3, IPPROTO_TCP, NULL)) {
usr/src/uts/common/fs/nfs/nfs_dlinet.c
567
*proto = IPPROTO_TCP;
usr/src/uts/common/fs/nfs/nfs_dlinet.c
591
case IPPROTO_TCP:
usr/src/uts/common/fs/nfs/nfs_dlinet.c
615
} while (stat == RPC_TIMEDOUT && proto == IPPROTO_TCP && retries--);
usr/src/uts/common/fs/proc/prsubr.c
2870
if (SOP_GETSOCKOPT(so, IPPROTO_TCP, TCP_CONGESTION,
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
835
level = IPPROTO_TCP;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
840
level = IPPROTO_TCP;
usr/src/uts/common/fs/smbsrv/smb_server.c
1899
(void) ksocket_setsockopt(s_so, IPPROTO_TCP, TCP_NODELAY,
usr/src/uts/common/fs/sockfs/socktpi.c
373
(so->so_protocol == IPPROTO_TCP || so->so_protocol == IPPROTO_UDP ||
usr/src/uts/common/fs/sockfs/socktpi.c
464
so->so_protocol == IPPROTO_TCP ||
usr/src/uts/common/inet/ilb/ilb.c
1690
case IPPROTO_TCP:
usr/src/uts/common/inet/ilb/ilb.c
530
if (cmd->proto != IPPROTO_TCP && cmd->proto != IPPROTO_UDP)
usr/src/uts/common/inet/ilb/ilb.c
680
case IPPROTO_TCP:
usr/src/uts/common/inet/ilb/ilb_conn.c
252
if (connp->conn_l4 != IPPROTO_TCP)
usr/src/uts/common/inet/ilb/ilb_conn.c
811
case (IPPROTO_TCP):
usr/src/uts/common/inet/ilb/ilb_conn.c
932
if (l4 != IPPROTO_TCP && l4 != IPPROTO_UDP)
usr/src/uts/common/inet/ilb/ilb_conn.c
957
if (l4 != IPPROTO_TCP && l4 != IPPROTO_UDP)
usr/src/uts/common/inet/ilb/ilb_nat.c
426
case IPPROTO_TCP:
usr/src/uts/common/inet/ilb/ilb_nat.c
497
case IPPROTO_TCP:
usr/src/uts/common/inet/ilb_ip.h
93
((proto) == IPPROTO_TCP || (proto) == IPPROTO_UDP || \
usr/src/uts/common/inet/ip/conn_opt.c
1004
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/conn_opt.c
1065
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/conn_opt.c
2105
if ((error = secpolicy_net_privaddr(cr, 0, IPPROTO_TCP)) != 0) {
usr/src/uts/common/inet/ip/icmp.c
2019
connp->conn_proto == IPPROTO_TCP ||
usr/src/uts/common/inet/ip/icmp.c
3247
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip.c
1790
case IPPROTO_TCP: {
usr/src/uts/common/inet/ip/ip.c
2120
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6.c
589
case IPPROTO_TCP: {
usr/src/uts/common/inet/ip/ip6.c
801
case IPPROTO_TCP: {
usr/src/uts/common/inet/ip/ip6_input.c
1655
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6_input.c
1705
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6_input.c
1746
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6_input.c
1807
ASSERT(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP ||
usr/src/uts/common/inet/ip/ip6_input.c
1839
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6_input.c
2041
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6_input.c
2100
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip6_input.c
2142
connp = ipcl_classify_v6(mp, IPPROTO_TCP, ip_hdr_length,
usr/src/uts/common/inet/ip/ip6_output.c
740
if (protocol == IPPROTO_TCP) {
usr/src/uts/common/inet/ip/ip6_output.c
844
if (protocol == IPPROTO_TCP) {
usr/src/uts/common/inet/ip/ip_input.c
1329
if (ipha->ipha_protocol == IPPROTO_TCP) {
usr/src/uts/common/inet/ip/ip_input.c
2041
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip_input.c
2091
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip_input.c
2131
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip_input.c
2176
ASSERT(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP);
usr/src/uts/common/inet/ip/ip_input.c
2207
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip_input.c
2385
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip_input.c
2441
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ip_input.c
2489
connp = ipcl_classify_v4(mp, IPPROTO_TCP, ip_hdr_length,
usr/src/uts/common/inet/ip/ip_output.c
1637
if (protocol == IPPROTO_TCP) {
usr/src/uts/common/inet/ip/ip_output.c
1726
if (protocol == IPPROTO_TCP) {
usr/src/uts/common/inet/ip/ipclassifier.c
1220
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ipclassifier.c
1235
IPPROTO_TCP, AF_INET,
usr/src/uts/common/inet/ip/ipclassifier.c
1284
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ipclassifier.c
1309
IPPROTO_TCP, addr_family, laddrp, lport, NULL);
usr/src/uts/common/inet/ip/ipclassifier.c
1349
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ipclassifier.c
1448
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ipclassifier.c
1549
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ipclassifier.c
1696
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/ipclassifier.c
1961
connp->conn_proto = IPPROTO_TCP;
usr/src/uts/common/inet/ip/ipclassifier.c
2424
if (IPCL_CONN_MATCH(tconnp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/ipclassifier.c
2478
if (IPCL_CONN_MATCH_V6(tconnp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/ipclassifier.c
2518
if (IPCL_CONN_MATCH(tconnp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/ipclassifier.c
2559
if (IPCL_CONN_MATCH_V6(tconnp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/ipclassifier.c
2600
if (IPCL_BIND_MATCH(connp, IPPROTO_TCP, laddr, lport) &&
usr/src/uts/common/inet/ip/ipclassifier.c
2638
if (IPCL_BIND_MATCH_V6(connp, IPPROTO_TCP, *laddr, lport) &&
usr/src/uts/common/inet/ip/ipclassifier.c
775
IPPROTO_TCP, addr_family, laddrp, connp->conn_lport, NULL);
usr/src/uts/common/inet/ip/ipsecesp.c
681
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/sadb.c
6605
if (IPCL_BIND_MATCH(connp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/sadb.c
6620
if (IPCL_BIND_MATCH_V6(connp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/sadb.c
6671
if (IPCL_CONN_MATCH(connp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/sadb.c
6679
if (IPCL_CONN_MATCH_V6(connp, IPPROTO_TCP,
usr/src/uts/common/inet/ip/sadb.c
7064
case IPPROTO_TCP:
usr/src/uts/common/inet/ip/spd.c
1769
if ((ulp == IPPROTO_TCP || ulp == IPPROTO_UDP || ulp == IPPROTO_SCTP) &&
usr/src/uts/common/inet/ip/spd.c
2775
if ((nexthdr != IPPROTO_TCP && nexthdr != IPPROTO_UDP &&
usr/src/uts/common/inet/ip/spd.c
2872
if (nexthdr != IPPROTO_TCP && nexthdr != IPPROTO_UDP &&
usr/src/uts/common/inet/ip/tnet.c
1499
if (proto != IPPROTO_TCP && proto != IPPROTO_UDP &&
usr/src/uts/common/inet/ip_impl.h
54
#define IP_TCP_CSUM_COMP IPPROTO_TCP
usr/src/uts/common/inet/ip_impl.h
60
#define IP_TCP_CSUM_COMP (IPPROTO_TCP << 8)
usr/src/uts/common/inet/ipf/fil.c
1395
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/fil.c
1642
if (err && (fin->fin_p == IPPROTO_TCP)) {
usr/src/uts/common/inet/ipf/fil.c
3008
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/fil.c
3088
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/fil.c
406
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/fil.c
6013
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/fil.c
7609
if ((nat->nat_p == IPPROTO_TCP) &&
usr/src/uts/common/inet/ipf/fil.c
7617
if ((is->is_p == IPPROTO_TCP) &&
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1372
ip6->ip6_nxt = IPPROTO_TCP;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1373
tcp2->th_sum = fr_cksum(m, (ip_t *)ip6, IPPROTO_TCP, tcp2);
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1381
ip->ip_p = IPPROTO_TCP;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1384
tcp2->th_sum = fr_cksum(m, ip, IPPROTO_TCP, tcp2);
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2725
ASSERT(fin->fin_p == IPPROTO_TCP);
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2731
if ((fin->fin_v == 4) && (fin->fin_p == IPPROTO_TCP) &&
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2746
else if ((fin->fin_v == 6) && (fin->fin_p == IPPROTO_TCP) &&
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2835
if ((fin->fin_p == IPPROTO_TCP) &&
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
3022
if ((fin->fin_p == IPPROTO_TCP) &&
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
3265
(fin->fin_p == IPPROTO_TCP)) {
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
3297
case IPPROTO_TCP:
usr/src/uts/common/inet/ipf/ip_log.c
270
if (p == IPPROTO_TCP)
usr/src/uts/common/inet/ipf/ip_nat.c
2916
if (p == IPPROTO_TCP)
usr/src/uts/common/inet/ipf/ip_nat.c
3058
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
3120
if ((oip->ip_p == IPPROTO_TCP) && (dlen >= 18)) {
usr/src/uts/common/inet/ipf/ip_nat.c
3290
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
3346
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
3542
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
3587
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
3701
fi.fin_p = IPPROTO_TCP;
usr/src/uts/common/inet/ipf/ip_nat.c
3836
if (nat->nat_p == IPPROTO_TCP && ifq2 == NULL) {
usr/src/uts/common/inet/ipf/ip_nat.c
3901
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
4224
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
4543
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
5280
if (clone->nat_p == IPPROTO_TCP) {
usr/src/uts/common/inet/ipf/ip_nat.c
5455
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat.c
5832
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
1134
if (p == IPPROTO_TCP)
usr/src/uts/common/inet/ipf/ip_nat6.c
1272
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
1334
if ((oip6->ip6_nxt == IPPROTO_TCP) && (dlen >= 18)) {
usr/src/uts/common/inet/ipf/ip_nat6.c
1501
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
1557
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
1752
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
1797
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
1913
fi.fin_p = IPPROTO_TCP;
usr/src/uts/common/inet/ipf/ip_nat6.c
2058
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_nat6.c
2339
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_proxy.c
128
{ NULL, "ftp", (char)IPPROTO_TCP, 0, 0, NULL, ippr_ftp_init, ippr_ftp_fini,
usr/src/uts/common/inet/ipf/ip_proxy.c
132
{ NULL, "irc", (char)IPPROTO_TCP, 0, 0, NULL, ippr_irc_init, ippr_irc_fini,
usr/src/uts/common/inet/ipf/ip_proxy.c
136
{ NULL, "rcmd", (char)IPPROTO_TCP, 0, 0, NULL, ippr_rcmd_init, ippr_rcmd_fini,
usr/src/uts/common/inet/ipf/ip_proxy.c
140
{ NULL, "raudio", (char)IPPROTO_TCP, 0, 0, NULL, ippr_raudio_init, ippr_raudio_fini,
usr/src/uts/common/inet/ipf/ip_proxy.c
144
{ NULL, "msnrpc", (char)IPPROTO_TCP, 0, 0, NULL, ippr_msnrpc_init, ippr_msnrpc_fini,
usr/src/uts/common/inet/ipf/ip_proxy.c
157
{ NULL, "pptp", (char)IPPROTO_TCP, 0, 0, NULL,
usr/src/uts/common/inet/ipf/ip_proxy.c
162
{ NULL, "h323", (char)IPPROTO_TCP, 0, 0, NULL, ippr_h323_init, ippr_h323_fini,
usr/src/uts/common/inet/ipf/ip_proxy.c
164
{ NULL, "h245", (char)IPPROTO_TCP, 0, 0, NULL, NULL, NULL,
usr/src/uts/common/inet/ipf/ip_proxy.c
169
{ NULL, "rpcbt", (char)IPPROTO_TCP, 0, 0, NULL,
usr/src/uts/common/inet/ipf/ip_proxy.c
512
if (fin->fin_p == IPPROTO_TCP)
usr/src/uts/common/inet/ipf/ip_proxy.c
536
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_state.c
1314
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_state.c
1504
if (fin->fin_p == IPPROTO_TCP) {
usr/src/uts/common/inet/ipf/ip_state.c
2073
if (clone->is_p == IPPROTO_TCP) {
usr/src/uts/common/inet/ipf/ip_state.c
2541
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_state.c
2816
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_state.c
2835
if (pr == IPPROTO_TCP) {
usr/src/uts/common/inet/ipf/ip_state.c
3043
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_state.c
3978
if (ipsl.isl_p == IPPROTO_TCP || ipsl.isl_p == IPPROTO_UDP) {
usr/src/uts/common/inet/ipf/ip_state.c
3981
if (ipsl.isl_p == IPPROTO_TCP) {
usr/src/uts/common/inet/ipf/ip_state.c
4144
if ((oip6->ip6_nxt == IPPROTO_TCP) || (oip6->ip6_nxt == IPPROTO_UDP)) {
usr/src/uts/common/inet/ipf/ip_state.c
4325
case IPPROTO_TCP :
usr/src/uts/common/inet/ipf/ip_state.c
995
case IPPROTO_TCP:
usr/src/uts/common/inet/ipf/netinet/ip_rpcb_pxy.c
1146
xp->xp_proto = IPPROTO_TCP;
usr/src/uts/common/inet/ipf/netinet/ip_rpcb_pxy.c
1202
if (proto == IPPROTO_TCP) {
usr/src/uts/common/inet/ipf/netinet/ip_rpcb_pxy.c
489
if (!(xdr == IPPROTO_UDP || xdr == IPPROTO_TCP))
usr/src/uts/common/inet/tcp/tcp.c
2045
connp->conn_proto = IPPROTO_TCP;
usr/src/uts/common/inet/tcp/tcp.c
2372
tcp->tcp_ccv.type = IPPROTO_TCP;
usr/src/uts/common/inet/tcp/tcp.c
576
ASSERT(connp->conn_proto == IPPROTO_TCP);
usr/src/uts/common/inet/tcp/tcp_bind.c
272
IPPROTO_TCP, B_TRUE)) != 0) {
usr/src/uts/common/inet/tcp/tcp_bind.c
304
next_priv_port, IPPROTO_TCP, B_FALSE)) != 0) {
usr/src/uts/common/inet/tcp/tcp_bind.c
369
mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP,
usr/src/uts/common/inet/tcp/tcp_bind.c
399
IPPROTO_TCP) != 0) {
usr/src/uts/common/inet/tcp/tcp_bind.c
421
mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP,
usr/src/uts/common/inet/tcp/tcp_bind.c
449
mlpzone = tsol_mlp_findzone(IPPROTO_TCP,
usr/src/uts/common/inet/tcp/tcp_input.c
2548
ASSERT(nexthdrp == IPPROTO_TCP);
usr/src/uts/common/inet/tcp/tcp_input.c
5781
ipha->ipha_protocol != IPPROTO_TCP ||
usr/src/uts/common/inet/tcp/tcp_input.c
5907
if ((*nexthdrp != IPPROTO_TCP) ||
usr/src/uts/common/inet/tcp/tcp_opt_data.c
101
{ TCP_NOTIFY_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
104
{ TCP_ABORT_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
107
{ TCP_CONN_NOTIFY_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
110
{ TCP_CONN_ABORT_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
113
{ TCP_RECVDSTADDR, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int),
usr/src/uts/common/inet/tcp/tcp_opt_data.c
116
{ TCP_ANONPRIVBIND, IPPROTO_TCP, OA_R, OA_RW, OP_PRIVPORT, 0,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
119
{ TCP_EXCLBIND, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0
usr/src/uts/common/inet/tcp/tcp_opt_data.c
122
{ TCP_INIT_CWND, IPPROTO_TCP, OA_RW, OA_RW, OP_CONFIG, 0,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
125
{ TCP_KEEPALIVE_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
128
{ TCP_KEEPIDLE, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
130
{ TCP_KEEPCNT, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
132
{ TCP_KEEPINTVL, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
134
{ TCP_KEEPALIVE_ABORT_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
137
{ TCP_CORK, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
139
{ TCP_QUICKACK, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
141
{ TCP_MD5SIG, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
143
{ TCP_RTO_INITIAL, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (uint32_t), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
145
{ TCP_RTO_MIN, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (uint32_t), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
147
{ TCP_RTO_MAX, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (uint32_t), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
149
{ TCP_LINGER2, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
151
{ TCP_CONGESTION, IPPROTO_TCP, OA_RW, OA_RW, OP_NP,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
261
IPPROTO_TCP,
usr/src/uts/common/inet/tcp/tcp_opt_data.c
307
case IPPROTO_TCP:
usr/src/uts/common/inet/tcp/tcp_opt_data.c
333
case IPPROTO_TCP:
usr/src/uts/common/inet/tcp/tcp_opt_data.c
404
case IPPROTO_TCP:
usr/src/uts/common/inet/tcp/tcp_opt_data.c
689
case IPPROTO_TCP:
usr/src/uts/common/inet/tcp/tcp_opt_data.c
96
{ TCP_NODELAY, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0
usr/src/uts/common/inet/tcp/tcp_opt_data.c
98
{ TCP_MAXSEG, IPPROTO_TCP, OA_R, OA_R, OP_NP, 0, sizeof (uint_t),
usr/src/uts/common/inet/tcp/tcp_output.c
2562
ixa->ixa_protocol = IPPROTO_TCP;
usr/src/uts/common/inet/tcp/tcp_output.c
2630
ip6h->ip6_nxt = IPPROTO_TCP;
usr/src/uts/common/inet/tcp/tcp_sig.c
1215
ipp.ipp_proto = IPPROTO_TCP;
usr/src/uts/common/inet/tcp/tcp_sig.c
1242
ip6p.ipp_nxt = htonl(IPPROTO_TCP);
usr/src/uts/common/inet/tcp/tcp_sig.c
206
addrext->sadb_address_proto = IPPROTO_TCP;
usr/src/uts/common/inet/tcp/tcp_socket.c
443
if (level == IPPROTO_TCP) {
usr/src/uts/common/inet/tcp/tcp_socket.c
768
(proto != 0 && proto != IPPROTO_TCP)) {
usr/src/uts/common/inet/tcp_cluster.h
101
IPPROTO_TCP, AF_INET, \
usr/src/uts/common/inet/tcp_cluster.h
112
IPPROTO_TCP, AF_INET6, \
usr/src/uts/common/inet/tcp_cluster.h
70
IPPROTO_TCP, is_outgoing, AF_INET, \
usr/src/uts/common/inet/tcp_cluster.h
81
IPPROTO_TCP, is_outgoing, AF_INET6, \
usr/src/uts/common/io/bge/bge_send.c
286
buf += iphl + ((proto == IPPROTO_TCP) ?
usr/src/uts/common/io/bnxe/bnxe_rr.c
128
case IPPROTO_TCP:
usr/src/uts/common/io/chxge/ch.c
1774
} else if (ihdr->ipha_protocol == IPPROTO_TCP) {
usr/src/uts/common/io/chxge/sge.c
992
((skb->b_rptr[14+9] == IPPROTO_TCP) ||
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2571
meoi->meoi_l4proto == IPPROTO_TCP) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2574
meoi->meoi_l4proto == IPPROTO_TCP) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2668
meoi->meoi_l4proto == IPPROTO_TCP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
1777
buf += iphl + ((proto == IPPROTO_TCP) ?
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4884
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4996
buf += iphl + ((proto == IPPROTO_TCP) ?
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5129
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5221
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/hxge/hxge_txdma.c
417
case IPPROTO_TCP:
usr/src/uts/common/io/i40e/i40e_transceiver.c
1750
case IPPROTO_TCP:
usr/src/uts/common/io/ib/clients/iser/iser_ib.c
611
chan->ic_ibt_path.pi_sid = ibt_get_ip_sid(IPPROTO_TCP, chan->ic_rport);
usr/src/uts/common/io/ib/clients/iser/iser_idm.c
331
iser_svc->is_svcid = ibt_get_ip_sid(IPPROTO_TCP, sr->sr_port);
usr/src/uts/common/io/ib/clients/rds/rdsib_cm.c
772
rdsib_statep->rds_service_id = ibt_get_ip_sid(IPPROTO_TCP,
usr/src/uts/common/io/idm/idm_so.c
704
(void) ksocket_setsockopt(sc->ic_so, IPPROTO_TCP,
usr/src/uts/common/io/idm/idm_so.c
708
(void) ksocket_setsockopt(sc->ic_so, IPPROTO_TCP,
usr/src/uts/common/io/idm/idm_so.c
711
(void) ksocket_setsockopt(sc->ic_so, IPPROTO_TCP,
usr/src/uts/common/io/idm/idm_so.c
727
(void) ksocket_setsockopt(ks, IPPROTO_TCP, TCP_NODELAY,
usr/src/uts/common/io/igb/igb_tx.c
844
case IPPROTO_TCP:
usr/src/uts/common/io/igc/igc_ring.c
1528
if (tx->itx_meoi.meoi_l4proto == IPPROTO_TCP) {
usr/src/uts/common/io/ixgbe/ixgbe_tx.c
839
case IPPROTO_TCP:
usr/src/uts/common/io/ksocket/ksocket.c
74
protocol == IPPROTO_TCP)) {
usr/src/uts/common/io/mac/mac_flow.c
1996
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_flow.c
2328
case IPPROTO_TCP: {
usr/src/uts/common/io/mac/mac_flow.c
2381
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_ktest.c
238
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_ktest.c
436
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_provider.c
2168
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_sched.c
1676
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_sched.c
1849
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_sched.c
1866
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_sched.c
2125
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_sched.c
2179
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_util.c
2090
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_util.c
218
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_util.c
369
case IPPROTO_TCP:
usr/src/uts/common/io/mac/mac_util.c
757
if (meoi.meoi_l4proto != IPPROTO_TCP) {
usr/src/uts/common/io/mlxcx/mlxcx_ring.c
1007
fe->mlfe_ip_proto = IPPROTO_TCP;
usr/src/uts/common/io/mlxcx/mlxcx_ring.c
985
fe->mlfe_ip_proto = IPPROTO_TCP;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1726
ip->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1749
if (ip->ip_p != IPPROTO_TCP && ip->ip_p != IPPROTO_UDP) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2345
if (ip->ip_p == IPPROTO_TCP)
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2355
if (ip6->ip6_nxt == IPPROTO_TCP) {
usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
108
ip->ip_dst.s_addr, htons(tcplen + IPPROTO_TCP));
usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
148
if (ip->ip_p != IPPROTO_TCP)
usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
209
ip->ip_dst.s_addr, htons(tcp_hdr_len + tcp_data_len + IPPROTO_TCP));
usr/src/uts/common/io/ntxn/unm_nic_main.c
663
case IPPROTO_TCP:
usr/src/uts/common/io/ntxn/unm_nic_main.c
949
if ((pktinfo->l4_proto == IPPROTO_TCP) ||
usr/src/uts/common/io/nxge/nxge_fflp.c
1037
tcam_ptr->ip6_nxt_hdr_mask, IPPROTO_TCP);
usr/src/uts/common/io/nxge/nxge_fflp.c
1202
ft.ip_proto = IPPROTO_TCP;
usr/src/uts/common/io/nxge/nxge_fflp.c
983
tcam_ptr->ip4_proto_mask, IPPROTO_TCP);
usr/src/uts/common/io/nxge/nxge_send.c
1310
if (!(oiph->ip_p == IPPROTO_TCP)) {
usr/src/uts/common/io/nxge/nxge_txdma.c
646
case IPPROTO_TCP:
usr/src/uts/common/io/ppp/spppcomp/spppcomp.c
455
IPPROTO_TCP) {
usr/src/uts/common/io/ppp/spppcomp/vjcompress.c
510
setip_p(buf, IPPROTO_TCP);
usr/src/uts/common/io/qede/qede_fp.c
1776
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/rge/rge_rxtx.c
562
if (ip_hdr->ip_p == IPPROTO_TCP)
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_net.c
238
ret += iscsi_net->setsockopt(socket, IPPROTO_TCP,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_net.c
241
ret += iscsi_net->setsockopt(socket, IPPROTO_TCP,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_net.c
244
ret += iscsi_net->setsockopt(socket, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_net.c
246
ret += iscsi_net->setsockopt(socket, IPPROTO_TCP, TCP_NODELAY,
usr/src/uts/common/io/sfe/sfe_util.c
324
if (ipproto == IPPROTO_TCP) {
usr/src/uts/common/io/sfxge/sfxge_tcp.c
142
if (iphp->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/vioif/vioif.c
1337
if (meo.meoi_l4proto != IPPROTO_TCP) {
usr/src/uts/common/ipp/flowacct/flowacct.c
164
case IPPROTO_TCP:
usr/src/uts/common/ipp/flowacct/flowacct.c
252
if ((header->proto == IPPROTO_TCP) ||
usr/src/uts/common/ipp/ipgpc/classifier.c
542
case IPPROTO_TCP:
usr/src/uts/common/ipp/ipgpc/classifier.c
623
if ((packet->proto == IPPROTO_TCP) || (packet->proto == IPPROTO_UDP) ||
usr/src/uts/common/os/klpd.c
251
case IPPROTO_TCP: type = KLPDARG_TCPPORT;
usr/src/uts/common/rpc/clnt_cots.c
2839
(void) connmgr_setopt(wq, IPPROTO_TCP, TCP_NODELAY, e, cr);
usr/src/uts/common/rpc/rpc_subr.c
456
parms.pm_prot = IPPROTO_TCP;
usr/src/uts/common/rpc/rpcib.c
1853
rptp->path.pi_sid = ibt_get_ip_sid(IPPROTO_TCP, nfs_rdma_port);
usr/src/uts/common/rpc/rpcib.c
3453
IPPROTO_TCP, nfs_rdma_port);
usr/src/uts/common/xen/io/xnb.c
312
case IPPROTO_TCP:
usr/src/uts/common/xen/io/xnb.c
326
if (ipha->ipha_protocol == IPPROTO_TCP) {
usr/src/uts/common/xen/io/xnf.c
1618
case IPPROTO_TCP:
usr/src/uts/intel/io/viona/viona_tx.c
525
(ipproto == IPPROTO_TCP || ipproto == IPPROTO_UDP)) {
usr/src/uts/intel/io/viona/viona_tx.c
537
(ipproto == IPPROTO_TCP || ipproto == IPPROTO_UDP)) {
usr/src/uts/intel/io/viona/viona_tx.c
548
(ipproto == IPPROTO_TCP || ipproto == IPPROTO_UDP)) {