Searched refs:l2tp_nl_cmd_ops (Results 1 – 4 of 4) sorted by relevance
46 static const struct l2tp_nl_cmd_ops *l2tp_nl_cmd_ops[__L2TP_PWTYPE_MAX]; variable609 if (l2tp_nl_cmd_ops[cfg.pw_type] == NULL) { in l2tp_nl_cmd_session_create()615 if ((l2tp_nl_cmd_ops[cfg.pw_type] == NULL) || in l2tp_nl_cmd_session_create()616 (l2tp_nl_cmd_ops[cfg.pw_type]->session_create == NULL)) { in l2tp_nl_cmd_session_create()621 ret = l2tp_nl_cmd_ops[cfg.pw_type]->session_create(net, tunnel, in l2tp_nl_cmd_session_create()658 if (l2tp_nl_cmd_ops[pw_type] && l2tp_nl_cmd_ops[pw_type]->session_delete) in l2tp_nl_cmd_session_delete()659 ret = (*l2tp_nl_cmd_ops[pw_type]->session_delete)(session); in l2tp_nl_cmd_session_delete()985 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops) in l2tp_nl_register_ops()995 if (l2tp_nl_cmd_ops[pw_type]) in l2tp_nl_register_ops()998 l2tp_nl_cmd_ops[pw_type] = ops; in l2tp_nl_register_ops()[all …]
180 struct l2tp_nl_cmd_ops { struct231 const struct l2tp_nl_cmd_ops *ops);
351 static const struct l2tp_nl_cmd_ops l2tp_eth_nl_cmd_ops = {
1697 static const struct l2tp_nl_cmd_ops pppol2tp_nl_cmd_ops = {