Searched refs:tcp (Results 1 - 25 of 385) sorted by last modified time

1234567891011>>

/freebsd-11-stable/sbin/ggate/ggatec/
H A Dggatec.c53 #include <netinet/tcp.h>
/freebsd-11-stable/libexec/ftpd/
H A Dftpd.c61 #include <netinet/tcp.h>
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_state.c66 #include <netinet/tcp.h>
1384 tcphdr_t *tcp; local
1449 tcp = NULL;
1570 tcp = fin->fin_dp;
1572 if (tcp->th_flags & TH_RST) {
1598 is->is_maxswin = ntohs(tcp->th_win);
1603 is->is_send = ntohl(tcp->th_seq) + fin->fin_dlen -
1604 (TCP_OFF(tcp) << 2) +
1605 ((tcp->th_flags & TH_SYN) ? 1 : 0) +
1606 ((tcp
2126 tcphdr_t *tcp; local
2687 tcphdr_t *tcp; local
3321 tcphdr_t *tcp; local
3477 tcphdr_t *tcp; local
3516 tcphdr_t *tcp; local
4049 tcphdr_t *tcp; local
4463 tcphdr_t *tcp; local
[all...]
H A Dip_frag.c61 #include <netinet/tcp.h>
H A Dip_proxy.c74 #include <netinet/tcp.h>
668 /* tcp(I) - pointer to TCP/UDP header */
677 ipf_proxy_ok(fin, tcp, np)
679 tcphdr_t *tcp;
688 if ((tcp == NULL) && dport)
908 tcphdr_t *tcp = NULL; local
963 tcp = (tcphdr_t *)fin->fin_dp;
1029 if (tcp != NULL) {
1032 u_short sum = ntohs(tcp->th_sum);
1034 tcp
1167 tcphdr_t *tcp; local
[all...]
H A Dip_nat6.c78 #include <netinet/tcp.h>
1394 tcphdr_t *tcp = NULL; local
1503 tcp = (tcphdr_t *)(oip6 + 1);
1504 fin->fin_data[0] = ntohs(tcp->th_dport);
1505 fin->fin_data[1] = ntohs(tcp->th_sport);
1595 tcphdr_t *tcp; local
1613 tcp = NULL;
1622 tcp = (tcphdr_t *)dp;
1623 csump = (u_short *)&tcp->th_sum;
1629 tcp
2614 tcphdr_t *tcp = NULL; local
2815 tcphdr_t *tcp; local
3017 tcphdr_t *tcp; local
3215 tcphdr_t *tcp; local
[all...]
H A Dip_nat.c79 #include <netinet/tcp.h>
3620 tcphdr_t *tcp = NULL; local
3730 tcp = (tcphdr_t *)((char *)oip + (IP_HL(oip) << 2));
3731 fin->fin_data[0] = ntohs(tcp->th_dport);
3732 fin->fin_data[1] = ntohs(tcp->th_sport);
3780 tcphdr_t *tcp; local
3798 tcp = NULL;
3807 tcp = (tcphdr_t *)dp;
3808 csump = (u_short *)&tcp->th_sum;
3814 tcp
4852 tcphdr_t *tcp = NULL; local
5076 tcphdr_t *tcp; local
5354 tcphdr_t *tcp; local
5572 tcphdr_t *tcp; local
5803 tcphdr_t *tcp; local
[all...]
H A Dip_sync.c66 #include <netinet/tcp.h>
H A Dip_rules.c47 #include <netinet/tcp.h>
H A Dip_log.c88 #include <netinet/tcp.h>
H A Dip_irc_pxy.c258 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
277 tcp = (tcphdr_t *)fin->fin_dp;
279 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
H A Dip_fil_freebsd.c51 #include <netinet/tcp.h>
346 struct tcphdr *tcp, *tcp2; local
354 tcp = fin->fin_dp;
355 if (tcp->th_flags & TH_RST)
361 tlen = fin->fin_dlen - (TCP_OFF(tcp) << 2) +
362 ((tcp->th_flags & TH_SYN) ? 1 : 0) +
363 ((tcp->th_flags & TH_FIN) ? 1 : 0);
394 tcp2->th_sport = tcp->th_dport;
395 tcp2->th_dport = tcp->th_sport;
397 if (tcp
[all...]
H A Dip_auth.c83 #include <netinet/tcp.h>
H A Dfil.c65 #include <netinet/tcp.h>
1322 tcphdr_t *tcp; local
1330 if (ipf_pr_pullup(fin, sizeof(*tcp)) == -1) {
1335 tcp = fin->fin_dp;
1337 fin->fin_sport = ntohs(tcp->th_sport);
1338 fin->fin_dport = ntohs(tcp->th_dport);
1350 tlen = TCP_OFF(tcp) << 2;
1358 flags = tcp->th_flags;
1359 fin->fin_tcpf = tcp->th_flags;
1366 if ((flags & TH_URG) != 0 && (tcp
[all...]
/freebsd-11-stable/usr.sbin/unbound/
H A Dconfig.h374 /* Define to 1 if you have the <netinet/tcp.h> header file. */
1112 #include <netinet/tcp.h>
1399 ub-dns-control 8953/tcp unbound dns nameserver control */
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.c48 #include <netinet/tcp.h>
128 addr->ai_socktype==SOCK_STREAM?"tcp":"otherproto",
666 " tcp socket mss set to %d", mss);
789 value is configured by the net.inet.tcp.fastopen_backlog kernel parm. */
803 log_warn("Setting TCP Fast Open as server failed: %s ; this could likely be because sysctl net.inet.tcp.fastopen.enabled, net.inet.tcp.fastopen.server_enable, or net.ipv4.tcp_fastopen is disabled", strerror(errno));
1126 * @param tcp_mss: maximum segment size of tcp socket. default if zero.
1710 * use to listen to them because they have no free tcp handlers */
1886 verbose(VERB_ALGO, "tcp channel read side closed %d", req->cp->fd);
/freebsd-11-stable/contrib/unbound/
H A Dconfigure14733 for ac_header in stdarg.h stdbool.h netinet/in.h netinet/tcp.h sys/param.h sys/select.h sys/socket.h sys/un.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h sys/endian.h libkern/OSByteOrder.h sys/ipc.h sys/shm.h ifaddrs.h
19162 #include <netinet/tcp.h>
19209 #include <netinet/tcp.h>
20200 #include <netinet/tcp.h>
20422 #include <netinet/tcp.h>
20454 #include <netinet/tcp.h>
/freebsd-11-stable/sys/netgraph/
H A Dng_checksum.c50 #include <netinet/tcp.h>
H A Dng_nat.c42 #include <netinet/tcp.h>
/freebsd-11-stable/sbin/ipfw/
H A Dipfw2.c57 #include <netinet/tcp.h>
131 { "tcp flag", 0 },
143 { "tcp option", 0 },
244 { "tcp-setmss", TOK_TCPSETMSS },
281 { "tcp-setmss", TOK_TCPSETMSS },
4150 idx = pack_object(tstate, "tcp-setmss", IPFW_TLV_EACTION);
/freebsd-11-stable/sys/netinet/
H A Dtcp_hostcache.c31 * The tcp_hostcache moves the tcp-specific cached metrics from the routing
98 #include <netinet/tcp.h>
203 TUNABLE_INT_FETCH("net.inet.tcp.hostcache.hashsize",
211 TUNABLE_INT_FETCH("net.inet.tcp.hostcache.bucketlimit",
216 TUNABLE_INT_FETCH("net.inet.tcp.hostcache.cachelimit",
H A Dtcp_output.c73 #include <netinet/tcp.h>
513 * wait for upcoming tcp timer rewrite.
1428 * Section 2. However the tcp hostcache migitates the problem
1429 * so it affects only the first tcp connection with a host.
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_db.c164 #include <netinet/tcp.h>
336 struct tcp_dat *tcp; member in union:alias_link::__anon1
493 "icmp=%u, udp=%u, tcp=%u, sctp=%u, pptp=%u, proto=%u, frag_id=%u frag_ptr=%u / tot=%u",
896 free(lnk->data.tcp);
1016 lnk->data.tcp = aux_tcp;
1083 old_lnk->data.tcp->fwhole > 0) {
1806 if (lnk->data.tcp->state.out != ALIAS_TCP_STATE_CONNECTED)
1812 if (lnk->data.tcp->state.out == ALIAS_TCP_STATE_CONNECTED)
1822 lnk->data.tcp->state.in = state;
1832 if (lnk->data.tcp
[all...]
/freebsd-11-stable/share/man/man4/
H A DMakefile545 tcp.4 \
/freebsd-11-stable/sys/dev/ena/
H A Dena.c70 #include <netinet/tcp.h>

Completed in 311 milliseconds

1234567891011>>