/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tls.c | 38 #include <netinet/tcp.h> 339 struct proto_conn *tcp; local 352 proto_set("tcp:port", defport); 356 /* Change tls:// to tcp://. */ 363 bcopy("tcp://", saddr, 6); 368 bcopy("tcp://", daddr, 6); 371 if (proto_connect(saddr, daddr, timeout, &tcp) == -1) 400 tcpfd = proto_descriptor(tcp); 484 proto_get("tls:fingerprint"), proto_get("tcp:port"), timeoutstr, 609 struct proto_conn *tcp; local 708 tls_call_exec_server(struct proto_conn *sock, struct proto_conn *tcp) argument 774 struct proto_conn *sock, *tcp; local [all...] |
/freebsd-11-stable/contrib/ipfilter/iplang/ |
H A D | iplang_y.y | 69 tcphdr_t *tcp = NULL; 273 | tcp tcpline 305 tcp: IL_TCP { new_tcpheader(); } label 969 tcp = (tcphdr_t *)new_header(IPPROTO_TCP); 970 tcp->th_win = htons(4096); 971 tcp->th_off = sizeof(*tcp) >> 2; 985 port = &tcp->th_sport; 1005 port = &tcp->th_dport; 1018 tcp [all...] |
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | sockraw.c | 24 #include <netinet/tcp.h>
|
/freebsd-11-stable/contrib/ipfilter/rules/ |
H A D | BASIC_2.FW | 59 pass in log quick proto tcp all flags S/SA keep state group 200 70 block return-rst in log proto tcp from any to any flags S/SA group 100
|
/freebsd-11-stable/contrib/sendmail/contrib/ |
H A D | socketmapServer.pl | 13 if ($connection =~ /tcp:(.+):([0-9]*)/) { 17 Proto => 'tcp',
|
/freebsd-11-stable/share/dtrace/ |
H A D | tcpconn | 40 tcp:kernel::accept-established 44 tcp:kernel::accept-refused
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 72 gso_fix_segment(uint8_t *pkt, size_t len, u_int ipv4, u_int iphlen, u_int tcp, argument 98 if (tcp) { 103 nm_prdis("tcp seq %u", be32toh(tcph->seq)); 257 u_int tcp = ((vh->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) local 325 if (tcp) { 383 ipv4, iphlen, tcp,
|
/freebsd-11-stable/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 276 #include <netinet/tcp.h> 1072 struct tcphdr *tcp; local 1165 tcp = (struct tcphdr *)outpacket; 1167 tcp->th_sport = htons(ident); 1168 tcp->th_dport = htons(port + seq); 1169 tcp->th_seq = (tcp->th_sport << 16) | tcp->th_dport; 1170 tcp->th_ack = 0; 1171 tcp 1357 struct tcphdr *tcp; local [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | scanner.l | 264 tcp return TCP; 467 tcp-fin { yylval->i = 0x01; return NUM; } 468 tcp-syn { yylval->i = 0x02; return NUM; } 469 tcp-rst { yylval->i = 0x04; return NUM; } 470 tcp-push { yylval->i = 0x08; return NUM; } 471 tcp-ack { yylval->i = 0x10; return NUM; } 472 tcp-urg { yylval->i = 0x20; return NUM; } 473 tcp-ece { yylval->i = 0x40; return NUM; } 474 tcp-cwr { yylval->i = 0x80; return NUM; }
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_vjc.c | 66 #include <netinet/tcp.h> 594 struct tcphdr *tcp; local 603 if (m->m_len < ihlen + sizeof(*tcp)) { 604 if ((m = m_pullup(m, ihlen + sizeof(*tcp))) == NULL) 608 tcp = (struct tcphdr *)((u_char *)ip + ihlen); 609 thlen = tcp->th_off << 2;
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_ftp_pxy.c | 301 tcphdr_t *tcp; local 308 tcp = (tcphdr_t *)fin->fin_dp; 309 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff; 862 tcphdr_t *tcp, tcph, *tcp2; local 882 tcp = (tcphdr_t *)fin->fin_dp; 883 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff; 923 fi.fin_plen = fi.fin_hlen + sizeof(*tcp); 1298 tcphdr_t *tcp; local 1753 tcphdr_t *tcp; local 1986 tcphdr_t *tcp; local [all...] |
H A D | ip_irc_pxy.c | 258 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local 277 tcp = (tcphdr_t *)fin->fin_dp; 279 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
|
H A D | ip_scan.c | 40 #include <netinet/tcp.h> 530 tcphdr_t *tcp; local 533 tcp = fin->fin_dp; 534 seq = ntohl(tcp->th_seq); 547 thoff = TCP_OFF(tcp) << 2;
|
H A D | ip_fil_freebsd.c | 51 #include <netinet/tcp.h> 346 struct tcphdr *tcp, *tcp2; local 354 tcp = fin->fin_dp; 355 if (tcp->th_flags & TH_RST) 361 tlen = fin->fin_dlen - (TCP_OFF(tcp) << 2) + 362 ((tcp->th_flags & TH_SYN) ? 1 : 0) + 363 ((tcp->th_flags & TH_FIN) ? 1 : 0); 394 tcp2->th_sport = tcp->th_dport; 395 tcp2->th_dport = tcp->th_sport; 397 if (tcp [all...] |
/freebsd-11-stable/sys/netinet/cc/ |
H A D | cc_newreno.c | 65 #include <netinet/tcp.h> 231 pipe = tcp_compute_pipe(ccv->ccvc.tcp);
|
H A D | cc.h | 67 /* Define the new net.inet.tcp.cc sysctl tree. */ 86 struct tcpcb *tcp; member in union:cc_var::ccv_container
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmip.h | 152 } tcp; member in union:__anon8413
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | Makefile | 11 proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/rpc/ |
H A D | t_rpc.c | 259 transp = "tcp"; 298 atf_tc_set_md_var(tc, "descr", "Checks CLGET_SVC_ADDR for tcp"); 304 onehost("localhost", "tcp"); 332 ATF_TC(tcp); variable 333 ATF_TC_HEAD(tcp, tc) 335 atf_tc_set_md_var(tc, "descr", "Checks svc tcp (select)"); 341 ATF_TC_BODY(tcp, tc) 343 regtest("localhost", "tcp", "1", 0); 365 atf_tc_set_md_var(tc, "descr", "Checks svc tcp (poll)"); 373 regtest("localhost", "tcp", " [all...] |
/freebsd-11-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_networkio.h | 53 #include <netinet/tcp.h>
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_diff/ |
H A D | diff_memory.c | 797 struct trailing_context_printer *tcp = baton; 798 SVN_ERR_ASSERT(tcp->lines_to_print > 0); 799 SVN_ERR(svn_stream_write(tcp->mob->real_output_stream, data, len)); 800 tcp->lines_to_print--; 801 if (tcp->lines_to_print == 0) 802 make_context_saver(tcp->mob); 810 struct trailing_context_printer *tcp; 815 tcp = apr_pcalloc(btn->pool, sizeof(*tcp)); 816 tcp 796 struct trailing_context_printer *tcp = baton; local 809 struct trailing_context_printer *tcp; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 293 struct tcphdr *tcp; local 314 tcp = (struct tcphdr *)(((char *)ip) + hlen); 319 tcp = L3HDR(struct tcphdr, ip); 331 ntohs(tcp->th_sport), 333 ntohs(tcp->th_dport));
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | sh.dir.c | 99 Char *cp, *tcp; local 103 tcp = agetcwd(); 104 if (tcp == NULL) { 129 swd_ok = stat(short2str(tcp), &swd) == 0; 147 tcp = SAVE(cwd); 148 cleanup_push(tcp, xfree); 151 cleanup_push(tcp, xfree); 152 cp = dcanon(tcp, STRNULL); 153 cleanup_ignore(tcp); 154 cleanup_until(tcp); [all...] |
/freebsd-11-stable/contrib/traceroute/ |
H A D | traceroute.c | 226 #include <netinet/tcp.h> 453 "tcp", 1542 struct tcphdr *const tcp = (struct tcphdr *) outp; local 1544 tcp->th_sport = htons(ident); 1545 tcp->th_dport = htons(port + (fixedPort ? 0 : outdata->seq)); 1546 tcp->th_seq = (tcp->th_sport << 16) | tcp->th_dport; 1547 tcp->th_ack = 0; 1548 tcp 1559 struct tcphdr *const tcp = (struct tcphdr *) data; local [all...] |
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_db.c | 164 #include <netinet/tcp.h> 336 struct tcp_dat *tcp; member in union:alias_link::__anon1 493 "icmp=%u, udp=%u, tcp=%u, sctp=%u, pptp=%u, proto=%u, frag_id=%u frag_ptr=%u / tot=%u", 896 free(lnk->data.tcp); 1016 lnk->data.tcp = aux_tcp; 1083 old_lnk->data.tcp->fwhole > 0) { 1806 if (lnk->data.tcp->state.out != ALIAS_TCP_STATE_CONNECTED) 1812 if (lnk->data.tcp->state.out == ALIAS_TCP_STATE_CONNECTED) 1822 lnk->data.tcp->state.in = state; 1832 if (lnk->data.tcp [all...] |