Re: [lng-odp] Packet L3/L4 type implementation, alternative way

2018-02-14 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_packet.c line 23 @@ -2544,3 +2544,41 @@ int odp_packet_has_ref(odp_packet_t pkt) return 0; } + +odp_proto_l3_type_t odp_packet_l3_type(odp_packet_t pkt) +{ + odp_packet_hdr_t *pkt_hdr = odp_packet_hdr(pkt); + +

Re: [lng-odp] Packet L3/L4 type implementation, alternative way

2018-02-12 Thread Github ODP bot
Balasubramanian Manoharan(bala-manoharan) replied on github web page: platform/linux-generic/odp_packet.c line 23 @@ -2544,3 +2544,41 @@ int odp_packet_has_ref(odp_packet_t pkt) return 0; } + +odp_proto_l3_type_t odp_packet_l3_type(odp_packet_t pkt) +{ + odp_packet_hdr_t *pkt_hdr