HomeSort by: relevance | last modified time | path
    Searched refs:TCP (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/rump/net/lib/libnetinet/
Makefile 5 COMMENT=IPv4 incl. TCP and UDP (PF_INET)
  /src/sys/rump/net/lib/libnetinet6/
Makefile 5 COMMENT=IPv6 incl. TCP and UDP (PF_INET6)
  /src/usr.bin/systat/
systat.h 57 #define TCP 0x1
netcmds.c 130 selectproto("tcp");
160 protos == TCP ? "tcp" : protos == UDP ? "udp" : 0);
184 protos = TCP|UDP;
185 else if (streq(proto, "tcp"))
186 protos = TCP;
195 if ((protos & TCP) == 0)
197 addstr("tcp ");
256 protos == (TCP|UDP) ? 0 : protos == TCP ? "tcp" : "udp")
    [all...]
netstat.c 63 #include <netinet/tcp.h>
101 short ni_state; /* tcp state */
182 protos = TCP|UDP;
196 if ((protos & (TCP | UDP)) == 0) {
200 if ((protos & TCP) && namelist[X_TCBTABLE].n_type)
205 if ((protos & TCP) && namelist[X_TCBTABLE].n_type)
250 enter(inp, &sockb, tcpcb.t_state, "tcp");
295 enter6(inp, &sockb, tcpcb.t_state, "tcp");
513 if (streq(p->ni_proto, "tcp")) {
  /src/tests/usr.sbin/inetd/
t_inetd.c 51 #define TCP 6
67 "uses UDP/TCP ports 5432-5439 with localhost.");
197 /* Run localhost tcp echo, return true if successful, false if timeout/disconnect */
203 int tcp; local in function:run_tcp_client
206 tcp = create_socket("127.0.0.1", port, SOCK_STREAM, TCP, 1, &remote);
207 CHECK_ERROR(connect(tcp, (const struct sockaddr *)&remote,
209 CHECK_ERROR(send(tcp, buffer, sizeof(buffer), 0));
210 count = recv(tcp, buffer, sizeof(buffer), 0);
  /src/usr.sbin/npf/npfctl/
npf_scan.l 161 tcp return TCP;
npf_parse.y 173 %token TCP
654 : TCP tcp_flags_and_mask

Completed in 14 milliseconds