rename packet_get_layers_number to packet_get_layer_count

This commit is contained in:
luwenpeng
2024-06-13 10:11:30 +08:00
parent 01958b56c5
commit 020c8303c6
5 changed files with 8 additions and 113 deletions

View File

@@ -23,7 +23,7 @@ enum packet_origin packet_get_origin(const struct packet *pkt)
return pkt->origin;
}
int8_t packet_get_layers_number(const struct packet *pkt)
int8_t packet_get_layer_count(const struct packet *pkt)
{
return pkt->layers_used;
}