/dragonfly/lib/libalias/ |
H A D | alias_irc.c | 77 struct tcphdr *tc; in AliasHandleIrcOut() 81 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasHandleIrcOut()
|
H A D | alias_db.c | 2060 struct tcphdr *tc; in GetDeltaAckIn() 2064 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in GetDeltaAckIn() 2111 struct tcphdr *tc; in GetDeltaSeqOut() 2115 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in GetDeltaSeqOut() 2161 struct tcphdr *tc; in AddSeq() 2166 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AddSeq()
|
/dragonfly/sbin/natd/ |
H A D | natd.c | 625 struct tcphdr* tcphdr; in FormatPacket() local 636 tcphdr = (struct tcphdr *)((char *)ip + (ip->ip_hl << 2)); in FormatPacket() 639 ntohs(tcphdr->th_sport), in FormatPacket() 641 ntohs(tcphdr->th_dport)); in FormatPacket()
|
/dragonfly/sys/netinet/ |
H A D | tcp_debug.h | 70 struct tcphdr th;
|
/dragonfly/sys/net/ipfw/ |
H A D | ip_fw2.c | 377 struct tcphdr *tcp; 1299 struct tcphdr *tcp = L3HDR(struct tcphdr,ip); in tcpopts_match() 1492 struct tcphdr *const tcp = (struct tcphdr *)icmp; in ipfw_log() 2231 const struct tcphdr *tcp) in ipfw_state_add() 2882 struct tcphdr *tcp; in send_pkt() 2972 struct tcphdr *const tcp = in send_reject() 3291 struct tcphdr *tcp; in ipfw_setup_local() 3906 L3HDR(struct tcphdr,ip)->th_flags)); in ipfw_chk() 3918 L3HDR(struct tcphdr,ip)->th_seq); in ipfw_chk() 3925 L3HDR(struct tcphdr,ip)->th_ack); in ipfw_chk() [all …]
|
/dragonfly/contrib/tcpdump/ |
H A D | tcp.h | 40 struct tcphdr { struct
|
/dragonfly/sys/netgraph7/ |
H A D | ng_nat.c | 726 struct tcphdr *th = (struct tcphdr *)((caddr_t)ip + in ng_nat_rcvdata() 759 offsetof(struct tcphdr, th_sum); in ng_nat_rcvdata()
|
/dragonfly/usr.sbin/ppp/ |
H A D | ip.c | 277 const struct tcphdr *th; in FilterCheck() 337 th = (const struct tcphdr *)payload; in FilterCheck() 540 const struct tcphdr *th; in PacketCheck() 788 th = (const struct tcphdr *)payload; in PacketCheck()
|
/dragonfly/sys/netgraph/vjc/ |
H A D | ng_vjc.c | 598 struct tcphdr *tcp; in ng_vjc_pulluphdrs() 612 tcp = (struct tcphdr *)((u_char *)ip + ihlen); in ng_vjc_pulluphdrs()
|
/dragonfly/sys/netgraph7/vjc/ |
H A D | ng_vjc.c | 594 struct tcphdr *tcp; in ng_vjc_pulluphdrs() 608 tcp = (struct tcphdr *)((u_char *)ip + ihlen); in ng_vjc_pulluphdrs()
|
/dragonfly/sys/net/ipfw3_nat/ |
H A D | ip_fw3_nat.c | 203 old_port = &L3HDR(struct tcphdr, ip)->th_dport; in ip_fw3_nat() 205 csum = &L3HDR(struct tcphdr, ip)->th_sum; in ip_fw3_nat() 234 old_port = &L3HDR(struct tcphdr, ip)->th_sport; in ip_fw3_nat() 235 csum = &L3HDR(struct tcphdr, ip)->th_sum; in ip_fw3_nat()
|
/dragonfly/sys/net/ipfw3_layer4/ |
H A D | ip_fw3_layer4.c | 184 if ((L3HDR(struct tcphdr, ip)->th_flags & in check_established()
|
/dragonfly/sys/net/pf/ |
H A D | pf.c | 2139 struct tcphdr *th = NULL; in pf_send_tcp() 2145 tlen = sizeof(struct tcphdr); in pf_send_tcp() 3514 hlen -= sizeof(struct tcphdr); in pf_get_wscale() 3554 hlen -= sizeof(struct tcphdr); in pf_get_mss() 3701 struct tcphdr *th = pd->hdr.tcp; in pf_test_rule() 4107 struct tcphdr *th = pd->hdr.tcp; in pf_create_state() 4425 struct tcphdr *th = pd->hdr.tcp; in pf_tcp_track_full() 4781 struct tcphdr *th = pd->hdr.tcp; in pf_tcp_track_sloppy() 5399 struct tcphdr th; in pf_test_state_icmp() 6615 struct tcphdr th; in pf_test() [all …]
|
H A D | pfvar.h | 1207 struct tcphdr *tcp; 1862 struct tcphdr *, struct pf_state_peer *, struct pf_state_peer *); 1864 u_short *, struct tcphdr *, struct pf_state *, 2015 const struct tcphdr *); 2019 const struct tcphdr *);
|
/dragonfly/sys/netgraph7/netflow/ |
H A D | netflow.c | 437 register struct tcphdr *tcp; in ng_netflow_flow_add() 439 tcp = (struct tcphdr *)((caddr_t )ip + hlen); in ng_netflow_flow_add()
|
H A D | ng_netflow.c | 553 M_CHECK(sizeof(struct tcphdr)); in ng_netflow_rcvdata()
|
/dragonfly/sys/net/ipfw3/ |
H A D | ip_fw3.c | 320 struct tcphdr *tcp; in ip_fw3_chk() 387 PULLUP_TO(hlen + sizeof(struct tcphdr)); in ip_fw3_chk() 388 tcp = L3HDR(struct tcphdr, ip); in ip_fw3_chk()
|
/dragonfly/sys/dev/virtual/virtio/net/ |
H A D | if_vtnet.c | 1621 case offsetof(struct tcphdr, th_sum): in vtnet_rx_csum() 1883 struct tcphdr *tcp; in vtnet_tx_offload() 1957 if (m->m_len < csum_start + sizeof(struct tcphdr)) { in vtnet_tx_offload() 1958 m = m_pullup(m, csum_start + sizeof(struct tcphdr)); in vtnet_tx_offload() 1963 tcp = (struct tcphdr *)(mtod(m, uint8_t *) + csum_start); in vtnet_tx_offload()
|
/dragonfly/sys/net/ |
H A D | if_var.h | 917 struct tcphdr;
|
/dragonfly/sys/dev/netif/oce/ |
H A D | oce_if.c | 1032 struct tcphdr *th; in oce_tso_setup() 1061 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); in oce_tso_setup() 1071 th = (struct tcphdr *)((caddr_t)ip6 + sizeof(struct ip6_hdr)); in oce_tso_setup()
|
/dragonfly/sys/dev/virtual/vmware/vmxnet3/ |
H A D | if_vmx.c | 2794 struct tcphdr *tcp; in vmxnet3_txq_offload_ctx() 2801 if (m->m_len < *start + sizeof(struct tcphdr)) { in vmxnet3_txq_offload_ctx() 2802 m = m_pullup(m, *start + sizeof(struct tcphdr)); in vmxnet3_txq_offload_ctx() 2807 tcp = (struct tcphdr *)(mtod(m, uint8_t *) + *start); in vmxnet3_txq_offload_ctx()
|
/dragonfly/sys/dev/netif/alc/ |
H A D | if_alc.c | 2626 struct tcphdr *tcp; in alc_encap() 2688 m = m_pullup(m, poff + sizeof(struct tcphdr)); in alc_encap() 2693 tcp = (struct tcphdr *)(mtod(m, char *) + poff); in alc_encap() 2713 tcp = (struct tcphdr *)(mtod(m, char *) + poff); in alc_encap()
|
/dragonfly/sys/dev/virtual/amazon/ena/ |
H A D | ena.c | 2651 struct tcphdr *th; in ena_tx_csum() 2683 th = (struct tcphdr *)((caddr_t)ip + iphlen); in ena_tx_csum()
|
/dragonfly/sys/net/sppp/ |
H A D | if_spppsubr.c | 725 struct tcphdr *tcp = (struct tcphdr*) ((long*)ip + ip->ip_hl); in sppp_output_serialized()
|
/dragonfly/sys/dev/netif/em/ |
H A D | if_em.c | 3172 hdr_len + offsetof(struct tcphdr, th_sum); in em_txcsum() 4645 hoff + iphlen + offsetof(struct tcphdr, th_sum); in em_tso_setup()
|