Searched refs:tcp (Results 26 - 50 of 385) sorted by relevance

1234567891011>>

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
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...]
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");
/freebsd-11-stable/contrib/ipfilter/
H A Dip_msnrpc_pxy.c126 tcphdr_t *tcp; local
133 tcp = (tcphdr_t *)fin->fin_dp;
134 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2);
138 mrh = (msnrpchdr_t *)((char *)tcp + (TCP_OFF(tcp) << 2));
165 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
176 tcp = (tcphdr_t *)fin->fin_dp;
177 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2);
181 mrh = (msnrpchdr_t *)((char *)tcp + (TCP_OFF(tcp) <<
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_hpgps.c263 char *tcp; /* timecode pointer (skips over the prompt) */ local
338 tcp = strrchr(pp->a_lastcode,'>');
339 if (tcp == NULL)
340 tcp = pp->a_lastcode;
342 tcp++;
343 prompt[tcp - pp->a_lastcode] = '\0';
344 while ((*tcp == ' ') || (*tcp == '\t')) tcp++;
362 m = sscanf(tcp,"
[all...]
/freebsd-11-stable/release/picobsd/mfs_tree/etc/
H A Drc.network62 sysctl net.inet.tcp.rfc1323=0 >/dev/null 2>&1
63 sysctl net.inet.tcp.rfc1644=0 >/dev/null 2>&1
/freebsd-11-stable/usr.sbin/ppp/
H A Dncp.c103 ncp->cfg.urgent.tcp.port = (u_short *)malloc(NDEFTCPPORTS * sizeof(u_short));
104 if (ncp->cfg.urgent.tcp.port == NULL) {
106 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0;
108 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = NDEFTCPPORTS;
109 memcpy(ncp->cfg.urgent.tcp.port, default_urgent_tcp_ports,
136 if (ncp->cfg.urgent.tcp.maxports) {
137 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp
[all...]
/freebsd-11-stable/contrib/tnftp/src/
H A Dcomplete.c218 char *tcp; local
220 tcp = ftp_strdup(dp->d_name);
221 ftp_sl_add(words, tcp);
319 char *tcp; local
327 tcp = strrchr(cp, '/');
328 if (tcp)
329 tcp++;
331 tcp = cp;
332 tcp = ftp_strdup(tcp);
[all...]
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_rcmd_pxy.c74 tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp; local
91 aps->aps_sport = tcp->th_sport;
92 aps->aps_dport = tcp->th_dport;
149 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
166 tcp = (tcphdr_t *)fin->fin_dp;
170 tcpsz = TCP_OFF(tcp) << 2;
176 off = (char *)tcp - (char *)ip + tcpsz + fin->fin_ipoff;
184 (tcp->th_seq != rc->rcmd_portseq))
210 rc->rcmd_portseq = tcp->th_seq;
264 ip6->ip6_plen = htons(sizeof(*tcp));
[all...]
H A Dip_raudio_pxy.c89 tcphdr_t *tcp; local
104 tcp = (tcphdr_t *)fin->fin_dp;
105 off = (char *)tcp - (char *)fin->fin_ip;
106 off += (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
191 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
217 tcp = (tcphdr_t *)fin->fin_dp;
218 off = (char *)tcp - (char *)fin->fin_ip;
219 off += (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
231 seq = ntohl(tcp->th_seq);
291 ip->ip_len = htons(fin->fin_hlen + sizeof(*tcp));
[all...]
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_pptp_pxy.c292 tcphdr_t *tcp; local
297 tcp = fin->fin_dp;
298 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2);
299 start = ntohl(tcp->th_seq);
301 off = (char *)tcp - (char *)fin->fin_ip + (TCP_OFF(tcp) << 2) +
324 msg = (char *)fin->fin_dp + (TCP_OFF(tcp) << 2);
528 tcphdr_t *tcp; local
538 tcp = (tcphdr_t *)fin->fin_dp;
539 if ((tcp
[all...]
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...]
/freebsd-11-stable/tools/tools/tinybsd/conf/firewall/etc/
H A Drc.firewall165 ${fwcmd} add pass tcp from any to any established
171 ${fwcmd} add pass tcp from any to ${ip} 25 setup
174 ${fwcmd} add pass tcp from ${ip} to any setup
177 ${fwcmd} add deny tcp from any to any setup
259 ${fwcmd} add pass tcp from any to any established
265 ${fwcmd} add pass tcp from any to ${oip} 25 setup
268 ${fwcmd} add pass tcp from any to ${oip} 53 setup
273 ${fwcmd} add pass tcp from any to ${oip} 80 setup
276 ${fwcmd} add deny log tcp from any to any in via ${oif} setup
279 ${fwcmd} add pass tcp fro
[all...]
/freebsd-11-stable/tools/tools/tinybsd/conf/wireless/etc/
H A Drc.firewall165 ${fwcmd} add pass tcp from any to any established
171 ${fwcmd} add pass tcp from any to ${ip} 25 setup
174 ${fwcmd} add pass tcp from ${ip} to any setup
177 ${fwcmd} add deny tcp from any to any setup
259 ${fwcmd} add pass tcp from any to any established
265 ${fwcmd} add pass tcp from any to ${oip} 25 setup
268 ${fwcmd} add pass tcp from any to ${oip} 53 setup
273 ${fwcmd} add pass tcp from any to ${oip} 80 setup
276 ${fwcmd} add deny log tcp from any to any in via ${oif} setup
279 ${fwcmd} add pass tcp fro
[all...]
/freebsd-11-stable/tools/regression/ipfw/fwd/
H A Dvimage-fwd.sh263 192.0.2.6 192.0.2.5 192.0.2.255 "" 12345 tcp "-4"
267 192.0.2.6 192.0.2.5 192.0.2.255 ",65534" 12345 tcp "-4"
281 192.0.2.6 192.0.2.1 192.0.2.255 "" 12345 tcp "-4"
285 192.0.2.6 192.0.2.1 192.0.2.255 ",65534" 12345 tcp "-4"
299 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 "" 12345 tcp "-6"
303 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 ",65534" 12345 tcp "-6"
317 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 "" 12345 tcp "-6"
321 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 ",65534" 12345 tcp "-6"
330 192.0.2.6 192.0.2.5 192.0.2.1 "" 12345 tcp "-4"
339 2001:db8:1::2 2001:db8:1::1 2001:db8::1 "" 12345 tcp "
[all...]
/freebsd-11-stable/share/dtrace/
H A Dtcptrack37 tcp:kernel::accept-established
47 tcp:kernel::accept-refused
57 tcp:kernel::connect-established
67 tcp:kernel::connect-refused
76 tcp:kernel::state-change
/freebsd-11-stable/etc/
H A Drc.firewall236 ${fwcmd} add pass tcp from any to any established
242 ${fwcmd} add pass tcp from any to me 25 setup
245 ${fwcmd} add pass tcp from me to any setup
248 ${fwcmd} add deny tcp from any to any setup
386 ${fwcmd} add pass tcp from any to any established
392 ${fwcmd} add pass tcp from any to me 25 setup
395 ${fwcmd} add pass tcp from any to me 53 setup
400 ${fwcmd} add pass tcp from any to me 80 setup
403 ${fwcmd} add deny log ip4 from any to any in via ${oif} setup proto tcp
406 setup proto tcp
[all...]
/freebsd-11-stable/contrib/sendmail/contrib/
H A DsocketmapClient.pl16 if ($connection =~ /tcp:(.+):([0-9]*)/) {
20 Proto => 'tcp',
/freebsd-11-stable/usr.bin/systat/
H A DMakefile9 mode.c ip.c sctp.c tcp.c zarc.c \
/freebsd-11-stable/contrib/tcsh/
H A Dsh.c246 char *tcp, *ttyn; local
605 if (((tcp = getenv("HOME")) != NULL && strcmp (tcp, "/data") != 0)
606 || (tcp = getenv("EXTERNAL_STORAGE")) != NULL) {
607 cp = quote(SAVE(tcp));
612 if ((tcp = getenv("HOME")) != NULL)
613 cp = quote(SAVE(tcp));
701 if ((tcp = getenv("SYSTYPE")) == NULL)
702 tcp = "bsd4.3";
703 tsetenv(STRSYSTYPE, quote(str2short(tcp)));
[all...]
/freebsd-11-stable/crypto/heimdal/appl/push/
H A Dpush_locl.h77 #include <netinet/tcp.h>
/freebsd-11-stable/sys/netgraph/
H A Dng_tcpmss.c59 #include <netinet/tcp.h>
271 struct tcphdr *tcp; local
320 tcp = (struct tcphdr *)((caddr_t )ip + iphlen);
323 tcphlen = tcp->th_off << 2;
328 if (!(tcp->th_flags & TH_SYN) || tcphlen == sizeof(struct tcphdr))
336 tcp = (struct tcphdr *)((caddr_t )ip + iphlen);
341 if (correct_mss(tcp, tcphlen, priv->stats.maxMSS,
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_osfp.c32 #include <netinet/tcp.h>
71 const struct tcphdr *tcp)
78 pd->proto != IPPROTO_TCP || (tcp->th_off << 2) < sizeof(*tcp))
88 if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL,
95 pf_osfp_fingerprint_hdr(const struct ip *ip, const struct ip6_hdr *ip6, const struct tcphdr *tcp) argument
106 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN)
134 fp.fp_wsize = ntohs(tcp->th_win);
137 cnt = (tcp->th_off << 2) - sizeof(*tcp);
70 pf_osfp_fingerprint(struct pf_pdesc *pd, struct mbuf *m, int off, const struct tcphdr *tcp) argument
[all...]
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-device.h259 /* Next tcp sequence number */
261 /* Current tcp seq & ack */
942 __hal_tcp_seg_len(iplro_t *ip, tcplro_t *tcp);
948 __hal_tcp_lro_capable(iplro_t *ip, tcplro_t *tcp, lro_t *lro, int *ts_off);
951 __hal_lro_capable(u8 *buffer, iplro_t **ip, tcplro_t **tcp,
955 __hal_get_lro_session(u8 *eth_hdr, iplro_t *ip, tcplro_t *tcp, lro_t **lro,
960 __hal_lro_under_optimal_thresh(iplro_t *ip, tcplro_t *tcp, lro_t *lro,
964 __hal_collapse_ip_hdr(iplro_t *ip, tcplro_t *tcp, lro_t *lro,
968 __hal_collapse_tcp_hdr(iplro_t *ip, tcplro_t *tcp, lro_t *lro,
972 __hal_append_lro(iplro_t *ip, tcplro_t **tcp, u3
[all...]

Completed in 168 milliseconds

1234567891011>>