Searched refs:tcp (Results 1 - 25 of 455) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/syscons/
H A Dscterm-sc.c114 static void scterm_scan_esc(scr_stat *scp, term_stat *tcp,
116 static int mask2attr(term_stat *tcp);
121 term_stat *tcp; local
128 tcp = *softc;
132 bzero(tcp, sizeof(*tcp));
133 tcp->flags = SCTERM_BUSY;
134 tcp->esc = 0;
135 tcp->saved_xpos = -1;
136 tcp
178 scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c) argument
672 term_stat *tcp; local
707 term_stat *tcp = scp->ts; local
741 term_stat *tcp = scp->ts; local
756 term_stat *tcp = scp->ts; local
798 mask2attr(term_stat *tcp) argument
[all...]
/freebsd-current/tools/test/stress2/testcases/tcp/
H A DMakefile1 PROG=tcp
/freebsd-current/tests/sys/netpfil/ipfw/
H A Dfwd_inetd.conf5 http stream tcp nowait nobody /bin/echo echo BAD 80
6 xfer stream tcp nowait nobody /bin/echo echo GOOD 82
/freebsd-current/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c121 get_clock_type(struct test_ctx *tcp) argument
123 switch (tcp->ts_type) {
138 get_scm_type(struct test_ctx *tcp) argument
140 switch (tcp->ts_type) {
159 get_scm_size(struct test_ctx *tcp) argument
161 switch (tcp->ts_type) {
178 setup_ts_sockopt(struct test_ctx *tcp, int fd) argument
186 switch (tcp->ts_type) {
192 sval2 = tcp->ts_type;
210 err(1, "%s: setup_udp: setsockopt(%d, %d, 1)", tcp
225 setup_udp(struct test_ctx *tcp) argument
270 setup_udp6(struct test_ctx *tcp) argument
308 teardown_udp(struct test_ctx *tcp) argument
316 send_pkt(struct test_ctx *tcp, int pnum, int fdidx, const char *face) argument
337 hdr_extract_ts(struct test_ctx *tcp, struct msghdr *mhp, struct timespec *tp) argument
383 recv_pkt_recvmsg(struct test_ctx *tcp, int fdidx, const char *face, void *buf, size_t rlen, struct timespec *tp) argument
416 recv_pkt_recv(struct test_ctx *tcp, int fdidx, const char *face, void *buf, size_t rlen, struct timespec *tp) argument
433 recv_pkt(struct test_ctx *tcp, int fdidx, const char *face, int tout) argument
471 test_server(struct test_ctx *tcp) argument
487 test_client(struct test_ctx *tcp) argument
[all...]
/freebsd-current/contrib/libpcap/rpcapd/
H A Drpcapd.inetd.conf1 2002 stream tcp nowait root /usr/local/sbin/rpcapd rpcapd -i
H A Drpcapd.xinetd.conf3 protocol = tcp
/freebsd-current/sys/netinet/
H A Din_kdtrace.h40 SDT_PROBE1(tcp, , , probe, arg0)
42 SDT_PROBE2(tcp, , , probe, arg0, arg1)
44 SDT_PROBE3(tcp, , , probe, arg0, arg1, arg2)
46 SDT_PROBE4(tcp, , , probe, arg0, arg1, arg2, arg3)
48 SDT_PROBE5(tcp, , , probe, arg0, arg1, arg2, arg3, arg4)
50 SDT_PROBE6(tcp, , , probe, arg0, arg1, arg2, arg3, arg4, arg5)
53 SDT_PROVIDER_DECLARE(tcp); variable
198 SDT_PROBE_DECLARE(mib, tcp, count, tcps_connattempt);
199 SDT_PROBE_DECLARE(mib, tcp, count, tcps_accepts);
200 SDT_PROBE_DECLARE(mib, tcp, coun
[all...]
H A Dtcp_ecn.h37 #include <netinet/tcp.h>
/freebsd-current/tests/sys/mac/portacl/
H A Dnobody_test.sh17 bind_test fl fl uid nobody tcp 77
18 bind_test ok ok uid nobody tcp 7777
22 bind_test fl fl gid nobody tcp 77
23 bind_test ok ok gid nobody tcp 7777
29 bind_test fl fl uid nobody tcp 77
30 bind_test ok ok uid nobody tcp 7777
34 bind_test fl fl gid nobody tcp 77
35 bind_test ok ok gid nobody tcp 7777
43 bind_test fl fl uid nobody tcp 77
44 bind_test fl ok uid nobody tcp 777
[all...]
H A Droot_test.sh14 bind_test ok ok uid root tcp 77
15 bind_test ok ok uid root tcp 7777
19 bind_test ok ok gid root tcp 77
20 bind_test ok ok gid root tcp 7777
28 bind_test fl ok uid root tcp 77
29 bind_test ok ok uid root tcp 7777
33 bind_test fl ok gid root tcp 77
34 bind_test ok ok gid root tcp 7777
42 bind_test fl ok uid root tcp 77
43 bind_test fl ok uid root tcp 777
[all...]
/freebsd-current/sbin/ipf/libipf/
H A Dprintpacket.c21 tcphdr_t *tcp; local
71 tcp = (struct tcphdr *)((char *)ip + (IP_HL(ip) << 2));
79 PRINTF(",%d", ntohs(tcp->th_sport));
84 PRINTF(",%d", ntohs(tcp->th_dport));
85 if ((ip->ip_p == IPPROTO_TCP) && (tcp->th_flags != 0)) {
87 if (tcp->th_flags & TH_FIN)
89 if (tcp->th_flags & TH_SYN)
91 if (tcp->th_flags & TH_RST)
93 if (tcp->th_flags & TH_PUSH)
95 if (tcp
[all...]
H A Dipft_tx.c158 tcphdr_t th, *tcp = &th; local
165 bzero((char *)ip, MAX(sizeof(*tcp), sizeof(*ic)) + sizeof(*ip));
166 bzero((char *)tcp, sizeof(*tcp));
207 if (!strcasecmp(*cpp, "tcp") || !strcasecmp(*cpp, "udp") ||
212 tx_proto = "tcp";
236 fprintf(stderr, "tcp/udp with no source port\n");
240 tcp->th_sport = htons(tx_portnum(last));
242 tcp->th_win = htons(4096);
243 TCP_OFF_A(tcp, sizeo
333 tcphdr_t th, *tcp = &th; local
[all...]
H A Dprintpacket6.c21 tcphdr_t *tcp; local
25 tcp = (tcphdr_t *)(buf + 40);
46 (void)PRINTF(",%d", ntohs(tcp->th_sport));
55 PRINTF(",%d", ntohs(tcp->th_dport));
/freebsd-current/share/examples/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 Dipmon.conf14 match { protocol = tcp, result = block, dstport = 25; }
/freebsd-current/cddl/usr.sbin/dtrace/tests/common/mib/
H A DMakefile10 tst.tcp.ksh \
/freebsd-current/tests/sys/netpfil/pf/
H A Decho_inetd.conf27 echo stream tcp nowait root internal
H A Ddaytime_inetd.conf27 daytime stream tcp nowait root internal
/freebsd-current/cddl/usr.sbin/dwatch/libexec/
H A DMakefile16 tcp \
67 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept
68 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-established
69 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-refused
70 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-connect
71 LINKS+= ${LIBEXECDIR}/dwatch/tcp
[all...]
/freebsd-current/tools/test/stress2/testcases/
H A DMakefile23 tcp \
/freebsd-current/usr.sbin/bsdconfig/include/
H A DMakefile4 options.hlp tcp.hlp usage.hlp
/freebsd-current/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-current/sys/netpfil/ipfw/pmod/
H A Dtcpmod.c47 #include <netinet/tcp.h>
60 tcpmod_setmss(struct mbuf **mp, struct tcphdr *tcp, int tlen, uint16_t mss) argument
79 for (tlen -= sizeof(struct tcphdr), cp = (u_char *)(tcp + 1);
104 bcopy(&tcp->th_sum, &csum, sizeof(csum));
106 bcopy(&csum, &tcp->th_sum, sizeof(csum));
121 struct tcphdr *tcp; local
139 tcp = mtodo(*mp, hlen);
141 hlen = tcp->th_off << 2;
145 return (tcpmod_setmss(mp, tcp, hlen, mss));
153 struct tcphdr *tcp; local
[all...]
/freebsd-current/libexec/rc/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

Completed in 326 milliseconds

1234567891011>>