Home
last modified time | relevance | path

Searched refs:tcphdr (Results 26 – 50 of 54) sorted by relevance

123

/dragonfly/lib/libalias/
H A Dalias_irc.c77 struct tcphdr *tc; in AliasHandleIrcOut()
81 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasHandleIrcOut()
H A Dalias_db.c2060 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 Dnatd.c625 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 Dtcp_debug.h70 struct tcphdr th;
/dragonfly/sys/net/ipfw/
H A Dip_fw2.c377 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 Dtcp.h40 struct tcphdr { struct
/dragonfly/sys/netgraph7/
H A Dng_nat.c726 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 Dip.c277 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 Dng_vjc.c598 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 Dng_vjc.c594 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 Dip_fw3_nat.c203 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 Dip_fw3_layer4.c184 if ((L3HDR(struct tcphdr, ip)->th_flags & in check_established()
/dragonfly/sys/net/pf/
H A Dpf.c2139 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 Dpfvar.h1207 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 Dnetflow.c437 register struct tcphdr *tcp; in ng_netflow_flow_add()
439 tcp = (struct tcphdr *)((caddr_t )ip + hlen); in ng_netflow_flow_add()
H A Dng_netflow.c553 M_CHECK(sizeof(struct tcphdr)); in ng_netflow_rcvdata()
/dragonfly/sys/net/ipfw3/
H A Dip_fw3.c320 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 Dif_vtnet.c1621 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 Dif_var.h917 struct tcphdr;
/dragonfly/sys/dev/netif/oce/
H A Doce_if.c1032 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 Dif_vmx.c2794 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 Dif_alc.c2626 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 Dena.c2651 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 Dif_spppsubr.c725 struct tcphdr *tcp = (struct tcphdr*) ((long*)ip + ip->ip_hl); in sppp_output_serialized()
/dragonfly/sys/dev/netif/em/
H A Dif_em.c3172 hdr_len + offsetof(struct tcphdr, th_sum); in em_txcsum()
4645 hoff + iphlen + offsetof(struct tcphdr, th_sum); in em_tso_setup()

123