Home
last modified time | relevance | path

Searched refs:IPPROTO_TCP (Results 1 – 25 of 320) 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()
319 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in parseline()
357 ip6->ip6_nxt = IPPROTO_TCP; in parseipv6()
379 case IPPROTO_TCP : in parseipv6()
392 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6()
402 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) && 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()
402 if (ip->ip_p == IPPROTO_TCP && __tcp_get_flags(tcp) != 0) in main()
411 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.c122 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v4()
168 if ((proto == IPPROTO_TCP) && in xps_proto_software_hash_v4()
281 case IPPROTO_TCP: in rss_mbuf_software_hash_v4()
313 (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.c123 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v6()
170 if ((proto == IPPROTO_TCP) && in xps_proto_software_hash_v6()
312 case IPPROTO_TCP: in rss_mbuf_software_hash_v6()
340 (proto == IPPROTO_TCP)) { in rss_mbuf_software_hash_v6()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_sock2.c116 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in BIO_connect()
176 if (setsockopt(sock, IPPROTO_TCP, OSSL_TFO_CLIENT_SOCKOPT, in BIO_connect()
331 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in BIO_listen()
408 if (setsockopt(sock, IPPROTO_TCP, OSSL_TFO_SERVER_SOCKOPT, in BIO_listen()
H A Dbio_sock.c15 #define SOCKET_PROTOCOL IPPROTO_TCP
337 #if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP)) in BIO_set_tcp_ndelay()
343 #ifdef IPPROTO_TCP in BIO_set_tcp_ndelay()
344 opt = IPPROTO_TCP; in BIO_set_tcp_ndelay()
/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/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/crypto/openssl/include/internal/
H A Dktls.h73 return setsockopt(fd, IPPROTO_TCP, TCP_TXTLS_ENABLE, in ktls_start()
78 return setsockopt(fd, IPPROTO_TCP, TCP_RXTLS_ENABLE, tls_en, in ktls_start()
112 cmsg->cmsg_level = IPPROTO_TCP; in ktls_send_ctrl_message()
182 if (cmsg->cmsg_level != IPPROTO_TCP || cmsg->cmsg_type != TLS_GET_RECORD in ktls_read_record()
/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/crypto/krb5/src/lib/rpc/unit-test/
H A Dserver.c78 prot = IPPROTO_TCP; in main()
108 if (prot == IPPROTO_TCP) in main()
120 prot == IPPROTO_TCP ? "tcp" : "udp"); in main()
/freebsd/sbin/mount_nfs/
H A Dmount_nfs.c100 static int nfsproto = IPPROTO_TCP;
252 nfsproto = IPPROTO_TCP; in main()
269 nfsproto = IPPROTO_TCP; in main()
283 nfsproto = IPPROTO_TCP; in main()
294 nfsproto = IPPROTO_TCP; in main()
351 nfsproto = IPPROTO_TCP; in main()
403 nfsproto = IPPROTO_TCP; in main()
642 if (nfsproto == IPPROTO_TCP) in getnfsargs()
782 if (nfsproto == IPPROTO_TCP) in nfs_tryproto()

12345678910>>...13