Lines Matching defs:l3type
20 static int l3mdev_check_type(enum l3mdev_type l3type)
22 if (l3type <= L3MDEV_TYPE_UNSPEC || l3type > L3MDEV_TYPE_MAX)
28 int l3mdev_table_lookup_register(enum l3mdev_type l3type,
34 res = l3mdev_check_type(l3type);
38 hdlr = &l3mdev_handlers[l3type];
57 void l3mdev_table_lookup_unregister(enum l3mdev_type l3type,
62 if (l3mdev_check_type(l3type))
65 hdlr = &l3mdev_handlers[l3type];
76 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type,
84 res = l3mdev_check_type(l3type);
88 hdlr = &l3mdev_handlers[l3type];