refactor: move tcp_segment API from packet.h to stellar.h

This commit is contained in:
luwenpeng
2024-08-21 12:02:56 +08:00
parent a0fb57e843
commit b9d6637800
2 changed files with 6 additions and 6 deletions

View File

@@ -47,10 +47,6 @@ struct packet *packet_build_tcp(const struct packet *origin_pkt, uint32_t tcp_se
struct packet *packet_build_udp(const struct packet *origin_pkt, const char *udp_payload, uint16_t udp_payload_len);
struct packet *packet_build_l3(const struct packet *origin_pkt, uint8_t ip_proto, const char *l3_payload, uint16_t l3_payload_len);
struct tcp_segment;
const char *tcp_segment_get_data(const struct tcp_segment *seg);
uint16_t tcp_segment_get_len(const struct tcp_segment *seg);
#ifdef __cplusplus
}
#endif