/freebsd-13-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 297 struct tcphdr *tcp; local 318 tcp = (struct tcphdr *)(((char *)ip) + hlen); 323 tcp = L3HDR(struct tcphdr, ip); 335 ntohs(tcp->th_sport), 337 ntohs(tcp->th_dport));
|
H A D | ip_fw2.c | 352 tcpopts_parse(const struct tcphdr *tcp, uint16_t *mss) argument 354 const u_char *cp = (const u_char *)(tcp + 1); 356 int cnt = (tcp->th_off << 2) - sizeof(struct tcphdr); 409 tcpopts_match(struct tcphdr *tcp, ipfw_insn *cmd) argument 412 return (flags_match(cmd, tcpopts_parse(tcp, NULL))); 893 struct tcphdr *tcp; local 894 tcp = (struct tcphdr *)((char *)ip6 + hlen); 896 if ((tcp->th_flags & TH_RST) == 0) { 899 ntohl(tcp->th_seq), ntohl(tcp 1013 struct tcphdr *const tcp = local 2326 struct tcphdr *tcp; local [all...] |
/freebsd-13-stable/contrib/traceroute/ |
H A D | traceroute.c | 226 #include <netinet/tcp.h> 454 "tcp", 1545 struct tcphdr *const tcp = (struct tcphdr *) outp; local 1547 tcp->th_sport = htons(ident); 1548 tcp->th_dport = htons(port + (fixedPort ? 0 : outdata->seq)); 1549 tcp->th_seq = (tcp->th_sport << 16) | tcp->th_dport; 1550 tcp->th_ack = 0; 1551 tcp 1562 struct tcphdr *const tcp = (struct tcphdr *) data; local [all...] |
/freebsd-13-stable/sys/netinet/libalias/ |
H A D | alias_db.c | 165 #include <netinet/tcp.h> 336 struct tcp_dat *tcp; member in union:alias_link::__anon15356 484 "icmp=%u, udp=%u, tcp=%u, sctp=%u, pptp=%u, proto=%u, frag_id=%u frag_ptr=%u / tot=%u", 889 free(lnk->data.tcp); 1008 lnk->data.tcp = aux_tcp; 1078 old_lnk->data.tcp->fwhole > 0) { 1764 if (lnk->data.tcp->state.out != ALIAS_TCP_STATE_CONNECTED) 1770 if (lnk->data.tcp->state.out == ALIAS_TCP_STATE_CONNECTED) 1780 lnk->data.tcp->state.in = state; 1789 if (lnk->data.tcp [all...] |
H A D | alias_util.c | 58 #include <netinet/tcp.h>
|
/freebsd-13-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 54 #include <netinet/tcp.h> 340 struct tcphdr *tcp, *tcp2; local 348 tcp = fin->fin_dp; 349 if (tcp->th_flags & TH_RST) 355 tlen = fin->fin_dlen - (TCP_OFF(tcp) << 2) + 356 ((tcp->th_flags & TH_SYN) ? 1 : 0) + 357 ((tcp->th_flags & TH_FIN) ? 1 : 0); 388 tcp2->th_sport = tcp->th_dport; 389 tcp2->th_dport = tcp->th_sport; 391 if (tcp [all...] |
H A D | ip_nat6.c | 78 #include <netinet/tcp.h> 1394 tcphdr_t *tcp = NULL; local 1503 tcp = (tcphdr_t *)(oip6 + 1); 1504 fin->fin_data[0] = ntohs(tcp->th_dport); 1505 fin->fin_data[1] = ntohs(tcp->th_sport); 1595 tcphdr_t *tcp; local 1613 tcp = NULL; 1622 tcp = (tcphdr_t *)dp; 1623 csump = (u_short *)&tcp->th_sum; 1629 tcp 2614 tcphdr_t *tcp = NULL; local 2815 tcphdr_t *tcp; local 3017 tcphdr_t *tcp; local 3215 tcphdr_t *tcp; local [all...] |
H A D | ip_rpcb_pxy.c | 632 /* Decode r_netid. Must be "tcp" or "udp". */ 1110 /* Must have 4 bytes for length & 4 bytes for "tcp" or "udp". */ 1123 if (!strncmp((char *)xp->xp_xsstr, "tcp\0", 4)) 1158 tcphdr_t tcp; local 1176 bzero((char *)&tcp, sizeof(tcp)); 1177 tcp.th_dport = htons(port); 1180 tcp.th_win = htons(8192); 1181 TCP_OFF_A(&tcp, sizeof(tcphdr_t) >> 2); 1183 tcp [all...] |
/freebsd-13-stable/sys/netinet/cc/ |
H A D | cc_htcp.c | 43 * based on the Internet Draft "draft-leith-tcp-htcp-06.txt" by Leith and 67 #include <netinet/tcp.h> 277 mss = tcp_maxseg(ccv->ccvc.tcp); 370 pipe = tcp_compute_pipe(ccv->ccvc.tcp);
|
/freebsd-13-stable/contrib/ipfilter/ipsend/ |
H A D | 44arp.c | 21 #include <netinet/tcp.h>
|
H A D | arp.c | 24 #include <netinet/tcp.h>
|
H A D | sbpf.c | 27 #include <netinet/tcp.h>
|
H A D | sdlpi.c | 38 #include <netinet/tcp.h>
|
/freebsd-13-stable/sys/dev/sfxge/ |
H A D | sfxge_tx.h | 43 #include <netinet/tcp.h>
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | tcpmss.c | 38 #include <netinet/tcp.h>
|
/freebsd-13-stable/sys/netinet/ |
H A D | tcp_lro.h | 120 struct tcphdr *tcp; member in union:lro_parser::__anon15382
|
/freebsd-13-stable/sys/netinet6/ |
H A D | in6_rmx.c | 96 #include <netinet/tcp.h>
|
/freebsd-13-stable/tools/regression/netinet/tcpconnect/ |
H A D | tcpconnect.c | 33 #include <netinet/tcp.h>
|
/freebsd-13-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 64 #include <netinet/tcp.h> 908 struct tcphdr *tcp; local 1127 tcp = TCP(eip6 + 1); 1129 tcp->th_sum = cksum_adjust(tcp->th_sum, 1130 tcp->th_sport, icmpid); 1131 tcp->th_sport = icmpid; 1133 tcp->th_sum = cksum_add(tcp->th_sum, 1312 struct tcphdr *tcp local 1694 struct tcphdr *tcp = TCP(mtodo(m, hlen)); local [all...] |
/freebsd-13-stable/crypto/openssl/include/internal/ |
H A D | ktls.h | 32 # include <netinet/tcp.h> 226 # include <netinet/tcp.h>
|
/freebsd-13-stable/release/tools/ |
H A D | gce.conf | 86 net.inet.tcp.blackhole=2
|
/freebsd-13-stable/cddl/lib/libdtrace/ |
H A D | siftr.d | 26 #pragma D depends_on provider tcp
|
/freebsd-13-stable/share/dtrace/ |
H A D | tcpdebug | 29 * The tcpdebug D script uses the tcp:kernel::debug tracepoints 48 tcp:kernel::debug-input 81 tcp:kernel::debug-output 114 tcp:kernel::debug-drop 152 tcp:kernel::debug-user
|
H A D | tcpstate | 40 tcp:kernel::state-change
|
/freebsd-13-stable/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 169 /* TODO: add test cases for xnb_add_mbuf_cksum for IPV6 tcp and udp */ 2301 * xnb_add_mbuf_cksum tcp unit tests. m must already be allocated and must be 2309 struct tcphdr *tcp; local 2317 tcp = (struct tcphdr*)(iph + 1); 2318 tcp->th_sport = htons(0x9cd9); 2319 tcp->th_dport = htons(2222); 2320 tcp->th_seq = htonl(0x00f72b10); 2321 tcp->th_ack = htonl(0x7f37ba6c); 2322 tcp->th_x2 = 0; 2323 tcp 2362 struct tcphdr *tcp; local 2403 struct tcphdr *tcp; local [all...] |