/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 96 { TCP_NODELAY, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 98 { TCP_MAXSEG, IPPROTO_TCP, OA_R, OA_R, OP_NP, 0, sizeof (uint_t), 101 { TCP_NOTIFY_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 104 { TCP_ABORT_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 107 { TCP_CONN_NOTIFY_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 110 { TCP_CONN_ABORT_THRESHOLD, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 113 { TCP_RECVDSTADDR, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 116 { TCP_ANONPRIVBIND, IPPROTO_TCP, OA_R, OA_RW, OP_PRIVPORT, 0, 119 { TCP_EXCLBIND, IPPROTO_TCP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 122 { TCP_INIT_CWND, IPPROTO_TCP, OA_RW, OA_RW, OP_CONFIG, 0, [all …]
|
H A D | tcp_bind.c | 272 IPPROTO_TCP, B_TRUE)) != 0) { in tcp_update_next_port() 304 next_priv_port, IPPROTO_TCP, B_FALSE)) != 0) { in tcp_get_next_priv_port() 369 mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP, in tcp_bind_select_lport() 399 IPPROTO_TCP) != 0) { in tcp_bind_select_lport() 421 mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP, in tcp_bind_select_lport() 449 mlpzone = tsol_mlp_findzone(IPPROTO_TCP, in tcp_bind_select_lport()
|
/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | so_protocol.c | 47 .sp_expprot = IPPROTO_TCP 52 .sp_prot = IPPROTO_TCP, 53 .sp_expprot = IPPROTO_TCP 83 .sp_expprot = IPPROTO_TCP 88 .sp_prot = IPPROTO_TCP, 89 .sp_expprot = IPPROTO_TCP
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp_cluster.h | 70 IPPROTO_TCP, is_outgoing, AF_INET, \ 81 IPPROTO_TCP, is_outgoing, AF_INET6, \ 101 IPPROTO_TCP, AF_INET, \ 112 IPPROTO_TCP, AF_INET6, \
|
H A D | ip_impl.h | 54 #define IP_TCP_CSUM_COMP IPPROTO_TCP 60 #define IP_TCP_CSUM_COMP (IPPROTO_TCP << 8)
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_tx.c | 228 ip->ip_p = IPPROTO_TCP; 249 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { 259 if (ip->ip_p == IPPROTO_TCP) { 269 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { 282 if (*cpp && ip->ip_p == IPPROTO_TCP) { 321 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
|
H A D | printpacket.c | 58 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) 63 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) 65 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
|
H A D | printpacket6.c | 29 if (p == IPPROTO_TCP || p == IPPROTO_UDP) 38 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
|
H A D | ipft_ef.c | 98 case IPPROTO_TCP : 102 if (ip->ip_p == IPPROTO_TCP)
|
H A D | ipft_td.c | 149 case IPPROTO_TCP : 153 if (ip->ip_p == IPPROTO_TCP)
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_proxy.c | 128 { NULL, "ftp", (char)IPPROTO_TCP, 0, 0, NULL, ippr_ftp_init, ippr_ftp_fini, 132 { NULL, "irc", (char)IPPROTO_TCP, 0, 0, NULL, ippr_irc_init, ippr_irc_fini, 136 { NULL, "rcmd", (char)IPPROTO_TCP, 0, 0, NULL, ippr_rcmd_init, ippr_rcmd_fini, 140 { NULL, "raudio", (char)IPPROTO_TCP, 0, 0, NULL, ippr_raudio_init, ippr_raudio_fini, 144 { NULL, "msnrpc", (char)IPPROTO_TCP, 0, 0, NULL, ippr_msnrpc_init, ippr_msnrpc_fini, 157 { NULL, "pptp", (char)IPPROTO_TCP, 0, 0, NULL, 162 { NULL, "h323", (char)IPPROTO_TCP, 0, 0, NULL, ippr_h323_init, ippr_h323_fini, 164 { NULL, "h245", (char)IPPROTO_TCP, 0, 0, NULL, NULL, NULL, 169 { NULL, "rpcbt", (char)IPPROTO_TCP, 0, 0, NULL, 512 if (fin->fin_p == IPPROTO_TCP) [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/mac/ |
H A D | mac_parsing.c | 160 append_ip4(tp, IPPROTO_TCP); in build_tcp4() 170 .meoi_l4proto = IPPROTO_TCP, in build_tcp4() 183 append_ip6(tp, IPPROTO_TCP); in build_tcp6() 193 .meoi_l4proto = IPPROTO_TCP, in build_tcp6() 211 .ip_p = IPPROTO_TCP, in build_frag_v4() 224 .meoi_l4proto = IPPROTO_TCP in build_frag_v4() 255 .ip6o_type = IPPROTO_TCP, in build_frag_v6() 280 .meoi_l4proto = IPPROTO_TCP in build_frag_v6()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/ |
H A D | tst.ipv4remotetcp.ksh | 75 args[4]->ipv4_protocol == IPPROTO_TCP/ 88 args[4]->ipv4_protocol == IPPROTO_TCP/
|
H A D | tst.ipv4localtcp.ksh | 91 args[4]->ipv4_protocol == IPPROTO_TCP/ 104 args[4]->ipv4_protocol == IPPROTO_TCP/
|
H A D | tst.localtcpstate.ksh | 81 args[4]->ipv4_protocol == IPPROTO_TCP/ 95 args[4]->ipv4_protocol == IPPROTO_TCP/
|
H A D | tst.remotetcpstate.ksh | 98 args[4]->ipv4_protocol == IPPROTO_TCP/ 112 args[4]->ipv4_protocol == IPPROTO_TCP/
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_tcp.c | 133 sunrpc = !reservedport(IPPROTO_TCP, ntohs(tcp->th_dport)) && in interpret_tcp() 134 !reservedport(IPPROTO_TCP, ntohs(tcp->th_sport)) && in interpret_tcp() 147 pname = getportname(IPPROTO_TCP, ntohs(tcp->th_dport)); in interpret_tcp() 216 if (!interpret_reserved(flags, IPPROTO_TCP, in interpret_tcp() 219 interpret_rpc(flags, data, fraglen, IPPROTO_TCP); in interpret_tcp()
|
H A D | snoop_rport.c | 149 case IPPROTO_TCP: pt = pt_tcp; break; in getportname() 167 case IPPROTO_TCP: pt = pt_tcp; break; in reservedport() 355 proto != IPPROTO_TCP) { in interpret_reserved() 360 if (dst == IPPORT_SYSLOG && proto != IPPROTO_TCP) { in interpret_reserved()
|
H A D | snoop_pf.c | 138 {IPPROTO_TCP, ETHERTYPE_IP, IPV4_TYPE_HEADER_OFFSET}, 139 {IPPROTO_TCP, ETHERTYPE_IPV6, IPV6_TYPE_HEADER_OFFSET}, 157 {IPPROTO_TCP, (DL_IPNETINFO_VERSION << 8 | AF_INET), 159 {IPPROTO_TCP, (DL_IPNETINFO_VERSION << 8 | AF_INET6), 191 {IPPROTO_TCP, ETHERTYPE_IP, IPV4_TYPE_HEADER_OFFSET}, 192 {IPPROTO_TCP, ETHERTYPE_IPV6, IPV6_TYPE_HEADER_OFFSET}, 1248 pf_check_transport_protocol(IPPROTO_TCP); in pf_primary()
|
H A D | snoop_slp.c | 173 if (flags & F_DTAIL && curr_proto == IPPROTO_TCP) { in interpret_slp() 726 if (curr_proto == IPPROTO_TCP) in interpret_slp_v2() 766 char *prototag = (curr_proto == IPPROTO_TCP ? "/tcp" : ""); in v2_header() 811 if (curr_proto == IPPROTO_TCP && in v2_header() 1441 if (curr_proto == IPPROTO_TCP) in interpret_slp_v1() 1476 char *prototag = (curr_proto == IPPROTO_TCP? "/tcp" : ""); in v1_header() 1487 if (curr_proto == IPPROTO_TCP) in v1_header() 1514 if (curr_proto == IPPROTO_TCP) in v1_header()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rdate.c | 97 hints.ai_protocol = IPPROTO_TCP; in main() 132 if (setsockopt(s, IPPROTO_TCP, TCP_CONN_ABORT_THRESHOLD, in main()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 279 case IPPROTO_TCP: in _getaddrinfo() 308 aip->ai_protocol = IPPROTO_TCP; in _getaddrinfo() 354 case IPPROTO_TCP: in _getaddrinfo() 389 SP_ADDX(SOCK_STREAM, IPPROTO_TCP, port); in _getaddrinfo() 854 *proto = IPPROTO_TCP; in servtype()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 108 ip->ip_dst.s_addr, htons(tcplen + IPPROTO_TCP)); in myri10ge_lro_flush() 148 if (ip->ip_p != IPPROTO_TCP) in myri10ge_lro_rx() 209 ip->ip_dst.s_addr, htons(tcp_hdr_len + tcp_data_len + IPPROTO_TCP)); in myri10ge_lro_rx()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 775 IPPROTO_TCP, addr_family, laddrp, connp->conn_lport, NULL); in ipcl_conn_unlisten() 1220 case IPPROTO_TCP: in ipcl_bind_insert_v4() 1235 IPPROTO_TCP, AF_INET, in ipcl_bind_insert_v4() 1284 case IPPROTO_TCP: in ipcl_bind_insert_v6() 1309 IPPROTO_TCP, addr_family, laddrp, lport, NULL); in ipcl_bind_insert_v6() 1349 case IPPROTO_TCP: in ipcl_conn_insert_v4() 1448 case IPPROTO_TCP: in ipcl_conn_insert_v6() 1549 case IPPROTO_TCP: in ipcl_classify_v4() 1696 case IPPROTO_TCP: in ipcl_classify_v6() 1961 connp->conn_proto = IPPROTO_TCP; in tcp_conn_constructor() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_cto.c | 64 if (setsockopt(ret, IPPROTO_TCP, TCP_CONN_ABORT_THRESHOLD, in socket()
|