Home
last modified time | relevance | path

Searched refs:IPPROTO_TCP (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/freebsd/sbin/ipf/libipf/
H A Dipft_tx.c210 ip->ip_p = IPPROTO_TCP; in parseline()
231 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline()
241 if (ip->ip_p == IPPROTO_TCP) { in parseline()
251 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline()
264 if (ip->ip_p == IPPROTO_TCP) { in parseline()
318 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in parseline()
356 ip6->ip6_nxt = IPPROTO_TCP; in parseipv6()
378 case IPPROTO_TCP : in parseipv6()
391 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6()
401 if (ip6->ip6_nxt == IPPROTO_TCP) { in parseipv6()
[all …]
H A Dprintpacket.c78 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in printpacket()
83 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in printpacket()
85 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) { in printpacket()
H A Dprintstate.c30 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) { in printstate()
38 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) { in printstate()
45 if (sp->is_p == IPPROTO_TCP) { in printstate()
56 if (sp->is_p == IPPROTO_TCP) { in printstate()
H A Dprintpacket6.c45 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
54 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
/freebsd/sbin/ipf/ipsend/
H A Dipsend.c238 ip->ip_p = IPPROTO_TCP; in main()
286 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in main()
294 if (ip->ip_p == IPPROTO_TCP) in main()
356 if (ip->ip_p == IPPROTO_TCP) { in main()
363 if (ip->ip_p == IPPROTO_TCP) in main()
393 if (ip->ip_p == IPPROTO_TCP && tcp->th_flags) in main()
402 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport) in main()
H A Dresend.c45 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
48 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
50 if (ip->ip_p == IPPROTO_TCP) { in dumppacket()
/freebsd/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c58 { "http://", SOCK_STREAM, IPPROTO_TCP, 80 }, in roken_getaddrinfo_hostspec2()
59 { "http/", SOCK_STREAM, IPPROTO_TCP, 80 }, in roken_getaddrinfo_hostspec2()
60 { "tcp/", SOCK_STREAM, IPPROTO_TCP, 0 }, in roken_getaddrinfo_hostspec2()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DTCPSocket.cpp145 m_socket = Socket::CreateSocket(domain, kType, IPPROTO_TCP, in CreateSocket()
162 AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Connect()
202 host_port->hostname.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Listen()
204 int fd = Socket::CreateSocket(address.GetFamily(), kType, IPPROTO_TCP, in Listen()
321 return SetOption(IPPROTO_TCP, TCP_NODELAY, 1); in SetOptionNoDelay()
/freebsd/sys/netinet/
H A Din_rss.c121 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v4()
167 if ((proto == IPPROTO_TCP) && in xps_proto_software_hash_v4()
280 case IPPROTO_TCP: in rss_mbuf_software_hash_v4()
312 (proto == IPPROTO_TCP) && in rss_mbuf_software_hash_v4()
/freebsd/contrib/tcpdump/
H A Dipproto.h56 #ifndef IPPROTO_TCP
57 #define IPPROTO_TCP 6 /* tcp */ macro
/freebsd/sys/netinet6/
H A Din6_rss.c122 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v6()
169 if ((proto == IPPROTO_TCP) && in xps_proto_software_hash_v6()
311 case IPPROTO_TCP: in rss_mbuf_software_hash_v6()
339 (proto == IPPROTO_TCP)) { in rss_mbuf_software_hash_v6()
/freebsd/usr.sbin/ppp/
H A Dtcpmss.c174 if (pip->ip_p == IPPROTO_TCP && (ntohs(pip->ip_off) & IP_OFFMASK) == 0 && in tcpmss_Check()
194 case IPPROTO_TCP: in tcpmss_Check()
200 if (pfrag->ip6f_nxt == IPPROTO_TCP && in tcpmss_Check()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_util.c1012 test_ai_eq(ai, "1.2.3.4:8080", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1030 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo()
1036 test_ai_eq(ai, "0.0.0.0:9999", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1043 test_ai_eq(ai, "127.0.0.1:9998", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1054 test_ai_eq(ai, "[::1]:9997", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1064 test_ai_eq(ai, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1075 test_ai_eq(a, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1078 test_ai_eq(a, "0.0.0.0:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1089 a = ai_find_by_protocol(ai, IPPROTO_TCP); in test_evutil_getaddrinfo()
1091 test_ai_eq(a, "1.2.3.4", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
[all …]
H A Dregress_dns.c1333 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1465 test_ai_eq(local_outcome.ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1487 hints.ai_protocol = IPPROTO_TCP; in test_getaddrinfo_async()
1494 test_ai_eq(local_outcome.ai, "[f::f]:8008", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1507 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP); in test_getaddrinfo_async()
1509 test_ai_eq(a, "5.6.7.8", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1551 test_ai_eq(a, "127.0.0.1:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1555 test_ai_eq(a, "[::1]:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1572 test_ai_eq(a, "127.0.0.1:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1576 test_ai_eq(a, "[::1]:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
[all …]
/freebsd/contrib/libevent/test/
H A Dregress_util.c1012 test_ai_eq(ai, "1.2.3.4:8080", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1030 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo()
1036 test_ai_eq(ai, "0.0.0.0:9999", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1043 test_ai_eq(ai, "127.0.0.1:9998", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1054 test_ai_eq(ai, "[::1]:9997", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1064 test_ai_eq(ai, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1075 test_ai_eq(a, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1078 test_ai_eq(a, "0.0.0.0:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1089 a = ai_find_by_protocol(ai, IPPROTO_TCP); in test_evutil_getaddrinfo()
1091 test_ai_eq(a, "1.2.3.4", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
[all …]
H A Dregress_dns.c1333 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1465 test_ai_eq(local_outcome.ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1487 hints.ai_protocol = IPPROTO_TCP; in test_getaddrinfo_async()
1494 test_ai_eq(local_outcome.ai, "[f::f]:8008", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1507 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP); in test_getaddrinfo_async()
1509 test_ai_eq(a, "5.6.7.8", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1551 test_ai_eq(a, "127.0.0.1:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1555 test_ai_eq(a, "[::1]:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1572 test_ai_eq(a, "127.0.0.1:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1576 test_ai_eq(a, "[::1]:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dktls.h73 return setsockopt(fd, IPPROTO_TCP, TCP_TXTLS_ENABLE, in ktls_start()
76 return setsockopt(fd, IPPROTO_TCP, TCP_RXTLS_ENABLE, tls_en, in ktls_start()
102 cmsg->cmsg_level = IPPROTO_TCP; in ktls_send_ctrl_message()
172 if (cmsg->cmsg_level != IPPROTO_TCP || cmsg->cmsg_type != TLS_GET_RECORD in ktls_read_record()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_sock.c14 # define SOCKET_PROTOCOL IPPROTO_TCP
296 # if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP)) in BIO_set_tcp_ndelay()
302 # ifdef IPPROTO_TCP in BIO_set_tcp_ndelay()
303 opt = IPPROTO_TCP; in BIO_set_tcp_ndelay()
/freebsd/sys/netipsec/
H A Dxform_tcp.c143 ipp.ippseudo_p = IPPROTO_TCP; in ip_pseudo_compute()
176 ip6p.nxt = htonl(IPPROTO_TCP); in ip6_pseudo_compute()
274 saidx.proto = IPPROTO_TCP; in tcp_ipsec_input()
319 saidx.proto = IPPROTO_TCP; in tcp_ipsec_output()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localtcp.ksh96 args[4]->ipv4_protocol == IPPROTO_TCP/
109 args[4]->ipv4_protocol == IPPROTO_TCP/
H A Dtst.ipv4remotetcp.ksh92 args[4]->ipv4_protocol == IPPROTO_TCP/
105 args[4]->ipv4_protocol == IPPROTO_TCP/
H A Dtst.remotetcpstate.ksh98 args[4]->ipv4_protocol == IPPROTO_TCP/
112 args[4]->ipv4_protocol == IPPROTO_TCP/
/freebsd/sbin/mount_nfs/
H A Dmount_nfs.c100 static int nfsproto = IPPROTO_TCP;
251 nfsproto = IPPROTO_TCP; in main()
268 nfsproto = IPPROTO_TCP; in main()
282 nfsproto = IPPROTO_TCP; in main()
293 nfsproto = IPPROTO_TCP; in main()
350 nfsproto = IPPROTO_TCP; in main()
395 nfsproto = IPPROTO_TCP; in main()
633 if (nfsproto == IPPROTO_TCP) in getnfsargs()
765 if (nfsproto == IPPROTO_TCP) in nfs_tryproto()
/freebsd/sys/netinet/libalias/
H A Dalias.c353 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasIn2()
356 IPPROTO_TCP, 0); in IcmpAliasIn2()
366 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasIn2()
542 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasOut2()
545 IPPROTO_TCP, 0); in IcmpAliasOut2()
555 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasOut2()
952 IPPROTO_TCP, in TcpAliasIn()
1113 IPPROTO_TCP, create); in TcpAliasOut()
1364 case IPPROTO_TCP: in LibAliasInLocked()
1518 case IPPROTO_TCP: in LibAliasOutLocked()
[all …]
/freebsd/tests/sys/kern/
H A Dktls_test.c79 if (getsockopt(s, IPPROTO_TCP, sockopt, &mode, &len) == -1) in check_tls_mode()
91 if (getsockopt(s, IPPROTO_TCP, sockopt, &mode, &len) == -1) in check_tls_mode()
230 hints.ai_protocol = IPPROTO_TCP; in echo_socket()
1197 ATF_REQUIRE(setsockopt(sockets[1], IPPROTO_TCP, TCP_TXTLS_ENABLE, en, in test_ktls_transmit_app_data()
1311 cmsg->cmsg_level = IPPROTO_TCP; in ktls_send_control_message()
1345 ATF_REQUIRE(setsockopt(sockets[1], IPPROTO_TCP, TCP_TXTLS_ENABLE, en, in test_ktls_transmit_control()
1401 ATF_REQUIRE(setsockopt(sockets[1], IPPROTO_TCP, TCP_TXTLS_ENABLE, en, in test_ktls_transmit_empty_fragment()
1476 ATF_REQUIRE_INTEQ(IPPROTO_TCP, cmsg->cmsg_level); in ktls_receive_tls_record()
1513 ATF_REQUIRE(setsockopt(sockets[0], IPPROTO_TCP, TCP_RXTLS_ENABLE, en, in test_ktls_receive_app_data()
1631 ATF_REQUIRE(setsockopt(sockets[0], IPPROTO_TCP, TCP_RXTLS_ENABL in test_ktls_receive_corrupted_record()
[all...]

12345678910>>...13