Searched refs:tcp (Results 1 - 25 of 385) sorted by path

1234567891011>>

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localtcp.ksh28 # Test {ip,tcp}:::{send,receive} of IPv4 TCP to local host.
43 # 3 x tcp:::send (2 during the TCP handshake, then a FIN)
45 # 2 x tcp:::receive (1 during the TCP handshake, then the FIN ACK)
51 # TCP close will enter the IP code path and not use tcp fusion.
83 Proto => "tcp",
105 tcp:::send
118 tcp:::receive
129 printf("tcp:::send - %s\n", tcpsend >= 5 ? "yes" : "no");
130 printf("tcp:::receive - %s\n", tcpreceive >= 5 ? "yes" : "no");
H A Dtst.ipv4remotetcp.ksh28 # Test {tcp,ip}:::{send,receive} of IPv4 TCP to a remote host.
43 # 3 x tcp:::send (2 during the TCP handshake, then a FIN)
45 # 2 x tcp:::receive (1 during the TCP handshake, then the FIN ACK)
73 Proto => "tcp",
95 tcp:::send
108 tcp:::receive
119 printf("tcp:::send - %s\n", tcpsend >= 3 ? "yes" : "no");
120 printf("tcp:::receive - %s\n", tcpreceive >= 2 ? "yes" : "no");
H A Dtst.localtcpstate.ksh28 # Test tcp:::state-change and tcp:::{send,receive} by connecting to
31 # A number of state transition events along with tcp fusion send and
47 # 4 x tcp:::send (2 during the TCP handshake, 1 message then a FIN)
49 # 3 x tcp:::receive (1 during the TCP handshake, 1 message then the FIN ACK)
52 # source and destination events. The actual tcp count tested is 7
56 # TCP close will enter the IP code path and not use tcp fusion.
75 Proto => "tcp",
99 tcp:::send
113 tcp
[all...]
H A Dtst.remotetcpstate.ksh28 # Test tcp:::state-change and tcp:::{send,receive} by connecting to
31 # A number of state transition events along with tcp send and receive
47 # 4 x tcp:::send (2 during the TCP handshake, the messages, then a FIN)
49 # 3 x tcp:::receive (1 during the TCP handshake, the response, then the FIN ACK)
52 # TCP close will enter the IP code path and not use tcp fusion.
80 Proto => "tcp",
104 tcp:::send
118 tcp:::receive
125 tcp
[all...]
/freebsd-11-stable/cddl/lib/libdtrace/
H A DMakefile55 tcp.d \
H A Dsiftr.d26 #pragma D depends_on provider tcp
H A Dtcp.d21 * $FreeBSD: stable/11/cddl/lib/libdtrace/tcp.d 333617 2018-05-15 00:00:44Z dteske $
30 #pragma D depends_on provider tcp
137 * tcplsinfo provides the old tcp state for state changes.
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/mib/
H A DMakefile11 tst.tcp.ksh \
/freebsd-11-stable/cddl/usr.sbin/dwatch/libexec/
H A DMakefile15 tcp \
64 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept
65 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-established
66 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-refused
67 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-connect
68 LINKS+= ${LIBEXECDIR}/dwatch/tcp
[all...]
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c31 * tcp
37 #include <netinet/tcp.h>
73 if (sysctlbyname("net.inet.tcp.stats", &tcpstat, &len, NULL, 0) == -1) {
74 syslog(LOG_ERR, "net.inet.tcp.stats: %m");
78 syslog(LOG_ERR, "net.inet.tcp.stats: wrong size");
83 if (sysctlbyname("net.inet.tcp.states", &tcps_states, &len, NULL,
85 syslog(LOG_ERR, "net.inet.tcp.states: %m");
89 syslog(LOG_ERR, "net.inet.tcp.states: wrong size");
108 if (sysctlbyname("net.inet.tcp.pcblist", NULL, &len, NULL, 0) == -1) {
109 syslog(LOG_ERR, "net.inet.tcp
[all...]
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/
H A Dgdbreplay.c28 #include <netinet/tcp.h>
99 fprintf (stderr, "%s: Must specify tcp connection as host:addr\n", name);
H A Dremote-utils.c32 #include <netinet/tcp.h>
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-tcp.c40 #include <netinet/tcp.h>
55 /* Open a tcp socket */
72 else if (strncmp (name, "tcp:", 4) == 0)
212 ops->name = "tcp";
/freebsd-11-stable/contrib/ipfilter/
H A DMakefile410 /usr/include/netinet/in_systm.h,/usr/include/sys/ethernet.h,/usr/include/netinet/in.h,/usr/include/netinet/ip.h,/usr/include/netinet/ip_var.h,/usr/include/netinet/tcp.h,/usr/include/netinet/tcpip.h,/usr/include/netinet/ip_icmp.h,/usr/include/netinet/udp.h,ip_compat.h,ip_fil.h,ip_nat.h,ip_state.h,ip_proxy.h,ip_scan.h
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dsnit.c38 #include <netinet/tcp.h>
H A Dsockraw.c24 #include <netinet/tcp.h>
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintpacket.c24 tcphdr_t *tcp; local
74 tcp = (struct tcphdr *)((char *)ip + (IP_HL(ip) << 2));
82 PRINTF(",%d", ntohs(tcp->th_sport));
87 PRINTF(",%d", ntohs(tcp->th_dport));
88 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
90 if (tcp->th_flags & TH_FIN)
92 if (tcp->th_flags & TH_SYN)
94 if (tcp->th_flags & TH_RST)
96 if (tcp->th_flags & TH_PUSH)
98 if (tcp
[all...]
H A Dprintpacket6.c24 tcphdr_t *tcp; local
28 tcp = (tcphdr_t *)(buf + 40);
49 (void)PRINTF(",%d", ntohs(tcp->th_sport));
58 PRINTF(",%d", ntohs(tcp->th_dport));
/freebsd-11-stable/contrib/ipfilter/rules/
H A DBASIC.NAT13 map ppp0 w.x.y.z/24 -> a.b.c.d/32 proxy port ftp ftp/tcp
17 map ppp0 w.x.y.z/24 -> a.b.c.d/32 portmap tcp/udp 40000:60000
22 #map ppp0 w.x.y.z/24 -> 0/32 portmap tcp/udp 40000:60000
28 #map ppp0 w.x.y.z/24 -> a.b.c.d/24 portmap tcp/udp 40000:60000
33 #map ppp0 w.x.y.v/32 -> a.b.c.E/32 portmap tcp/udp 40000:60000
35 #map ppp0 w.x.y.u/32 -> a.b.c.F/32 portmap tcp/udp 40000:60000
37 #map ppp0 w.x.y.t/32 -> a.b.c.G/32 portmap tcp/udp 40000:60000
39 #map ppp0 w.x.y.s/32 -> a.b.c.H/32 portmap tcp/udp 40000:60000
41 #map ppp0 w.x.y.r/32 -> a.b.c.I/32 portmap tcp/udp 40000:60000
43 #map ppp0 w.x.y.q/32 -> a.b.c.J/32 portmap tcp/ud
[all...]
H A DBASIC_1.FW25 block in log proto tcp all flags S/SA head 101 group 100
28 block in log proto tcp all flags S/SA head 201 group 200
70 pass in quick proto tcp from any to any port = ftp keep state group 201
71 pass in quick proto tcp from any to any port = ftp-data keep state group 201
72 pass in quick proto tcp from any port = ftp-data to any port > 1023 keep state group 101
80 pass in quick proto tcp from any to any port = 22 keep state group 201
81 pass in quick proto tcp from any to any port = telnet keep state group 201
82 pass in quick proto tcp from any to any port = www keep state group 201
85 block in log proto tcp from any to a.b.c.d/32 flags S/SA head 110 group 100
89 pass in log quick proto tcp fro
[all...]
H A DBASIC_2.FW59 pass in log quick proto tcp all flags S/SA keep state group 200
70 block return-rst in log proto tcp from any to any flags S/SA group 100
H A Dipmon.conf14 match { protocol = tcp, result = block, dstport = 25; }
/freebsd-11-stable/contrib/ipfilter/samples/
H A Dproxy.c9 * tcpmux stream tcp nowait root /usr/local/bin/proxy proxy
37 #include <netinet/tcp.h>
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-nit.c43 #include <netinet/tcp.h>
H A Dpcap-pf.c48 #include <netinet/tcp.h>

Completed in 178 milliseconds

1234567891011>>