Searched refs:lns_mode (Results 1 – 5 of 5) sorted by relevance
65 unsigned lns_mode:1; /* behave as LNS? LAC enables member118 unsigned lns_mode:1; /* behave as LNS? LAC enables member
445 cfg.lns_mode = nla_get_u8(info->attrs[L2TP_ATTR_LNS_MODE]); in l2tp_nl_cmd_session_create()537 session->lns_mode = nla_get_u8(info->attrs[L2TP_ATTR_LNS_MODE]); in l2tp_nl_cmd_session_modify()584 NLA_PUT_U8(skb, L2TP_ATTR_LNS_MODE, session->lns_mode); in l2tp_nl_session_send()
604 if ((!session->lns_mode) && (!session->send_seq)) { in l2tp_recv_common()628 if ((!session->lns_mode) && (session->send_seq)) { in l2tp_recv_common()1599 session->lns_mode = cfg->lns_mode; in l2tp_session_create()
1313 session->lns_mode = val ? -1 : 0; in pppol2tp_session_setsockopt()1315 "%s: set lns_mode=%d\n", session->name, session->lns_mode); in pppol2tp_session_setsockopt()1440 *val = session->lns_mode; in pppol2tp_session_getsockopt()1657 session->lns_mode ? "LNS" : "LAC", in pppol2tp_seq_session_show()
170 session->lns_mode ? "LNS" : "LAC", in l2tp_dfs_seq_session_show()