Searched refs:tcp (Results 76 - 100 of 385) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw_log.c297 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 Dip_fw2.c352 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 Dtraceroute.c226 #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 Dalias_db.c165 #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 Dalias_util.c58 #include <netinet/tcp.h>
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c54 #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 Dip_nat6.c78 #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 Dip_rpcb_pxy.c632 /* 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 Dcc_htcp.c43 * 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 D44arp.c21 #include <netinet/tcp.h>
H A Darp.c24 #include <netinet/tcp.h>
H A Dsbpf.c27 #include <netinet/tcp.h>
H A Dsdlpi.c38 #include <netinet/tcp.h>
/freebsd-13-stable/sys/dev/sfxge/
H A Dsfxge_tx.h43 #include <netinet/tcp.h>
/freebsd-13-stable/usr.sbin/ppp/
H A Dtcpmss.c38 #include <netinet/tcp.h>
/freebsd-13-stable/sys/netinet/
H A Dtcp_lro.h120 struct tcphdr *tcp; member in union:lro_parser::__anon15382
/freebsd-13-stable/sys/netinet6/
H A Din6_rmx.c96 #include <netinet/tcp.h>
/freebsd-13-stable/tools/regression/netinet/tcpconnect/
H A Dtcpconnect.c33 #include <netinet/tcp.h>
/freebsd-13-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c64 #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 Dktls.h32 # include <netinet/tcp.h>
226 # include <netinet/tcp.h>
/freebsd-13-stable/release/tools/
H A Dgce.conf86 net.inet.tcp.blackhole=2
/freebsd-13-stable/cddl/lib/libdtrace/
H A Dsiftr.d26 #pragma D depends_on provider tcp
/freebsd-13-stable/share/dtrace/
H A Dtcpdebug29 * 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 Dtcpstate40 tcp:kernel::state-change
/freebsd-13-stable/sys/dev/xen/netback/
H A Dnetback_unit_tests.c169 /* 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...]

Completed in 300 milliseconds

1234567891011>>