X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fvnet%2Ffib%2Ffib_types.c;h=f52de7b8be04f33c41a02a4f087498e94be49a1e;hb=fbb2ef64563ccab03978a22660ad4b22ca3eae4a;hp=383d48e647c5a4c388f699890d7c6a133a9bfc30;hpb=450cd302ee58887d824810d3b940d5d9febd0cf1;p=vpp.git diff --git a/vnet/vnet/fib/fib_types.c b/vnet/vnet/fib/fib_types.c index 383d48e647c..f52de7b8be0 100644 --- a/vnet/vnet/fib/fib_types.c +++ b/vnet/vnet/fib/fib_types.c @@ -214,26 +214,6 @@ fib_proto_to_dpo (fib_protocol_t fib_proto) return (0); } -dpo_proto_t -vnet_link_to_dpo_proto (vnet_link_t linkt) -{ - switch (linkt) - { - case VNET_LINK_IP6: - return (DPO_PROTO_IP6); - case VNET_LINK_IP4: - return (DPO_PROTO_IP4); - case VNET_LINK_MPLS: - return (DPO_PROTO_MPLS); - case VNET_LINK_ETHERNET: - return (DPO_PROTO_ETHERNET); - case VNET_LINK_ARP: - break; - } - ASSERT(0); - return (0); -} - fib_protocol_t dpo_proto_to_fib (dpo_proto_t dpo_proto) {