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

1234567891011>>

/freebsd-9.3-release/sys/netinet/cc/
H A Dcc_module.h53 (ccv)->type == IPPROTO_TCP ? &(ccv)->ccvc.tcp->what : \
57 #define CCV(ccv, what) (ccv)->ccvc.tcp->what
/freebsd-9.3-release/usr.sbin/bsdconfig/include/
H A DMakefile7 options.hlp tcp.hlp usage.hlp
/freebsd-9.3-release/contrib/ipfilter/rules/
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 Dexample.124 block in proto tcp all with short
H A Dexample.511 pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667
H A Dexample.sr18 log in on le0 proto tcp from any to any flags S/SA
53 block in on le0 proto tcp from any to 10.1.3.0/24 flags S/SA
54 block in on le0 proto tcp from any to 10.1.2.0/24 flags S/SA
55 block in on le0 proto tcp from any to 10.1.1.0/24 flags S/SA
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dipft_tx.c164 tcphdr_t th, *tcp = &th; local
171 bzero((char *)ip, MAX(sizeof(*tcp), sizeof(*ic)) + sizeof(*ip));
172 bzero((char *)tcp, sizeof(*tcp));
205 if (!strcasecmp(*cpp, "tcp") || !strcasecmp(*cpp, "udp") ||
210 tx_proto = "tcp";
234 fprintf(stderr, "tcp/udp with no source port\n");
238 tcp->th_sport = htons(tx_portnum(last));
240 tcp->th_win = htons(4096);
241 TCP_OFF_A(tcp, sizeo
[all...]
/freebsd-9.3-release/etc/rc.d/
H A Dnetoptions43 ${SYSCTL} net.inet.tcp.log_in_vain=${log_in_vain} >/dev/null
47 ${SYSCTL} net.inet.tcp.log_in_vain=0 >/dev/null
53 ${SYSCTL} net.inet.tcp.rfc1323=1 >/dev/null
57 ${SYSCTL} net.inet.tcp.rfc1323=0 >/dev/null
61 ${SYSCTL} net.inet.tcp.always_keepalive=1 >/dev/null
65 ${SYSCTL} net.inet.tcp.always_keepalive=0 >/dev/null
71 ${SYSCTL} net.inet.tcp.drop_synfin=1 >/dev/null
73 ${SYSCTL} net.inet.tcp.drop_synfin=0 >/dev/null
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
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",
98 tcp:::send
112 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",
103 tcp:::send
117 tcp:::receive
124 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.
70 Proto => "tcp",
91 tcp:::send
104 tcp:::receive
115 printf("tcp:::send - %s\n", tcpsend >= 5 ? "yes" : "no");
116 printf("tcp:::receive - %s\n", tcpreceive >= 5 ? "yes" : "no");
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dipsend.c201 tcphdr_t *tcp; local
213 tcp = (tcphdr_t *)(ip + 1);
214 udp = (udphdr_t *)tcp;
321 tcp->th_dport = htons(atoi(optarg));
329 tcp->th_win = atoi(optarg);
391 tcp = (tcphdr_t *)(p + hlen);
402 tcp->th_flags |= TH_SYN;
405 tcp->th_flags |= TH_ACK;
408 tcp->th_flags |= TH_FIN;
411 tcp
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dncp.h41 struct port_range tcp, udp; /* The range of urgent ports */ member in struct:ncp::__anon11034::__anon11035
79 ncp_IsUrgentPort(&(ncp)->cfg.urgent.tcp, p1, p2)
83 ncp_AddUrgentPort(&(ncp)->cfg.urgent.tcp, p)
87 ncp_RemoveUrgentPort(&(ncp)->cfg.urgent.tcp, p)
91 ncp_ClearUrgentPorts(&(ncp)->cfg.urgent.tcp)
H A Dncp.c101 ncp->cfg.urgent.tcp.port = (u_short *)malloc(NDEFTCPPORTS * sizeof(u_short));
102 if (ncp->cfg.urgent.tcp.port == NULL) {
104 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0;
106 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = NDEFTCPPORTS;
107 memcpy(ncp->cfg.urgent.tcp.port, default_urgent_tcp_ports,
134 if (ncp->cfg.urgent.tcp.maxports) {
135 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp
[all...]
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_rcmd_pxy.c63 tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp; local
77 aps->aps_sport = tcp->th_sport;
78 aps->aps_dport = tcp->th_dport;
105 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
115 tcp = (tcphdr_t *)fin->fin_dp;
117 if (tcp->th_flags & TH_SYN) {
118 *(u_32_t *)aps->aps_data = htonl(ntohl(tcp->th_seq) + 1);
123 (tcp->th_seq != *(u_32_t *)aps->aps_data))
128 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) <<
[all...]
H A Dip_pptp_pxy.c248 tcphdr_t *tcp; local
253 tcp = fin->fin_dp;
254 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2);
255 start = ntohl(tcp->th_seq);
257 off = (char *)tcp - (char *)fin->fin_ip + (TCP_OFF(tcp) << 2) +
280 msg = (char *)fin->fin_dp + (TCP_OFF(tcp) << 2);
480 tcphdr_t *tcp; local
490 tcp = (tcphdr_t *)fin->fin_dp;
491 if ((tcp
[all...]
H A Dip_raudio_pxy.c84 tcphdr_t *tcp; local
99 tcp = (tcphdr_t *)fin->fin_dp;
100 off = (char *)tcp - (char *)fin->fin_ip;
101 off += (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
188 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
210 tcp = (tcphdr_t *)fin->fin_dp;
211 off = (char *)tcp - (char *)fin->fin_ip;
212 off += (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
228 seq = ntohl(tcp->th_seq);
290 ip->ip_len = fin->fin_hlen + sizeof(*tcp);
[all...]
/freebsd-9.3-release/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-9.3-release/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-9.3-release/contrib/ipfilter/ipsd/
H A Dsbpf.c39 #include <netinet/tcp.h>
74 tcphdr_t *tcp; local
78 tcp = (tcphdr_t *)(ip + 1);
80 bcopy(ep + 14 + (ip->ip_hl << 2), (char *)tcp, sizeof(*tcp));
85 if (0 == detect(ip, tcp))
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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...]

Completed in 192 milliseconds

1234567891011>>