Home
last modified time | relevance | path

Searched refs:lns_mode (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/net/l2tp/
Dl2tp_core.h65 unsigned lns_mode:1; /* behave as LNS? LAC enables member
118 unsigned lns_mode:1; /* behave as LNS? LAC enables member
Dl2tp_netlink.c445 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()
Dl2tp_core.c604 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()
Dl2tp_ppp.c1313 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()
Dl2tp_debugfs.c170 session->lns_mode ? "LNS" : "LAC", in l2tp_dfs_seq_session_show()