Home
last modified time | relevance | path

Searched refs:l2tp_nl_cmd_ops (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c44 static const struct l2tp_nl_cmd_ops *l2tp_nl_cmd_ops[__L2TP_PWTYPE_MAX]; variable
621 if (!l2tp_nl_cmd_ops[cfg.pw_type]) { in l2tp_nl_cmd_session_create()
627 if (!l2tp_nl_cmd_ops[cfg.pw_type] || !l2tp_nl_cmd_ops[cfg.pw_type]->session_create) { in l2tp_nl_cmd_session_create()
632 ret = l2tp_nl_cmd_ops[cfg.pw_type]->session_create(net, tunnel, in l2tp_nl_cmd_session_create()
669 if (l2tp_nl_cmd_ops[pw_type] && l2tp_nl_cmd_ops[pw_type]->session_delete) in l2tp_nl_cmd_session_delete()
670 l2tp_nl_cmd_ops[pw_type]->session_delete(session); in l2tp_nl_cmd_session_delete()
997 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops) in l2tp_nl_register_ops()
1007 if (l2tp_nl_cmd_ops[pw_type]) in l2tp_nl_register_ops()
1010 l2tp_nl_cmd_ops[pw_type] = ops; in l2tp_nl_register_ops()
1024 l2tp_nl_cmd_ops[pw_type] = NULL; in l2tp_nl_unregister_ops()
H A Dl2tp_core.h191 struct l2tp_nl_cmd_ops { struct
271 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops);
H A Dl2tp_eth.c340 static const struct l2tp_nl_cmd_ops l2tp_eth_nl_cmd_ops = {
H A Dl2tp_ppp.c1680 static const struct l2tp_nl_cmd_ops pppol2tp_nl_cmd_ops = {