Searched refs:session_fd (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/plugins/pppol2tp-android/ |
D | pppol2tp-android.c | 29 static int session_fd = -1; variable 48 if (!int_option(*argv, &session_fd)) in pppol2tp_set_session_fd() 51 info("Using PPPoL2TP (socket = %d)", session_fd); in pppol2tp_set_session_fd() 71 res = ioctl(session_fd, PPPIOCSMRU, (caddr_t)&mru); in pppol2tp_set_mru() 96 return session_fd; in pppol2tp_connect() 101 if (session_fd != -1) { in pppol2tp_disconnect() 102 close(session_fd); in pppol2tp_disconnect() 103 session_fd = -1; in pppol2tp_disconnect()
|
/external/mtpd/ |
D | l2tp.c | 420 int session_fd; in create_pppox_ol2tp() local 448 session_fd = socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OL2TP); in create_pppox_ol2tp() 449 if (session_fd < 0) { in create_pppox_ol2tp() 464 if (connect(session_fd, (struct sockaddr *)&session_sa, in create_pppox_ol2tp() 471 *sfd = session_fd; in create_pppox_ol2tp() 610 int tunnel_fd, session_fd; in l2tp_process() local 612 create_pppox_ol2tp(&tunnel_fd, &session_fd); in l2tp_process() 613 start_pppd_ol2tp(tunnel_fd, session_fd, in l2tp_process()
|
D | mtpd.c | 359 void start_pppd_ol2tp(int tunnel_fd, int session_fd, int tunnel_id, in start_pppd_ol2tp() argument 368 tunnel_fd, session_fd); in start_pppd_ol2tp() 383 snprintf(session_fd_str, FD_MAX_LEN + 1, "%d", session_fd); in start_pppd_ol2tp() 418 close(session_fd); in start_pppd_ol2tp()
|
D | mtpd.h | 73 void start_pppd_ol2tp(int tunnel_fd, int session_fd, int tunnel_id,
|
/external/ppp/pppd/ |
D | README.pppol2tp | 22 Main task of this plugin is to obtain session_fd socket from mtpd and pass it
|