Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-12-stable/sbin/ipf/libipf/
Dipft_tx.c215 ip->ip_p = IPPROTO_TCP; in parseline()
236 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline()
246 if (ip->ip_p == IPPROTO_TCP) { in parseline()
256 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline()
269 if (ip->ip_p == IPPROTO_TCP) { in parseline()
323 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in parseline()
361 ip6->ip6_nxt = IPPROTO_TCP; in parseipv6()
383 case IPPROTO_TCP : in parseipv6()
396 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6()
406 if (ip6->ip6_nxt == IPPROTO_TCP) { in parseipv6()
[all …]
Dprintpacket.c79 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in printpacket()
84 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in printpacket()
86 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) { in printpacket()
Dprintstate.c31 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) { in printstate()
39 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) { in printstate()
46 if (sp->is_p == IPPROTO_TCP) { in printstate()
57 if (sp->is_p == IPPROTO_TCP) { in printstate()
Dprintpacket6.c46 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
55 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
/freebsd-12-stable/sbin/ipf/ipsend/
Dipsend.c243 ip->ip_p = IPPROTO_TCP; in main()
291 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in main()
299 if (ip->ip_p == IPPROTO_TCP) in main()
361 if (ip->ip_p == IPPROTO_TCP) { in main()
368 if (ip->ip_p == IPPROTO_TCP) in main()
398 if (ip->ip_p == IPPROTO_TCP && tcp->th_flags) in main()
407 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport) in main()
Dresend.c50 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
53 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
55 if (ip->ip_p == IPPROTO_TCP) { in dumppacket()
/freebsd-12-stable/crypto/heimdal/lib/roken/
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-12-stable/contrib/llvm-project/lldb/source/Host/common/
DTCPSocket.cpp146 m_socket = Socket::CreateSocket(domain, kType, IPPROTO_TCP, in CreateSocket()
164 host_str.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Connect()
202 host_str.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Listen()
204 int fd = Socket::CreateSocket(address.GetFamily(), kType, IPPROTO_TCP, in Listen()
315 return SetOption(IPPROTO_TCP, TCP_NODELAY, 1); in SetOptionNoDelay()
/freebsd-12-stable/crypto/openssl/crypto/bio/
Db_sock.c15 # define SOCKET_PROTOCOL IPPROTO_TCP
280 # if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP)) in BIO_set_tcp_ndelay()
286 # ifdef IPPROTO_TCP in BIO_set_tcp_ndelay()
287 opt = IPPROTO_TCP; in BIO_set_tcp_ndelay()
/freebsd-12-stable/contrib/libevent/test/
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 …]
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-12-stable/contrib/ntp/sntp/libevent/test/
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 …]
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-12-stable/contrib/tcpdump/
Dipproto.h56 #ifndef IPPROTO_TCP
57 #define IPPROTO_TCP 6 /* tcp */ macro
/freebsd-12-stable/sbin/mount_nfs/
Dmount_nfs.c110 static int nfsproto = IPPROTO_TCP;
258 nfsproto = IPPROTO_TCP; in main()
275 nfsproto = IPPROTO_TCP; in main()
289 nfsproto = IPPROTO_TCP; in main()
300 nfsproto = IPPROTO_TCP; in main()
357 nfsproto = IPPROTO_TCP; in main()
397 nfsproto = IPPROTO_TCP; in main()
568 if (nfsproto == IPPROTO_TCP) in getnfsargs()
695 if (nfsproto == IPPROTO_TCP) in nfs_tryproto()
/freebsd-12-stable/sys/netipsec/
Dxform_tcp.c143 ipp.ippseudo_p = IPPROTO_TCP; in ip_pseudo_compute()
166 ip6p.nxt = htonl(IPPROTO_TCP); in ip6_pseudo_compute()
264 saidx.proto = IPPROTO_TCP; in tcp_ipsec_input()
304 saidx.proto = IPPROTO_TCP; in tcp_ipsec_output()
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
Dtst.ipv4remotetcp.ksh92 args[4]->ipv4_protocol == IPPROTO_TCP/
105 args[4]->ipv4_protocol == IPPROTO_TCP/
Dtst.ipv4localtcp.ksh96 args[4]->ipv4_protocol == IPPROTO_TCP/
109 args[4]->ipv4_protocol == IPPROTO_TCP/
Dtst.remotetcpstate.ksh98 args[4]->ipv4_protocol == IPPROTO_TCP/
112 args[4]->ipv4_protocol == IPPROTO_TCP/
/freebsd-12-stable/sys/netinet/
Din_rss.c129 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v4()
246 case IPPROTO_TCP: in rss_mbuf_software_hash_v4()
278 (proto == IPPROTO_TCP) && in rss_mbuf_software_hash_v4()
/freebsd-12-stable/contrib/apr/network_io/unix/
Dsockopt.c213 int optlevel = IPPROTO_TCP; in apr_socket_opt_set()
229 int optlevel = IPPROTO_TCP; in apr_socket_opt_set()
265 int optlevel = IPPROTO_TCP; in apr_socket_opt_set()
291 if (setsockopt(sock->socketdes, IPPROTO_TCP, APR_TCP_NOPUSH_FLAG, in apr_socket_opt_set()
/freebsd-12-stable/sys/netinet6/
Din6_rss.c130 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v6()
275 case IPPROTO_TCP: in rss_mbuf_software_hash_v6()
303 (proto == IPPROTO_TCP)) { in rss_mbuf_software_hash_v6()
/freebsd-12-stable/sys/netinet/libalias/
Dalias.c354 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasIn2()
357 IPPROTO_TCP, 0); in IcmpAliasIn2()
367 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasIn2()
543 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasOut2()
546 IPPROTO_TCP, 0); in IcmpAliasOut2()
556 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasOut2()
954 IPPROTO_TCP, in TcpAliasIn()
1115 IPPROTO_TCP, create); in TcpAliasOut()
1366 case IPPROTO_TCP: in LibAliasInLocked()
1520 case IPPROTO_TCP: in LibAliasOutLocked()
[all …]
/freebsd-12-stable/usr.bin/systat/
Dtcp.c277 name[2] = IPPROTO_TCP; in inittcp()
305 name[2] = IPPROTO_TCP; in resettcp()
324 name[2] = IPPROTO_TCP; in fetchtcp()
/freebsd-12-stable/sys/netpfil/ipfw/
Dip_fw2.c677 h->ip_p = IPPROTO_TCP; in ipfw_send_pkt()
694 h6->ip6_nxt = IPPROTO_TCP; in ipfw_send_pkt()
752 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(*h6), in ipfw_send_pkt()
890 if (code == ICMP6_UNREACH_RST && args->f_id.proto == IPPROTO_TCP) { in send_reject6()
1011 } else if (code == ICMP_REJECT_RST && args->f_id.proto == IPPROTO_TCP) { in send_reject()
1145 if (id->proto == IPPROTO_TCP) { in check_uidgid()
1530 case IPPROTO_TCP: in ipfw_chk()
1715 case IPPROTO_TCP: in ipfw_chk()
1756 if (offset == 1 && proto == IPPROTO_TCP) { in ipfw_chk()
1884 if (proto == IPPROTO_TCP || in ipfw_chk()
[all …]

12345678910>>...12