OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:session_fd
(Results
1 - 4
of
4
) sorted by null
/external/ppp/pppd/plugins/pppol2tp-android/
pppol2tp-android.c
29
static int
session_fd
= -1;
variable
37
{ "
session_fd
", o_special, pppol2tp_set_session_fd,
48
if (!int_option(*argv, &
session_fd
))
51
info("Using PPPoL2TP (socket = %d)",
session_fd
);
71
res = ioctl(
session_fd
, PPPIOCSMRU, (caddr_t)&mru);
96
return
session_fd
;
101
if (
session_fd
!= -1) {
102
close(
session_fd
);
103
session_fd
= -1;
/external/mtpd/
mtpd.h
73
void start_pppd_ol2tp(int tunnel_fd, int
session_fd
, int tunnel_id,
l2tp.c
420
int
session_fd
;
local
448
session_fd
= socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OL2TP);
449
if (
session_fd
< 0) {
464
if (connect(
session_fd
, (struct sockaddr *)&session_sa,
471
*sfd =
session_fd
;
610
int tunnel_fd,
session_fd
;
local
612
create_pppox_ol2tp(&tunnel_fd, &
session_fd
);
613
start_pppd_ol2tp(tunnel_fd,
session_fd
,
mtpd.c
355
* @param
session_fd
Session socket file descriptor
359
void start_pppd_ol2tp(int tunnel_fd, int
session_fd
, int tunnel_id,
367
log_print(INFO, "Starting pppd (tunnel_fd = %d,
session_fd
= %d)",
368
tunnel_fd,
session_fd
);
383
snprintf(session_fd_str, FD_MAX_LEN + 1, "%d",
session_fd
);
392
"
session_fd
",
418
close(
session_fd
);
Completed in 157 milliseconds