Searched refs:l2tp_nl_cmd_ops (Results 1 – 4 of 4) sorted by relevance
49 static const struct l2tp_nl_cmd_ops *l2tp_nl_cmd_ops[__L2TP_PWTYPE_MAX]; variable612 if (l2tp_nl_cmd_ops[cfg.pw_type] == NULL) { in l2tp_nl_cmd_session_create()618 if ((l2tp_nl_cmd_ops[cfg.pw_type] == NULL) || in l2tp_nl_cmd_session_create()619 (l2tp_nl_cmd_ops[cfg.pw_type]->session_create == NULL)) { in l2tp_nl_cmd_session_create()624 ret = l2tp_nl_cmd_ops[cfg.pw_type]->session_create(net, tunnel, in l2tp_nl_cmd_session_create()661 if (l2tp_nl_cmd_ops[pw_type] && l2tp_nl_cmd_ops[pw_type]->session_delete) in l2tp_nl_cmd_session_delete()662 ret = (*l2tp_nl_cmd_ops[pw_type]->session_delete)(session); in l2tp_nl_cmd_session_delete()987 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops) in l2tp_nl_register_ops()997 if (l2tp_nl_cmd_ops[pw_type]) in l2tp_nl_register_ops()1000 l2tp_nl_cmd_ops[pw_type] = ops; in l2tp_nl_register_ops()[all …]
183 struct l2tp_nl_cmd_ops { struct234 const struct l2tp_nl_cmd_ops *ops);
356 static const struct l2tp_nl_cmd_ops l2tp_eth_nl_cmd_ops = {
1699 static const struct l2tp_nl_cmd_ops pppol2tp_nl_cmd_ops = {