Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-12.1/contrib/ipfilter/lib/
H A Dipft_tx.c222 ip->ip_p = IPPROTO_TCP;
243 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) {
253 if (ip->ip_p == IPPROTO_TCP) {
263 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) {
276 if (ip->ip_p == IPPROTO_TCP) {
330 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
371 ip6->ip6_nxt = IPPROTO_TCP;
393 case IPPROTO_TCP :
406 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
416 if (ip6->ip6_nxt == IPPROTO_TCP) {
[all …]
H A Dprintpacket.c81 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
86 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
88 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
H A 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()
H A Dprintpacket6.c48 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
57 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
/freebsd-12.1/contrib/ipfilter/ipsend/
H A Dipsend.c256 ip->ip_p = IPPROTO_TCP;
304 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
312 if (ip->ip_p == IPPROTO_TCP)
374 if (ip->ip_p == IPPROTO_TCP) {
381 if (ip->ip_p == IPPROTO_TCP)
411 if (ip->ip_p == IPPROTO_TCP && tcp->th_flags)
420 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport)
H A Dresend.c50 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
53 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
55 if (ip->ip_p == IPPROTO_TCP) {
/freebsd-12.1/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-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DTCPSocket.cpp127 m_socket = Socket::CreateSocket(domain, kType, IPPROTO_TCP, in CreateSocket()
146 host_str.c_str(), NULL, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Connect()
185 host_str.c_str(), NULL, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Listen()
187 int fd = Socket::CreateSocket(address.GetFamily(), kType, IPPROTO_TCP, in Listen()
297 return SetOption(IPPROTO_TCP, TCP_NODELAY, 1); in SetOptionNoDelay()
/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c1239 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1372 hints.ai_protocol = IPPROTO_TCP; in test_getaddrinfo_async()
1392 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP); in test_getaddrinfo_async()
1394 test_ai_eq(a, "5.6.7.8", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1436 test_ai_eq(a, "127.0.0.1:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1440 test_ai_eq(a, "[::1]:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1457 test_ai_eq(a, "127.0.0.1:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1461 test_ai_eq(a, "[::1]:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1476 test_ai_eq(a, "[::1]:9999", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1597 test_ai_eq(a, "80.80.32.32:8000", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
[all …]
H A Dregress_util.c939 test_ai_eq(ai, "1.2.3.4:8080", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
957 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo()
981 test_ai_eq(ai, "[::1]:9997", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
991 test_ai_eq(ai, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1002 test_ai_eq(a, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1005 test_ai_eq(a, "0.0.0.0:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1016 a = ai_find_by_protocol(ai, IPPROTO_TCP); in test_evutil_getaddrinfo()
1018 test_ai_eq(a, "1.2.3.4", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1050 test_ai_eq(ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1075 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo_live()
[all …]
/freebsd-12.1/crypto/openssl/crypto/bio/
H A 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.1/contrib/libevent/test/
H A Dregress_dns.c1268 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1410 hints.ai_protocol = IPPROTO_TCP; in test_getaddrinfo_async()
1430 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP); in test_getaddrinfo_async()
1432 test_ai_eq(a, "5.6.7.8", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1474 test_ai_eq(a, "127.0.0.1:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1478 test_ai_eq(a, "[::1]:2", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1495 test_ai_eq(a, "127.0.0.1:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1499 test_ai_eq(a, "[::1]:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1514 test_ai_eq(a, "[::1]:9999", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1635 test_ai_eq(a, "80.80.32.32:8000", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
[all …]
H A Dregress_util.c939 test_ai_eq(ai, "1.2.3.4:8080", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
957 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo()
981 test_ai_eq(ai, "[::1]:9997", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
991 test_ai_eq(ai, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1002 test_ai_eq(a, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1005 test_ai_eq(a, "0.0.0.0:9996", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1016 a = ai_find_by_protocol(ai, IPPROTO_TCP); in test_evutil_getaddrinfo()
1018 test_ai_eq(a, "1.2.3.4", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1050 test_ai_eq(ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_evutil_getaddrinfo()
1075 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo_live()
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Dipproto.h56 #ifndef IPPROTO_TCP
57 #define IPPROTO_TCP 6 /* tcp */ macro
/freebsd-12.1/sbin/mount_nfs/
H A Dmount_nfs.c109 static int nfsproto = IPPROTO_TCP;
254 nfsproto = IPPROTO_TCP; in main()
271 nfsproto = IPPROTO_TCP; in main()
285 nfsproto = IPPROTO_TCP; in main()
296 nfsproto = IPPROTO_TCP; in main()
353 nfsproto = IPPROTO_TCP; in main()
393 nfsproto = IPPROTO_TCP; in main()
561 if (nfsproto == IPPROTO_TCP) in getnfsargs()
680 if (nfsproto == IPPROTO_TCP) in nfs_tryproto()
/freebsd-12.1/sys/netipsec/
H A 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.1/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-12.1/sys/netinet/
H A Din_rss.c129 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v4()
248 case IPPROTO_TCP: in rss_mbuf_software_hash_v4()
280 (proto == IPPROTO_TCP) && in rss_mbuf_software_hash_v4()
/freebsd-12.1/contrib/apr/network_io/unix/
H A 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.1/sys/netinet6/
H A 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.1/sys/netpfil/ipfw/
H A Dip_fw2.c664 h->ip_p = IPPROTO_TCP; in ipfw_send_pkt()
681 h6->ip6_nxt = IPPROTO_TCP; in ipfw_send_pkt()
1132 if (id->proto == IPPROTO_TCP) { in check_uidgid()
1494 case IPPROTO_TCP: in ipfw_chk()
1679 case IPPROTO_TCP: in ipfw_chk()
1720 if (offset == 1 && proto == IPPROTO_TCP) { in ipfw_chk()
1848 if (proto == IPPROTO_TCP || in ipfw_chk()
1989 if (proto != IPPROTO_TCP && in ipfw_chk()
2152 proto == IPPROTO_TCP || in ipfw_chk()
2319 if (proto == IPPROTO_TCP && in ipfw_chk()
[all …]
/freebsd-12.1/sys/netinet/libalias/
H A Dalias.c365 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasIn2()
368 IPPROTO_TCP, 0); in IcmpAliasIn2()
378 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasIn2()
555 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasOut2()
558 IPPROTO_TCP, 0); in IcmpAliasOut2()
957 IPPROTO_TCP, in TcpAliasIn()
1117 IPPROTO_TCP, create); in TcpAliasOut()
1376 case IPPROTO_TCP: in LibAliasInLocked()
1526 case IPPROTO_TCP: in LibAliasOutLocked()
1597 else if (pip->ip_p == IPPROTO_TCP) in LibAliasUnaliasOut()
[all …]
/freebsd-12.1/usr.bin/systat/
H A Dtcp.c277 name[2] = IPPROTO_TCP; in inittcp()
305 name[2] = IPPROTO_TCP; in resettcp()
324 name[2] = IPPROTO_TCP; in fetchtcp()

12345678910>>...12