Attention is currently required from: pespin. laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31025 )
Change subject: Introduce tundev API ......................................................................
Patch Set 12:
(1 comment)
Patchset:
PS12: I'm sorry to be having comments again... but I don't really understand why adding/setting/removing addresses etc. is constrainted to tun-devices. We have the same task for other net-devices, such as for example the GTP devices.
So IMHO, there should be a generic API to perform those operations on any type of netdev (either by ifindex or name). Whether or not the tundev code then adds another convenienece layer on top is a separate question.
The netns related code is als not really specifc to tun-devices, is it? Same applies to gtp kernel devices or hdlc net-devices, right?