Searched refs:sess_sock (Results 1 - 2 of 2) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pppoecd/ |
H A D | pppoe2.c | 180 int disc_sock = 0, sess_sock = 0; /* PPPoE sockets */ variable 1287 if (sess_sock > 0) 1288 close(sess_sock); 1308 close(sess_sock); 1481 /* pull packets of sess_sock and feed to pppd */ 1506 if (read_packet_nowait(sess_sock,packet,&pkt_size) != sess_sock) 1508 if (read_packet2(sess_sock,packet,&pkt_size) != sess_sock) 1562 /* take packets from pppd and feed them to sess_sock */ [all...] |
H A D | pppoe.c | 172 int disc_sock = 0, sess_sock = 0; /* PPPoE sockets */ variable 1424 close(sess_sock); 1535 /* pull packets of sess_sock and feed to pppd */ 1561 while(read_packet(sess_sock,packet,&pkt_size) != sess_sock) 1608 /* take packets from pppd and feed them to sess_sock */ 1678 if (send_packet(sess_sock, packet, pkt_size, if_name) < 0) { 2085 if ((sess_sock = open_interface(if_name,ETH_P_PPPOE_SESS,NULL)) < 0) {
|
Completed in 101 milliseconds