rename struct packet_layer to struct raw_layer
This commit is contained in:
@@ -23,12 +23,12 @@ enum packet_origin packet_get_origin(const struct packet *pkt)
|
||||
return pkt->origin;
|
||||
}
|
||||
|
||||
int8_t packet_get_layer_count(const struct packet *pkt)
|
||||
int packet_get_layer_count(const struct packet *pkt)
|
||||
{
|
||||
return pkt->layers_used;
|
||||
}
|
||||
|
||||
const struct packet_layer *packet_get_layer(const struct packet *pkt, int8_t idx)
|
||||
const struct raw_layer *packet_get_raw_layer(const struct packet *pkt, int idx)
|
||||
{
|
||||
if (idx < 0 || idx >= pkt->layers_used)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user