Home
last modified time | relevance | path

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

12345

/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_socket.c59 return setsockopt(s, IPPROTO_TCP, TCP_NOPUSH, in ngx_tcp_nopush()
71 return setsockopt(s, IPPROTO_TCP, TCP_NOPUSH, in ngx_tcp_push()
85 return setsockopt(s, IPPROTO_TCP, TCP_CORK, in ngx_tcp_nopush()
97 return setsockopt(s, IPPROTO_TCP, TCP_CORK, in ngx_tcp_push()
/f-stack/freebsd/netinet/
H A Din_rss.c129 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v4()
175 if ((proto == IPPROTO_TCP) && in xps_proto_software_hash_v4()
290 case IPPROTO_TCP: in rss_mbuf_software_hash_v4()
322 (proto == IPPROTO_TCP) && in rss_mbuf_software_hash_v4()
H A Din_proto.c134 .pr_protocol = IPPROTO_TCP,
321 SYSCTL_NODE(_net_inet, IPPROTO_TCP, tcp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
/f-stack/freebsd/netinet6/
H A Din6_rss.c130 if ((proto == IPPROTO_TCP) && in rss_proto_software_hash_v6()
177 if ((proto == IPPROTO_TCP) && in xps_proto_software_hash_v6()
319 case IPPROTO_TCP: in rss_mbuf_software_hash_v6()
347 (proto == IPPROTO_TCP)) { in rss_mbuf_software_hash_v6()
/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_em.c103 {{RTE_IPV4(101, 0, 0, 0), RTE_IPV4(100, 10, 0, 1), 101, 11, IPPROTO_TCP}, 0},
104 {{RTE_IPV4(201, 0, 0, 0), RTE_IPV4(200, 20, 0, 1), 102, 12, IPPROTO_TCP}, 1},
105 {{RTE_IPV4(111, 0, 0, 0), RTE_IPV4(100, 30, 0, 1), 101, 11, IPPROTO_TCP}, 2},
106 {{RTE_IPV4(211, 0, 0, 0), RTE_IPV4(200, 40, 0, 1), 102, 12, IPPROTO_TCP}, 3},
113 101, 11, IPPROTO_TCP}, 0},
118 102, 12, IPPROTO_TCP}, 1},
123 101, 11, IPPROTO_TCP}, 2},
128 102, 12, IPPROTO_TCP}, 3},
585 if (ipv4_hdr->next_proto_id == IPPROTO_TCP) in em_parse_ptype()
593 if (ipv6_hdr->proto == IPPROTO_TCP) in em_parse_ptype()
/f-stack/freebsd/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()
H A Dudpencap.c253 IPSEC_ASSERT(proto == IPPROTO_UDP || proto == IPPROTO_TCP, in udp_ipsec_adjust_cksum()
272 if (proto == IPPROTO_TCP) { in udp_ipsec_adjust_cksum()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dnet.c139 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE, &val, sizeof(val)) < 0) { in redisKeepAlive()
146 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) { in redisKeepAlive()
153 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) { in redisKeepAlive()
159 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &val, sizeof(val)) < 0) { in redisKeepAlive()
171 if (setsockopt(c->fd, IPPROTO_TCP, TCP_NODELAY, &yes, sizeof(yes)) == -1) { in redisSetTcpNoDelay()
/f-stack/dpdk/lib/librte_eal/windows/include/netinet/
H A Din.h15 #define IPPROTO_TCP 6 macro
/f-stack/freebsd/netinet/libalias/
H A Dalias.c359 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasIn2()
362 IPPROTO_TCP, 0); in IcmpAliasIn2()
372 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasIn2()
547 else if (ip->ip_p == IPPROTO_TCP) in IcmpAliasOut2()
550 IPPROTO_TCP, 0); in IcmpAliasOut2()
946 IPPROTO_TCP, in TcpAliasIn()
1107 IPPROTO_TCP, create); in TcpAliasOut()
1356 case IPPROTO_TCP: in LibAliasInLocked()
1510 case IPPROTO_TCP: in LibAliasOutLocked()
1581 else if (pip->ip_p == IPPROTO_TCP) in LibAliasUnaliasOut()
[all …]
H A Dalias_proxy.c182 if (proto == IPPROTO_TCP) in IpPort()
585 proto = IPPROTO_TCP; in LibAliasProxyRule()
724 proto = IPPROTO_TCP; in LibAliasProxyRule()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_proxy.c133 { NULL, NULL, "ftp", (char)IPPROTO_TCP, 0, 0, 0,
150 { NULL, NULL, "irc", (char)IPPROTO_TCP, 0, 0, 0,
158 { NULL, NULL, "rcmd", (char)IPPROTO_TCP, 0, 0, 0,
167 { NULL, NULL, "raudio", (char)IPPROTO_TCP, 0, 0, 0,
175 { NULL, NULL, "msnrpc", (char)IPPROTO_TCP, 0, 0, 0,
209 { NULL, NULL, "pptp", (char)IPPROTO_TCP, 0, 0, 0,
219 { NULL, NULL, "rpcbt", (char)IPPROTO_TCP, 0, 0, 0,
933 if (fin->fin_p == IPPROTO_TCP)
962 case IPPROTO_TCP :
1037 IPPROTO_TCP, tcp);
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw2.c680 h->ip_p = IPPROTO_TCP; in ipfw_send_pkt()
697 h6->ip6_nxt = IPPROTO_TCP; in ipfw_send_pkt()
1146 if (id->proto == IPPROTO_TCP) { in check_uidgid()
1535 case IPPROTO_TCP: in ipfw_chk()
1722 case IPPROTO_TCP: in ipfw_chk()
1763 if (offset == 1 && proto == IPPROTO_TCP) { in ipfw_chk()
1899 if (proto == IPPROTO_TCP || in ipfw_chk()
2058 if (proto != IPPROTO_TCP && in ipfw_chk()
2222 proto == IPPROTO_TCP || in ipfw_chk()
2389 if (proto == IPPROTO_TCP && in ipfw_chk()
[all …]
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64lsn.c335 case IPPROTO_TCP: in nat64lsn_get_state6to4()
463 case IPPROTO_TCP: in inspect_icmp_mbuf()
513 case IPPROTO_TCP: in nat64lsn_get_state4to6()
571 case IPPROTO_TCP: in nat64lsn_reassemble4()
591 case IPPROTO_TCP: in nat64lsn_reassemble4()
647 case IPPROTO_TCP: in nat64lsn_translate4()
670 if (f_id->proto == IPPROTO_TCP) in nat64lsn_translate4()
722 case IPPROTO_TCP: in nat64lsn_check_state()
838 case IPPROTO_TCP: in nat64lsn_expire_portgroups()
1213 case IPPROTO_TCP: in nat64lsn_alloc_pg()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_connection.c364 if (getsockopt(ls[i].fd, IPPROTO_TCP, TCP_FASTOPEN, in ngx_set_inherited_sockets()
421 if (getsockopt(ls[i].fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, &timeout, &olen) in ngx_set_inherited_sockets()
835 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPIDLE, in ngx_configure_listening_sockets()
852 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPINTVL, in ngx_configure_listening_sockets()
863 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPCNT, in ngx_configure_listening_sockets()
890 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_FASTOPEN, in ngx_configure_listening_sockets()
905 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_NODELAY, in ngx_configure_listening_sockets()
996 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, in ngx_configure_listening_sockets()
1506 if (setsockopt(c->fd, IPPROTO_TCP, TCP_NODELAY,
/f-stack/tools/netstat/
H A Dmain.c98 tcp_stats, NULL, "tcp", 1, IPPROTO_TCP },
107 NULL, NULL, "sdp", 1, IPPROTO_TCP },
144 tcp_stats, NULL, "tcp", 1, IPPROTO_TCP },
153 NULL, NULL, "sdp", 1, IPPROTO_TCP },
/f-stack/app/redis-5.0.5/src/
H A Danet.c121 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) { in anetKeepAlive()
131 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) { in anetKeepAlive()
139 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &val, sizeof(val)) < 0) { in anetKeepAlive()
152 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val)) == -1) in anetSetTcpNoDelay()
/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_steer.c176 IPPROTO_TCP, MLX5_L3_PROT_TYPE_IPV4, MLX5_L4_PROT_TYPE_TCP, in mlx5_vdpa_rss_flows_create()
182 IPPROTO_TCP, MLX5_L3_PROT_TYPE_IPV6, MLX5_L4_PROT_TYPE_TCP, in mlx5_vdpa_rss_flows_create()
/f-stack/app/nginx-1.16.1/auto/
H A Dunix459 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_DEFER_ACCEPT, NULL, 0)"
471 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0);
472 setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0);
473 setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)"
485 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_FASTOPEN, NULL, 0)"
503 getsockopt(0, IPPROTO_TCP, TCP_INFO, &ti, &optlen)"
/f-stack/dpdk/app/test/
H A Dtest_flow_classify.c134 { 0, 0, 0, 0, 0, 0, IPPROTO_TCP, 0,
523 dst_addr, pktlen, IPPROTO_TCP); in init_ipv4_tcp_traffic()
531 0, &pkt_ipv4_hdr, 1, IPPROTO_TCP, in init_ipv4_tcp_traffic()
H A Dpacket_burst_generator.c395 case IPPROTO_TCP: in generate_packet_burst_proto()
420 case IPPROTO_TCP: in generate_packet_burst_proto()
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack_bbr_common.c315 IPPROTO_TCP, m->m_pkthdr.csum_data); in ctf_process_inbound_raw()
318 th->th_sum = in6_cksum(m, IPPROTO_TCP, drop_hdrlen, tlen); in ctf_process_inbound_raw()
364 IPPROTO_TCP)); in ctf_process_inbound_raw()
/f-stack/dpdk/lib/librte_net/
H A Drte_net.c62 [IPPROTO_TCP] = RTE_PTYPE_L4_TCP, in ptype_l4()
119 [IPPROTO_TCP] = RTE_PTYPE_INNER_L4_TCP, in ptype_inner_l4()
/f-stack/freebsd/netpfil/pf/
H A Dpf.c1943 case IPPROTO_TCP: in pf_print_state_parts()
2527 h->ip_p = IPPROTO_TCP; in pf_send_tcp()
3108 case IPPROTO_TCP: in pf_socket_lookup()
3361 case IPPROTO_TCP: in pf_test_rule()
3421 case IPPROTO_TCP: in pf_test_rule()
3761 case IPPROTO_TCP: in pf_create_state()
4936 case IPPROTO_TCP: { in pf_test_state_icmp()
5793 case IPPROTO_TCP: in pf_check_proto_cksum()
5860 case IPPROTO_TCP: in pf_check_proto_cksum()
5990 case IPPROTO_TCP: { in pf_test()
[all …]
/f-stack/freebsd/netpfil/ipfw/pmod/
H A Dtcpmod.c205 if (args->f_id.proto != IPPROTO_TCP || in ipfw_tcpmod()

12345