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

1234567891011>>

/freebsd-11-stable/contrib/tcpdump/
H A Dipproto.h56 #ifndef IPPROTO_TCP
57 #define IPPROTO_TCP 6 /* tcp */ macro
H A Dipproto.c30 { IPPROTO_TCP, "TCP" },
72 "tcp", /* 6 (IPPROTO_TCP, Transmission Control) */
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c58 { "http://", SOCK_STREAM, IPPROTO_TCP, 80 },
59 { "http/", SOCK_STREAM, IPPROTO_TCP, 80 },
60 { "tcp/", SOCK_STREAM, IPPROTO_TCP, 0 },
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintpacket6.c48 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
57 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
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.c34 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) {
42 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) {
49 if (sp->is_p == IPPROTO_TCP) {
60 if (sp->is_p == IPPROTO_TCP) {
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localtcp.ksh100 args[4]->ipv4_protocol == IPPROTO_TCP/
113 args[4]->ipv4_protocol == IPPROTO_TCP/
H A Dtst.ipv4remotetcp.ksh90 args[4]->ipv4_protocol == IPPROTO_TCP/
103 args[4]->ipv4_protocol == IPPROTO_TCP/
H A Dtst.localtcpstate.ksh94 args[4]->ipv4_protocol == IPPROTO_TCP/
108 args[4]->ipv4_protocol == IPPROTO_TCP/
H A Dtst.remotetcpstate.ksh99 args[4]->ipv4_protocol == IPPROTO_TCP/
113 args[4]->ipv4_protocol == IPPROTO_TCP/
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dipsend.c248 ip->ip_p = IPPROTO_TCP;
296 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
304 if (ip->ip_p == IPPROTO_TCP)
366 if (ip->ip_p == IPPROTO_TCP) {
373 if (ip->ip_p == IPPROTO_TCP)
403 if (ip->ip_p == IPPROTO_TCP && tcp->th_flags)
412 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-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DTCPSocket.cpp135 m_socket = Socket::CreateSocket(domain, kType, IPPROTO_TCP,
153 host_str.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
191 host_str.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
193 int fd = Socket::CreateSocket(address.GetFamily(), kType, IPPROTO_TCP,
303 return SetOption(IPPROTO_TCP, TCP_NODELAY, 1);
/freebsd-11-stable/lib/libc/rpc/
H A Dpmap_clnt.c70 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) {
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_tcp_ip.h43 #define IPPROTO_TCP 6 macro
/freebsd-11-stable/sys/netipsec/
H A Dxform_tcp.c139 ipp.ippseudo_p = IPPROTO_TCP;
162 ip6p.nxt = htonl(IPPROTO_TCP);
260 saidx.proto = IPPROTO_TCP;
300 saidx.proto = IPPROTO_TCP;
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockopt.c213 int optlevel = IPPROTO_TCP;
229 int optlevel = IPPROTO_TCP;
265 int optlevel = IPPROTO_TCP;
291 if (setsockopt(sock->socketdes, IPPROTO_TCP, APR_TCP_NOPUSH_FLAG,
/freebsd-11-stable/sys/netinet/
H A Din_rss.c129 if ((proto == IPPROTO_TCP) &&
248 case IPPROTO_TCP:
280 (proto == IPPROTO_TCP) &&
/freebsd-11-stable/sys/netinet6/
H A Din6_rss.c130 if ((proto == IPPROTO_TCP) &&
275 case IPPROTO_TCP:
303 (proto == IPPROTO_TCP)) {
/freebsd-11-stable/usr.bin/systat/
H A Dtcp.c274 name[2] = IPPROTO_TCP;
302 name[2] = IPPROTO_TCP;
321 name[2] = IPPROTO_TCP;
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c1239 hints.ai_protocol = IPPROTO_TCP;
1350 test_ai_eq(local_outcome.ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP);
1372 hints.ai_protocol = IPPROTO_TCP;
1379 test_ai_eq(local_outcome.ai, "[f::f]:8008", SOCK_STREAM, IPPROTO_TCP);
1392 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP);
1394 test_ai_eq(a, "5.6.7.8", SOCK_STREAM, IPPROTO_TCP);
1436 test_ai_eq(a, "127.0.0.1:2", SOCK_STREAM, IPPROTO_TCP);
1440 test_ai_eq(a, "[::1]:2", SOCK_STREAM, IPPROTO_TCP);
1457 test_ai_eq(a, "127.0.0.1:80", SOCK_STREAM, IPPROTO_TCP);
1461 test_ai_eq(a, "[::1]:80", SOCK_STREAM, IPPROTO_TCP);
[all...]
H A Dregress_util.c939 test_ai_eq(ai, "1.2.3.4:8080", SOCK_STREAM, IPPROTO_TCP);
957 hints.ai_protocol = IPPROTO_TCP;
963 test_ai_eq(ai, "0.0.0.0:9999", SOCK_STREAM, IPPROTO_TCP);
970 test_ai_eq(ai, "127.0.0.1:9998", SOCK_STREAM, IPPROTO_TCP);
981 test_ai_eq(ai, "[::1]:9997", SOCK_STREAM, IPPROTO_TCP);
991 test_ai_eq(ai, "[::]:9996", SOCK_STREAM, IPPROTO_TCP);
1002 test_ai_eq(a, "[::]:9996", SOCK_STREAM, IPPROTO_TCP);
1005 test_ai_eq(a, "0.0.0.0:9996", SOCK_STREAM, IPPROTO_TCP);
1016 a = ai_find_by_protocol(ai, IPPROTO_TCP);
1018 test_ai_eq(a, "1.2.3.4", SOCK_STREAM, IPPROTO_TCP);
[all...]
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dip.d136 #pragma D binding "1.5" IPPROTO_TCP
137 inline short IPPROTO_TCP = 6;
180 proto == IPPROTO_TCP ? "TCP" :
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Daddrinfo.c73 ai->ai_protocol = IPPROTO_TCP;
81 ai->ai_protocol = IPPROTO_TCP;
167 case IPPROTO_TCP:

Completed in 335 milliseconds

1234567891011>>