Searched refs:l2tp_nl_cmd_ops (Results 1 – 4 of 4) sorted by relevance
56 static const struct l2tp_nl_cmd_ops *l2tp_nl_cmd_ops[__L2TP_PWTYPE_MAX]; variable589 if ((l2tp_nl_cmd_ops[cfg.pw_type] == NULL) || in l2tp_nl_cmd_session_create()590 (l2tp_nl_cmd_ops[cfg.pw_type]->session_create == NULL)) { in l2tp_nl_cmd_session_create()617 if (l2tp_nl_cmd_ops[cfg.pw_type]->session_create) in l2tp_nl_cmd_session_create()618 ret = (*l2tp_nl_cmd_ops[cfg.pw_type]->session_create)(net, tunnel_id, in l2tp_nl_cmd_session_create()649 if (l2tp_nl_cmd_ops[pw_type] && l2tp_nl_cmd_ops[pw_type]->session_delete) in l2tp_nl_cmd_session_delete()650 ret = (*l2tp_nl_cmd_ops[pw_type]->session_delete)(session); in l2tp_nl_cmd_session_delete()956 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops) in l2tp_nl_register_ops()966 if (l2tp_nl_cmd_ops[pw_type]) in l2tp_nl_register_ops()969 l2tp_nl_cmd_ops[pw_type] = ops; in l2tp_nl_register_ops()[all …]
208 struct l2tp_nl_cmd_ops { struct274 const struct l2tp_nl_cmd_ops *ops);
320 static const struct l2tp_nl_cmd_ops l2tp_eth_nl_cmd_ops = {
1803 static const struct l2tp_nl_cmd_ops pppol2tp_nl_cmd_ops = {