Searched refs:pw_type (Results 1 – 4 of 4) sorted by relevance
621 if (!l2tp_nl_cmd_ops[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()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()669 if (l2tp_nl_cmd_ops[pw_type] && l2tp_nl_cmd_ops[pw_type]->session_delete) in l2tp_nl_cmd_session_delete()1002 if (pw_type >= __L2TP_PWTYPE_MAX) in l2tp_nl_register_ops()1007 if (l2tp_nl_cmd_ops[pw_type]) in l2tp_nl_register_ops()1010 l2tp_nl_cmd_ops[pw_type] = ops; in l2tp_nl_register_ops()1022 if (pw_type < __L2TP_PWTYPE_MAX) { in l2tp_nl_unregister_ops()[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()
1624 session->pwtype = cfg->pw_type; in l2tp_session_create()