Searched refs:tcp (Results 201 - 225 of 385) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c84 #include <netinet/tcp.h>
2362 /* maximum segment size tcp option */
3007 if (pd->hdr.tcp == NULL)
3009 sport = pd->hdr.tcp->th_sport;
3010 dport = pd->hdr.tcp->th_dport;
3206 MD5Update(&ctx, (char *)&pd->hdr.tcp->th_sport, sizeof(u_short));
3207 MD5Update(&ctx, (char *)&pd->hdr.tcp->th_dport, sizeof(u_short));
3235 struct tcphdr *th = pd->hdr.tcp;
3449 /* tcp/udp only. port_op always 0 in other cases */
3456 /* tcp/ud
[all...]
/freebsd-11-stable/sys/dev/jme/
H A Dif_jme.c60 #include <netinet/tcp.h>
1708 struct tcphdr *tcp; local
1754 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1756 if (poff + (tcp->th_off << 2) == m->m_pkthdr.len) {
1757 tcp->th_sum = in_pseudo(ip->ip_src.s_addr,
1759 htons((tcp->th_off << 2) + IPPROTO_TCP));
1764 tcp->th_sum = in_pseudo(ip->ip_src.s_addr,
/freebsd-11-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c58 #include <netinet/tcp.h>
2051 if (rxcd->csum_ok && (rxcd->tcp || rxcd->udp)) {
2766 struct tcphdr *tcp, tcphdr; local
2798 tcp = &tcphdr;
2800 tcp = mtodo(m, *start);
2801 tcp->th_sum = sum;
2808 *start += (tcp->th_off << 2);
/freebsd-11-stable/contrib/ipfilter/
H A DMakefile410 /usr/include/netinet/in_systm.h,/usr/include/sys/ethernet.h,/usr/include/netinet/in.h,/usr/include/netinet/ip.h,/usr/include/netinet/ip_var.h,/usr/include/netinet/tcp.h,/usr/include/netinet/tcpip.h,/usr/include/netinet/ip_icmp.h,/usr/include/netinet/udp.h,ip_compat.h,ip_fil.h,ip_nat.h,ip_state.h,ip_proxy.h,ip_scan.h
/freebsd-11-stable/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_pcd_ext.h1052 headerFieldTcp_t tcp; /**< tcp */ member in union:t_FmPcdFields
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c39 #include <netinet/tcp.h>
130 } else if (strncasecmp(addr, "tcp://", 6) == 0) {
212 error = tcp_addr(addr, atoi(proto_get("tcp:port")), &tctx->tc_sa);
549 if (tcp_addr(addr, atoi(proto_get("tcp:port")), &sa1) != 0)
654 PJDLOG_VERIFY(snprintf(addr, size, "tcp://%S", &sa) < (ssize_t)size);
656 strlcpy(addr, "tcp://", size);
678 PJDLOG_VERIFY(snprintf(addr, size, "tcp://%S", &sa) < (ssize_t)size);
680 strlcpy(addr, "tcp://", size);
701 .prt_name = "tcp",
/freebsd-11-stable/release/picobsd/tinyware/ns/
H A Dns.c49 #include <netinet/tcp.h>
82 fprintf(stderr, " proto: {ip|tcp|udp|icmp}\n\n");
504 printf("sorry, tcp stats not available\n");
713 if (strcmp(proto, "tcp") == 0)
/freebsd-11-stable/crypto/openssl/
H A De_os.h240 # include <tcp.h>
/freebsd-11-stable/sys/netsmb/
H A Dsmb_trantcp.c52 #include <netinet/tcp.h>
/freebsd-11-stable/sys/dev/nxge/
H A Dxge-osdep.h76 #include <netinet/tcp.h>
/freebsd-11-stable/sys/rpc/
H A Dclnt_bck.c82 #include <netinet/tcp.h>
/freebsd-11-stable/sys/dev/vxge/
H A Dvxge-osdep.h78 #include <netinet/tcp.h>
/freebsd-11-stable/usr.bin/systat/
H A Dnetstat.c59 #include <netinet/tcp.h>
105 short ni_state; /* tcp state */
139 "net.inet.tcp.pcblist",
223 "tcp");
229 "tcp");
322 xtp->xt_tp.t_state, "tcp");
514 if (streq(p->ni_proto, "tcp")) {
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dcmtime.c43 #include <netinet/tcp.h>
H A Drstream.c44 #include <netinet/tcp.h>
691 printf("\t s|sockets - use standard tcp/ip sockets\n");
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_proxy.c34 usually tcp port 80, are redirected to a proxy server.
40 beginning of a tcp stream, or inclusion of an optional field
71 #include <netinet/tcp.h>
187 se = getservbyname(s, "tcp");
299 /* Compute pointer to tcp header */
393 fprintf(stdout, "tcp cksum 1 = %x\n", (u_int) TcpChecksum(pip));
449 fprintf(stdout, "tcp cksum 2 = %x\n", (u_int) TcpChecksum(pip));
535 * [proto tcp|udp]
728 if (strcmp(token, "tcp") == 0)
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h38 #include <netinet/tcp.h>
/freebsd-11-stable/sbin/hastd/
H A Dproto_tcp.c42 #include <netinet/tcp.h>
127 } else if (strncasecmp(addr, "tcp://", 6) == 0) {
582 PJDLOG_VERIFY(snprintf(addr, size, "tcp://%S", &sa) < (ssize_t)size);
600 PJDLOG_VERIFY(snprintf(addr, size, "tcp://%S", &sa) < (ssize_t)size);
618 .prt_name = "tcp",
/freebsd-11-stable/sbin/iscontrol/
H A Dfsm.c43 #include <netinet/tcp.h>
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c55 #include <netinet/tcp.h>
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Ddpp_supplicant.c440 int tcp = 0; local
475 tcp = 1;
521 if (!tcp && wpa_s->dpp_auth) {
547 if (tcp)
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe.h69 #include <netinet/tcp.h>
/freebsd-11-stable/sys/dev/ixl/
H A Dixl.h74 #include <netinet/tcp.h>
/freebsd-11-stable/sys/netinet/cc/
H A Dcc_cdg.c68 #include <netinet/tcp.h>
/freebsd-11-stable/sys/netinet/
H A Dtcp_var.h36 #include <netinet/tcp.h>
44 * Kernel variables for tcp.
107 /* Flags for tcp functions */
156 * Tcp control block, one per tcp; fields:
305 #define TF_NOOPT 0x000008 /* don't use tcp options */
603 VNET_PCPUSTAT_DECLARE(struct tcpstat, tcpstat); /* tcp statistics */
684 #define TCPCTL_DROP 15 /* drop tcp connection */

Completed in 397 milliseconds

1234567891011>>