summaryrefslogtreecommitdiffstats
path: root/include/net/gtp.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-05 05:07:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-05 06:54:03 +0200
commit767a2217533fed696af0d06bee7746d34c4e00aa (patch)
tree345d862ce8fe8019b15deb0c591dc7760b3d554c /include/net/gtp.h
parentnet: sched: remove unused helpers (diff)
downloadlinux-767a2217533fed696af0d06bee7746d34c4e00aa.tar.xz
linux-767a2217533fed696af0d06bee7746d34c4e00aa.zip
net: common metrics init helper for FIB entries
Consolidate initialization of ipv4 and ipv6 metrics when fib entries are created into a single helper, ip_fib_metrics_init, that handles the call to ip_metrics_convert. If no metrics are defined for the fib entry, then the metrics is set to dst_default_metrics. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/gtp.h')
0 files changed, 0 insertions, 0 deletions