avtp: Refactor if_index code
authorAndre Guedes <andre.guedes@intel.com>
Fri, 4 Oct 2019 17:56:30 +0000 (10:56 -0700)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Wed, 5 Feb 2020 22:28:12 +0000 (22:28 +0000)
commite74c807633f6584a51b4c48c02e933f72c2b2eca
treeb07bea46f26e7466e92310c2d44efbc802b8e746
parent478fb29974dec7595c5db50e45655e8121cd4ad7
avtp: Refactor if_index code

This patch refactors both avtpsink and avtpsrc code so we use the
if_nametoindex() helper instead of building a request and issuing an
ioctl to get the if_index.
ext/avtp/gstavtpsink.c
ext/avtp/gstavtpsrc.c