Home
last modified time | relevance | path

Searched refs:l3type (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/l3mdev/
Dl3mdev.c20 static int l3mdev_check_type(enum l3mdev_type l3type) in l3mdev_check_type() argument
22 if (l3type <= L3MDEV_TYPE_UNSPEC || l3type > L3MDEV_TYPE_MAX) in l3mdev_check_type()
28 int l3mdev_table_lookup_register(enum l3mdev_type l3type, in l3mdev_table_lookup_register() argument
34 res = l3mdev_check_type(l3type); in l3mdev_table_lookup_register()
38 hdlr = &l3mdev_handlers[l3type]; in l3mdev_table_lookup_register()
57 void l3mdev_table_lookup_unregister(enum l3mdev_type l3type, in l3mdev_table_lookup_unregister() argument
62 if (l3mdev_check_type(l3type)) in l3mdev_table_lookup_unregister()
65 hdlr = &l3mdev_handlers[l3type]; in l3mdev_table_lookup_unregister()
76 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type, in l3mdev_ifindex_lookup_by_table_id() argument
84 res = l3mdev_check_type(l3type); in l3mdev_ifindex_lookup_by_table_id()
[all …]
/linux-6.12.1/include/net/
Dl3mdev.h50 int l3mdev_table_lookup_register(enum l3mdev_type l3type,
53 void l3mdev_table_lookup_unregister(enum l3mdev_type l3type,
56 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type, struct net *net,
303 int l3mdev_table_lookup_register(enum l3mdev_type l3type, in l3mdev_table_lookup_register() argument
310 void l3mdev_table_lookup_unregister(enum l3mdev_type l3type, in l3mdev_table_lookup_unregister() argument
316 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type, struct net *net, in l3mdev_ifindex_lookup_by_table_id() argument