Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-14.2/sbin/ipf/libipf/
H A Dipft_tx.c214 ip->ip_p = IPPROTO_TCP; in parseline()
235 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline()
245 if (ip->ip_p == IPPROTO_TCP) { in parseline()
255 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline()
268 if (ip->ip_p == IPPROTO_TCP) { in parseline()
322 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in parseline()
360 ip6->ip6_nxt = IPPROTO_TCP; in parseipv6()
382 case IPPROTO_TCP : in parseipv6()
395 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6()
405 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-14.2/sbin/ipf/ipsend/
H A Dipsend.c242 ip->ip_p = IPPROTO_TCP; in main()
290 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in main()
298 if (ip->ip_p == IPPROTO_TCP) in main()
360 if (ip->ip_p == IPPROTO_TCP) { in main()
367 if (ip->ip_p == IPPROTO_TCP) in main()
397 if (ip->ip_p == IPPROTO_TCP && tcp->th_flags) in main()
406 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport) in main()
H A Dresend.c49 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
52 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
54 if (ip->ip_p == IPPROTO_TCP) { in dumppacket()
/freebsd-14.2/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-14.2/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-14.2/contrib/tcpdump/
H A Dipproto.h56 #ifndef IPPROTO_TCP
57 #define IPPROTO_TCP 6 /* tcp */ macro
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/contrib/ntp/sntp/libevent/test/
H A Dregress_util.c1030 hints.ai_protocol = 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()
1123 test_ai_eq(ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1148 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo_live()
1156 tt_int_op(ai->ai_protocol, ==, IPPROTO_TCP); in test_evutil_getaddrinfo_live()
[all …]
H A Dregress_dns.c1333 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1487 hints.ai_protocol = 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()
1591 test_ai_eq(a, "[::1]:9999", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1712 test_ai_eq(a, "80.80.32.32:8000", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
[all …]
/freebsd-14.2/contrib/libevent/test/
H A Dregress_util.c1030 hints.ai_protocol = 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()
1123 test_ai_eq(ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1148 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo_live()
1156 tt_int_op(ai->ai_protocol, ==, IPPROTO_TCP); in test_evutil_getaddrinfo_live()
[all …]
H A Dregress_dns.c1333 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1487 hints.ai_protocol = 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()
1591 test_ai_eq(a, "[::1]:9999", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1712 test_ai_eq(a, "80.80.32.32:8000", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4remotetcp.ksh92 args[4]->ipv4_protocol == IPPROTO_TCP/
105 args[4]->ipv4_protocol == IPPROTO_TCP/
H A Dtst.ipv4localtcp.ksh96 args[4]->ipv4_protocol == IPPROTO_TCP/
109 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-14.2/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-14.2/sbin/mount_nfs/
H A Dmount_nfs.c112 static int nfsproto = IPPROTO_TCP;
263 nfsproto = IPPROTO_TCP; in main()
280 nfsproto = IPPROTO_TCP; in main()
294 nfsproto = IPPROTO_TCP; in main()
305 nfsproto = IPPROTO_TCP; in main()
362 nfsproto = IPPROTO_TCP; in main()
407 nfsproto = IPPROTO_TCP; in main()
645 if (nfsproto == IPPROTO_TCP) in getnfsargs()
777 if (nfsproto == IPPROTO_TCP) in nfs_tryproto()
/freebsd-14.2/usr.bin/systat/
H A Dtcp.c276 name[2] = IPPROTO_TCP; in inittcp()
304 name[2] = IPPROTO_TCP; in resettcp()
323 name[2] = IPPROTO_TCP; in fetchtcp()
/freebsd-14.2/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()
952 IPPROTO_TCP, in TcpAliasIn()
1113 IPPROTO_TCP, create); in TcpAliasOut()
1364 case IPPROTO_TCP: in LibAliasInLocked()
1518 case IPPROTO_TCP: in LibAliasOutLocked()
1588 else if (pip->ip_p == IPPROTO_TCP) in LibAliasUnaliasOut()
[all …]

12345678910>>...12