/freebsd/sys/dev/syscons/ |
H A D | scterm-sc.c | 114 static void scterm_scan_esc(scr_stat *scp, term_stat *tcp, 116 static int mask2attr(term_stat *tcp); 121 term_stat *tcp; in scterm_init() local 128 tcp = *softc; in scterm_init() 132 bzero(tcp, sizeof(*tcp)); in scterm_init() 133 tcp->flags = SCTERM_BUSY; in scterm_init() 134 tcp->esc = 0; in scterm_init() 135 tcp->saved_xpos = -1; in scterm_init() 136 tcp->saved_ypos = -1; in scterm_init() 137 tcp->attr_mask = NORMAL_ATTR; in scterm_init() [all …]
|
/freebsd/usr.sbin/services_mkdb/ |
H A D | services | 21 tcpmux 1/tcp #TCP Port Service Multiplexer 23 compressnet 2/tcp #Management Utility 25 compressnet 3/tcp #Compression Process 27 rje 5/tcp #Remote Job Entry 29 echo 7/tcp 32 discard 9/tcp sink null 35 systat 11/tcp users #Active Users 37 daytime 13/tcp 40 qotd 17/tcp quote #Quote of the Day 42 msp 18/tcp #Message Send Protocol [all …]
|
/freebsd/tools/regression/sockets/udp_pingpong/ |
H A D | udp_pingpong.c | 121 get_clock_type(struct test_ctx *tcp) in get_clock_type() argument 123 switch (tcp->ts_type) { in get_clock_type() 138 get_scm_type(struct test_ctx *tcp) in get_scm_type() argument 140 switch (tcp->ts_type) { in get_scm_type() 159 get_scm_size(struct test_ctx *tcp) in get_scm_size() argument 161 switch (tcp->ts_type) { in get_scm_size() 178 setup_ts_sockopt(struct test_ctx *tcp, int fd) in setup_ts_sockopt() argument 186 switch (tcp->ts_type) { in setup_ts_sockopt() 192 sval2 = tcp->ts_type; in setup_ts_sockopt() 210 err(1, "%s: setup_udp: setsockopt(%d, %d, 1)", tcp->name, in setup_ts_sockopt() [all …]
|
/freebsd/sys/netinet/ |
H A D | in_kdtrace.h | 40 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); 198 SDT_PROBE_DECLARE(mib, tcp, count, tcps_connattempt); 199 SDT_PROBE_DECLARE(mib, tcp, count, tcps_accepts); 200 SDT_PROBE_DECLARE(mib, tcp, count, tcps_connects); [all …]
|
/freebsd/cddl/usr.sbin/dwatch/libexec/ |
H A D | tcp | 15 tcp) 17 tcp:::accept-established, \ 18 tcp:::accept-refused, \ 19 tcp:::connect-established, \ 20 tcp:::connect-refused, \ 21 tcp:::connect-request, \ 22 tcp:::receive, \ 23 tcp:::send, \ 24 tcp:::state-change )} ;; 25 tcp-accept) [all …]
|
H A D | Makefile | 15 tcp \ 66 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept 67 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-established 68 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-refused 69 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-connect 70 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-connect-established 71 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-connect-refused 72 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-connect-request 73 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-established 74 LINKS+= ${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-init [all …]
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | in2 | 1 rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1/32 port 0 tcp 3 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp 7 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp 8 rdr le0 9.8.7.6/32 port 80 -> 0/0 port 80 tcp 10 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp/udp 12 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp 13 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin 14 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin 17 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp/udp frag 18 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin frag [all …]
|
H A D | in2_6 | 1 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1/128 port 0 tcp 3 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp 7 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp 8 rdr le0 inet6 9:8:7::6/128 port 80 -> any port 80 tcp 10 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp/udp 12 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp 13 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp round-robin 14 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin 17 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp/udp frag 18 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp round-robin frag [all …]
|
H A D | l1 | 3 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN 4 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN 5 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN 6 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -AF IN 7 01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN 21 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN 26 pass in log quick proto tcp from 1.1.1.1 to any flags S keep state 28 01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN 29 01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A K-S IN 30 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS K-S IN [all …]
|
/freebsd/crypto/heimdal/etc/ |
H A D | services.append | 7 kerberos 88/tcp kerberos-sec # Kerberos v5 TCP 9 kpasswd 464/tcp # password changing 10 klogin 543/tcp # Kerberos authenticated rlogin 11 kshell 544/tcp krcmd # and remote shell 12 ekshell 545/tcp # Kerberos encrypted remote shell -kfall 13 ekshell2 2106/tcp # What U of Colorado @ Boulder uses? 15 kerberos-adm 749/tcp # v5 kadmin 17 kerberos-iv 750/tcp kdc # Kerberos authentication--tcp 19 kerberos_master 751/tcp # v4 kadmin 20 krb_prop 754/tcp hprop # Kerberos slave propagation [all …]
|
/freebsd/contrib/netbsd-tests/ipf/regress/ |
H A D | f5 | 1 block in proto tcp from any port = 23 to any 3 block in proto tcp/udp from any port = 23 to any 4 pass in proto tcp from any port <= 1023 to any 6 pass in proto tcp/udp from any port <= 1023 to any 7 block in proto tcp from any port >= 1024 to any 9 block in proto tcp/udp from any port >= 1024 to any 10 pass in proto tcp from any port >= 1024 to any 12 pass in proto tcp/udp from any port >= 1024 to any 13 block in proto tcp from any port 0 >< 512 to any 15 block in proto tcp/udp from any port 0 >< 512 to any [all …]
|
H A D | f6 | 1 block in proto tcp from any to any port = 23 3 block in proto tcp/udp from any to any port = 23 4 pass in proto tcp from any to any port <= 1023 6 pass in proto tcp/udp from any to any port <= 1023 7 block in proto tcp from any to any port >= 1024 9 block in proto tcp/udp from any to any port >= 1024 10 pass in proto tcp from any to any port >= 1024 12 pass in proto tcp/udp from any to any port >= 1024 13 block in proto tcp from any to any port 0 >< 512 15 block in proto tcp/udp from any to any port 0 >< 512 [all …]
|
H A D | in2 | 1 rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1 port 0 tcp 3 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp 7 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp 8 rdr le0 9.8.7.6/32 port 80 -> 0/0 port 80 tcp 10 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp/udp 12 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp 13 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp round-robin 14 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin 18 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp round-robin frag 19 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin frag [all …]
|
H A D | in2_6 | 1 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 tcp 3 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp 7 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp 8 rdr le0 inet6 9:8:7::6/128 port 80 -> 0/0 port 80 tcp 10 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp/udp 12 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp 13 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin 14 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin 18 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag 19 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag [all …]
|
/freebsd/contrib/netbsd-tests/ipf/input/ |
H A D | f5 | 1 in tcp 1.1.1.1,0 2.2.2.2,2222 2 in tcp 1.1.1.1,1 2.2.2.2,2222 3 in tcp 1.1.1.1,23 2.2.2.2,2222 4 in tcp 1.1.1.1,21 2.2.2.2,2222 5 in tcp 1.1.1.1,1023 2.2.2.2,2222 6 in tcp 1.1.1.1,1024 2.2.2.2,2222 7 in tcp 1.1.1.1,1025 2.2.2.2,2222 8 in tcp 1.1.1.1,32767 2.2.2.2,2222 9 in tcp 1.1.1.1,32768 2.2.2.2,2222 10 in tcp 1.1.1.1,65535 2.2.2.2,2222 [all …]
|
H A D | f6 | 1 in tcp 2.2.2.2,2222 1.1.1.1,0 2 in tcp 2.2.2.2,2222 1.1.1.1,1 3 in tcp 2.2.2.2,2222 1.1.1.1,23 4 in tcp 2.2.2.2,2222 1.1.1.1,21 5 in tcp 2.2.2.2,2222 1.1.1.1,1023 6 in tcp 2.2.2.2,2222 1.1.1.1,1024 7 in tcp 2.2.2.2,2222 1.1.1.1,1025 8 in tcp 2.2.2.2,2222 1.1.1.1,32767 9 in tcp 2.2.2.2,2222 1.1.1.1,32768 10 in tcp 2.2.2.2,2222 1.1.1.1,65535 [all …]
|
H A D | f26 | 1 in tcp 1.1.1.1,1001 2.2.2.2,22 S 2 in tcp 1.1.1.1,1002 2.2.2.2,22 S 3 in tcp 1.1.1.1,1003 2.2.2.2,22 S 4 in tcp 1.1.1.1,1004 2.2.2.2,22 S 5 in tcp 1.1.1.2,1002 2.2.2.2,22 S 6 in tcp 1.1.1.3,1003 2.2.2.2,22 S 7 in tcp 1.1.1.4,1004 2.2.2.2,22 S 8 in tcp 1.1.1.2,1005 2.2.2.2,22 S 9 in tcp 1.1.1.3,1006 2.2.2.2,22 S 10 in tcp 1.1.1.4,1007 2.2.2.2,22 S [all …]
|
H A D | n5 | 4 out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025 5 out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025 19 in on zx0 tcp 10.1.1.1,1025 10.3.4.5,1025 32 out on zx0 tcp 10.1.1.1,1025 10.1.1.1,1025 33 out on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025 36 out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025 37 out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025 38 out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025 40 out on zx0 tcp 10.1.1.3,2000 10.1.2.1,80 41 out on zx0 tcp 10.1.1.3,2001 10.1.3.1,80 [all …]
|
H A D | n5_6 | 4 out6 on zx0 tcp 10:1:1::2,1025 10:1:1::1,1025 5 out6 on zx0 tcp 10:1:1::2,1026 10:1:1::1,1025 19 in6 on zx0 tcp 10:1:1::1,1025 10::3:4:5,1025 32 out6 on zx0 tcp 10:1:1::1,1025 10:1:1::1,1025 33 out6 on zx0 tcp 10:1:1::1,1025 10:1:1::2,1025 36 out6 on zx0 tcp 10:1:1::2,1025 10:1:1::1,1025 37 out6 on zx0 tcp 10:1:1::2,1025 10:1:1::1,1025 38 out6 on zx0 tcp 10:1:1::2,1026 10:1:1::1,1025 40 out6 on zx0 tcp 10:1:1::3,2000 10:1:2::1,80 41 out6 on zx0 tcp 10:1:1::3,2001 10:1:3::1,80 [all …]
|
H A D | n2 | 1 out on zx0 tcp 10.1.1.1,1025 10.1.1.1,1025 2 out on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025 5 out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025 6 out on zx0 tcp 10.1.1.2,1025 10.1.1.1,1025 7 out on zx0 tcp 10.1.1.2,1026 10.1.1.1,1025 9 out on zx0 tcp 10.1.1.3,2000 10.1.2.1,80 10 out on zx0 tcp 10.1.1.3,2001 10.1.3.1,80 11 out on zx0 tcp 10.1.1.3,2002 10.1.4.1,80 12 out on zx0 tcp 10.1.1.3,2003 10.1.4.1,80 14 in on zx0 tcp 10.1.1.1,1025 10.1.1.2,1025 [all …]
|
H A D | n2_6 | 1 out6 on zx0 tcp 10:1:1::1,1025 10:1:1::1,1025 2 out6 on zx0 tcp 10:1:1::1,1025 10:1:1::2,1025 5 out6 on zx0 tcp 10:1:1::2,1025 10:1:1::1,1025 6 out6 on zx0 tcp 10:1:1::2,1025 10:1:1::1,1025 7 out6 on zx0 tcp 10:1:1::2,1026 10:1:1::1,1025 9 out6 on zx0 tcp 10:1:1::3,2000 10:1:2::1,80 10 out6 on zx0 tcp 10:1:1::3,2001 10:1:3::1,80 11 out6 on zx0 tcp 10:1:1::3,2002 10:1:4::1,80 12 out6 on zx0 tcp 10:1:1::3,2003 10:1:4::1,80 14 in6 on zx0 tcp 10:1:1::1,1025 10:1:1::2,1025 [all …]
|
H A D | n6 | 1 in on zx0 tcp 10.2.2.2,12345 10.1.1.1,23 2 in on zx0 tcp 10.2.2.2,12345 10.1.1.2,23 3 in on zx0 tcp 10.3.0.1,12345 10.1.2.2,23 4 in on zx0 tcp 10.3.0.1,12345 10.2.2.2,23 5 in on zx0 tcp 10.3.3.3,12345 10.1.1.1,23 6 in on zx0 tcp 10.2.2.2,12345 10.1.1.1,53 7 in on zx0 tcp 10.3.3.3,12345 10.1.1.1,53 8 in on zx0 tcp 10.2.2.2,12345 10.1.0.0,23 9 in on zx0 tcp 10.3.3.3,12345 10.1.0.0,23 12 in on zx0 tcp 10.2.2.2,12345 10.1.1.0,53 [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
H A D | tst.localtcpstate.ksh.out | 5 tcp:::send - yes 6 tcp:::receive - yes 7 tcp:::state-change to syn-sent - yes 8 tcp:::state-change to syn-received - yes 9 tcp:::state-change to established - yes 10 tcp:::state-change to fin-wait-1 - yes 11 tcp:::state-change to close-wait - yes 12 tcp:::state-change to fin-wait-2 - yes 13 tcp:::state-change to last-ack - yes 14 tcp:::state-change to time-wait - yes [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_tx.c | 158 tcphdr_t th, *tcp = &th; in parseline() local 165 bzero((char *)ip, MAX(sizeof(*tcp), sizeof(*ic)) + sizeof(*ip)); in parseline() 166 bzero((char *)tcp, sizeof(*tcp)); in parseline() 240 tcp->th_sport = htons(tx_portnum(last)); in parseline() 242 tcp->th_win = htons(4096); in parseline() 243 TCP_OFF_A(tcp, sizeof(*tcp) >> 2); in parseline() 260 tcp->th_dport = htons(tx_portnum(last)); in parseline() 268 tcp->th_flags = 0; in parseline() 271 tcp->th_flags |= myflags[t-myflagset]; in parseline() 272 if (tcp->th_flags) in parseline() [all …]
|
/freebsd/sbin/pfctl/tests/files/ |
H A D | pf0004.ok | 2 block drop in proto tcp all 3 block drop in proto tcp all 10 block drop in proto tcp from any port = ssh to any 11 block drop in proto tcp from any port = ssh to any port 1024:2048 12 block drop in proto tcp from any port 21 >< 2048 to any port 1024:2048 13 block drop in proto tcp from any port != 1234 to any port 1024:2048 14 block drop in proto tcp from any port >= 80 to any port 1024:2048 15 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = ircd 16 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = 6668 17 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port 6669:65535 [all …]
|