Searched refs:tcph (Results 1 – 12 of 12) sorted by relevance
| /mOS-networking-stack/core/src/ |
| H A D | debug.c | 133 if (tcph->syn) in DumpPacket() 135 if (tcph->fin) in DumpPacket() 137 if (tcph->ack) in DumpPacket() 139 if (tcph->rst) in DumpPacket() 143 if (tcph->ack) in DumpPacket() 191 if (tcph->syn) in DumpIPPacket() 193 if (tcph->fin) in DumpIPPacket() 195 if (tcph->ack) in DumpIPPacket() 197 if (tcph->rst) in DumpIPPacket() 201 if (tcph->ack) in DumpIPPacket() [all …]
|
| H A D | tcp.c | 120 pctx->p.tcph->source, NULL); in CreateMonitorStream() 201 const struct tcphdr* tcph = pctx->p.tcph; in CreateStream() local 203 if (tcph->syn && !tcph->ack) { in CreateStream() 261 pctx->p.tcph = tcph; in FillPacketContextTCPInfo() 262 pctx->p.payload = (uint8_t *)tcph + (tcph->doff << 2); in FillPacketContextTCPInfo() 264 pctx->p.seq = ntohl(tcph->seq); in FillPacketContextTCPInfo() 266 pctx->p.window = ntohs(tcph->window); in FillPacketContextTCPInfo() 414 struct tcphdr* tcph; in ProcessInTCPPacket() local 437 tcph->check, TCPCalcChecksum((uint16_t *)tcph, in ProcessInTCPPacket() 501 if (!tcph->rst) in ProcessInTCPPacket() [all …]
|
| H A D | tcp_out.c | 175 tcph->syn = TRUE; in SendTCPPacketStandalone() 177 tcph->fin = TRUE; in SendTCPPacketStandalone() 179 tcph->rst = TRUE; in SendTCPPacketStandalone() 181 tcph->psh = TRUE; in SendTCPPacketStandalone() 185 tcph->ack = TRUE; in SendTCPPacketStandalone() 216 tcph->check = TCPCalcChecksum((uint16_t *)tcph, in SendTCPPacketStandalone() 222 if (tcph->syn || tcph->fin) { in SendTCPPacketStandalone() 275 tcph->syn = TRUE; in SendTCPPacket() 350 tcph->check = TCPCalcChecksum((uint16_t *)tcph, in SendTCPPacket() 358 if (tcph->syn || tcph->fin) { in SendTCPPacket() [all …]
|
| H A D | tcp_in.c | 65 const struct tcphdr* tcph = pctx->p.tcph; in HandleActiveOpen() local 91 const struct tcphdr* tcph = pctx->p.tcph; in ValidateSequence() local 308 const struct tcphdr* tcph = pctx->p.tcph; in ProcessACK() local 704 const struct tcphdr* tcph = pctx->p.tcph; in Handle_TCP_ST_LISTEN() local 733 const struct tcphdr* tcph = pctx->p.tcph; in Handle_TCP_ST_SYN_SENT() local 827 const struct tcphdr* tcph = pctx->p.tcph; in Handle_TCP_ST_SYN_RCVD() local 908 const struct tcphdr* tcph = pctx->p.tcph; in Handle_TCP_ST_ESTABLISHED() local 999 const struct tcphdr* tcph = pctx->p.tcph; in Handle_TCP_ST_LAST_ACK() local 1058 const struct tcphdr* tcph = pctx->p.tcph; local 1171 const struct tcphdr* tcph = pctx->p.tcph; local [all …]
|
| H A D | mos_api.c | 442 to->tcph = from->tcph ? in ClonePacketCtx() 444 if (to->tcph) in ClonePacketCtx() 446 to->payload = from->tcph ? in ClonePacketCtx() 447 ((uint8_t *)(to->tcph) + (to->tcph->doff<<2)) : NULL; in ClonePacketCtx() 585 htonl(pkt->tcph->seq), htonl(pkt->tcph->ack_seq), in mtcp_sendpkt() 939 struct tcphdr *tcph; in mtcp_setlastpkt() local 1132 cur_pkt_ctx->p.payload = (uint8_t *)tcph + (tcph->doff<<2); in mtcp_setlastpkt() 1140 cur_pkt_ctx->p.payload = (uint8_t *)tcph + (tcph->doff<<2); in mtcp_setlastpkt() 1145 payload = (uint8_t *)tcph + (tcph->doff<<2); in mtcp_setlastpkt() 1190 tcph->check = 0; in mtcp_setlastpkt() [all …]
|
| H A D | dpdk_module.c | 541 struct tcphdr *tcph; in dpdk_dev_ioctl() local 564 tcph = (struct tcphdr *)((unsigned char *)iph + (iph->ihl<<2)); in dpdk_dev_ioctl() 566 tcph->check = rte_ipv4_phdr_cksum((struct ipv4_hdr *)iph, m->ol_flags); in dpdk_dev_ioctl()
|
| H A D | api.c | 958 struct tcphdr *tcph; in eval_bpf_5tuple() local 972 tcph = (struct tcphdr *)(iph + 1); in eval_bpf_5tuple() 973 tcph->source = sport; in eval_bpf_5tuple() 974 tcph->dest = dport; in eval_bpf_5tuple()
|
| /mOS-networking-stack/samples/simple_firewall/ |
| H A D | simple_firewall.c | 347 p.tcph->source, p.tcph->dest); in ApplyActionPerFlow() 371 return (p.tcph->syn && !p.tcph->ack); in CatchInitSYN()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | tcp.h | 9 FillPacketContextTCPInfo(struct pkt_ctx *pctx, struct tcphdr * tcph);
|
| H A D | tcp_in.h | 126 const struct tcphdr *tcph, uint32_t seq, uint32_t ack_seq,
|
| H A D | mos_api.h | 150 struct tcphdr *tcph; member
|
| /mOS-networking-stack/core/include/ |
| H A D | mos_api.h | 150 struct tcphdr *tcph; member
|