Searched refs:sessionSocket (Results 1 – 3 of 3) sorted by relevance
111 conn->sessionSocket = -1; in PPPOEInitDevice()156 conn->sessionSocket = socket(AF_PPPOX, SOCK_STREAM, PX_PROTO_OE); in PPPOEConnectDevice()157 if (conn->sessionSocket < 0) { in PPPOEConnectDevice()175 if (connect(conn->sessionSocket, (struct sockaddr *) &sp, in PPPOEConnectDevice()181 return conn->sessionSocket; in PPPOEConnectDevice()241 if (connect(conn->sessionSocket, (struct sockaddr *) &sp, in PPPOEDisconnectDevice()246 close(conn->sessionSocket); in PPPOEDisconnectDevice()
80 conn->sessionSocket = -1; in main()
254 int sessionSocket; /* Raw socket for session frames */ member