Lines Matching refs:info

63 	ppp_interface_info_t info;
72 interface.GetInterfaceInfo(&info);
76 if (info.info.if_unit >= 0) {
78 printf("\tInterface: ppp%" B_PRId32 "\n", info.info.if_unit);
82 printf("\tName: %s\n", info.info.name);
89 if (info.info.mode == PPP_CLIENT_MODE)
91 else if (info.info.mode == PPP_SERVER_MODE)
98 switch(info.info.phase) {
141 ppp_interface_info_t info;
142 interface.GetInterfaceInfo(&info);
144 if (info.info.if_unit >= 0)
145 printf("Interface: ppp%" B_PRId32 "\n", info.info.if_unit);
425 ppp_simple_handler_info_t info;
427 if (interface.ControlChild(&info, 0, PPPC_GET_SIMPLE_HANDLER_INFO) != true) {
432 printf("LCPExtensionHandler: %s\n", info.info.name);
433 printf("isEnabled: %d\n", info.info.isEnabled);
435 if (interface.ControlChild(&info, 0, PPPC_ENABLE) != true) {
462 ppp_simple_handler_info_t info;
464 if (interface.ControlLCPExtension(&info, 1, PPPC_GET_SIMPLE_HANDLER_INFO) != true) {
469 printf("LCPExtensionHandler: %s\n", info.info.name);
470 printf("isEnabled: %d\n", info.info.isEnabled);
472 if (interface.ControlLCPExtension(&info, 1, PPPC_ENABLE) != true) {
499 ppp_simple_handler_info_t info;
501 if (interface.ControlOptionHandler(&info, 0, PPPC_GET_SIMPLE_HANDLER_INFO) != true) {
506 printf("protocol: %s\n", info.info.name);
507 printf("isEnabled: %d\n", info.info.isEnabled);
509 if (interface.ControlOptionHandler(&info, 0, PPPC_ENABLE) != true) {
536 ppp_protocol_info_t info;
538 if (interface.ControlProtocol(&info, 0, PPPC_GET_PROTOCOL_INFO) != true) {
543 printf("protocol: %s\n", info.info.name);
544 printf("type: %s\n", info.info.type);
545 printf("activationPhase: %d\n", info.info.activationPhase);
546 printf("addressFamily: %" B_PRId32 "\n", info.info.addressFamily);
547 printf("flags: %" B_PRId32 "\n", info.info.flags);
548 printf("side: %d\n", info.info.side);
549 printf("level: %d\n", info.info.level);
550 printf("connectionPhase: %d\n", info.info.connectionPhase);
551 printf("protocolNumber: %d\n", info.info.protocolNumber);
552 printf("isEnabled: %d\n", info.info.isEnabled);
553 printf("isUpRequested: %d\n", info.info.isUpRequested);
555 if (interface.ControlProtocol(&info, 0, PPPC_ENABLE) != true) {
582 ppp_device_info_t info;
584 if (interface.ControlDevice(&info) != true) {
589 printf("name: %s\n", info.info.name);
590 printf("MTU: %" B_PRIu32 "\n", info.info.MTU);
591 printf("inputTransferRate: %" B_PRIu32 "\n", info.info.inputTransferRate);
592 printf("outputTransferRate: %" B_PRIu32 "\n", info.info.outputTransferRate);
593 printf("outputBytesCount: %" B_PRIu32 "\n", info.info.outputBytesCount);
594 printf("isUp: %d\n", info.info.isUp);
675 ppp_interface_info_t info;
676 // printf("ppp_interface_info_t addr:%p\n", &info);
677 interface.GetInterfaceInfo(&info);
680 if (info.info.if_unit >= 0) {
682 printf("Interface: ppp%" B_PRId32 "\n", info.info.if_unit);
686 printf("Name: %s\n", info.info.name);
692 printf("ConnectOnDemand: %s\n", info.info.doesConnectOnDemand ?
696 printf("AutoReconnect: %s\n", info.info.doesAutoReconnect ?
700 printf("MRU: %" B_PRIu32 "\n", info.info.MRU);
701 printf("Interface MTU: %" B_PRIu32 "\n", info.info.interfaceMTU);
705 if (info.info.mode == PPP_CLIENT_MODE)
707 else if (info.info.mode == PPP_SERVER_MODE)
714 switch(info.info.phase) {