Searched refs:pw_type (Results 1 – 4 of 4) sorted by relevance
560 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() local667 pw_type = session->pwtype; in l2tp_nl_cmd_session_delete()668 if (pw_type < __L2TP_PWTYPE_MAX) in l2tp_nl_cmd_session_delete()[all …]
49 enum l2tp_pwtype pw_type; member271 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);
779 cfg.pw_type = L2TP_PWTYPE_PPP; in pppol2tp_connect()
1613 session->pwtype = cfg->pw_type; in l2tp_session_create()