Home
last modified time | relevance | path

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

/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c621 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() 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()
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 …]
H A 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);
H A Dl2tp_ppp.c779 cfg.pw_type = L2TP_PWTYPE_PPP; in pppol2tp_connect()
H A Dl2tp_core.c1624 session->pwtype = cfg->pw_type; in l2tp_session_create()