Home
last modified time | relevance | path

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

/Linux-v6.6/net/l2tp/
Dl2tp_netlink.c560 cfg.pw_type = nla_get_u16(info->attrs[L2TP_ATTR_PW_TYPE]); in l2tp_nl_cmd_session_create()
561 if (cfg.pw_type >= __L2TP_PWTYPE_MAX) { in l2tp_nl_cmd_session_create()
567 if (tunnel->version == 2 && cfg.pw_type != L2TP_PWTYPE_PPP) { in l2tp_nl_cmd_session_create()
621 if (!l2tp_nl_cmd_ops[cfg.pw_type]) { in l2tp_nl_cmd_session_create()
623 request_module("net-l2tp-type-%u", 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()
656 u16 pw_type; in l2tp_nl_cmd_session_delete() local
667 pw_type = session->pwtype; in l2tp_nl_cmd_session_delete()
668 if (pw_type < __L2TP_PWTYPE_MAX) in l2tp_nl_cmd_session_delete()
[all …]
Dl2tp_core.h49 enum l2tp_pwtype pw_type; member
271 int l2tp_nl_register_ops(enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops);
272 void l2tp_nl_unregister_ops(enum l2tp_pwtype pw_type);
Dl2tp_ppp.c779 cfg.pw_type = L2TP_PWTYPE_PPP; in pppol2tp_connect()
Dl2tp_core.c1613 session->pwtype = cfg->pw_type; in l2tp_session_create()