Home
last modified time | relevance | path

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

/linux-4.4.14/net/l2tp/
Dl2tp_netlink.c56 static const struct l2tp_nl_cmd_ops *l2tp_nl_cmd_ops[__L2TP_PWTYPE_MAX]; variable
590 if (l2tp_nl_cmd_ops[cfg.pw_type] == NULL) { in l2tp_nl_cmd_session_create()
596 if ((l2tp_nl_cmd_ops[cfg.pw_type] == NULL) || in l2tp_nl_cmd_session_create()
597 (l2tp_nl_cmd_ops[cfg.pw_type]->session_create == NULL)) { in l2tp_nl_cmd_session_create()
624 if (l2tp_nl_cmd_ops[cfg.pw_type]->session_create) in l2tp_nl_cmd_session_create()
625 ret = (*l2tp_nl_cmd_ops[cfg.pw_type]->session_create)(net, tunnel_id, in l2tp_nl_cmd_session_create()
656 if (l2tp_nl_cmd_ops[pw_type] && l2tp_nl_cmd_ops[pw_type]->session_delete) in l2tp_nl_cmd_session_delete()
657 ret = (*l2tp_nl_cmd_ops[pw_type]->session_delete)(session); in l2tp_nl_cmd_session_delete()
963 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops) in l2tp_nl_register_ops()
973 if (l2tp_nl_cmd_ops[pw_type]) in l2tp_nl_register_ops()
[all …]
Dl2tp_core.h208 struct l2tp_nl_cmd_ops { struct
274 const struct l2tp_nl_cmd_ops *ops);
Dl2tp_eth.c320 static const struct l2tp_nl_cmd_ops l2tp_eth_nl_cmd_ops = {
Dl2tp_ppp.c1803 static const struct l2tp_nl_cmd_ops pppol2tp_nl_cmd_ops = {