Searched refs:interfaces (Results 1 - 12 of 12) sorted by relevance
/haiku/src/system/libnetwork/ |
H A D | interfaces.cpp | 88 // get a list of all interfaces 96 ifreq* interfaces = (ifreq*)malloc(count * sizeof(struct ifreq)); local 97 if (interfaces == NULL) 100 MemoryDeleter deleter(interfaces); 103 config.ifc_req = interfaces; 116 strlcpy(((struct ifreq&)request).ifr_name, interfaces->ifr_name, 122 interfaceArray[i].if_name = strdup(interfaces->ifr_name); 126 interfaces = (ifreq*)((char*)interfaces 127 + _SIZEOF_ADDR_IFREQ(interfaces[ [all...] |
H A D | getifaddrs.cpp | 60 // Get interfaces configuration 67 ifreq* interfaces = (ifreq*)buffer; 70 while (interfaces < end) { 81 current->ifa_name = strdup(interfaces[0].ifr_name); 82 current->ifa_addr = copy_address(interfaces[0].ifr_addr); 88 strlcpy(request.ifr_name, interfaces[0].ifr_name, IF_NAMESIZE); 103 interfaces = (ifreq*)((uint8_t*)interfaces 104 + _SIZEOF_ADDR_IFREQ(interfaces[0])); 111 /*! Returns a chained list of all interfaces [all...] |
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | PPPManager.cpp | 9 This class can be used for creating and deleting interfaces. It has methods for 10 requesting PPP stack report messages (e.g.: about newly created interfaces). 328 Use this if you want to iterate over all interfaces. It returns an array of all 331 - \c PPP_REGISTERED_INTERFACES (default): Only visible interfaces. 332 - \c PPP_UNREGISTERED_INTERFACES: Only invisible interfaces. 333 - \c PPP_ALL_INTERFACES: All (visible and invisible) interfaces. 345 ppp_interface_id *interfaces; local 347 // loop until we get all interfaces 356 // request some more interfaces in case some are added in the mean time 357 interfaces 380 GetInterfaces(ppp_interface_id *interfaces, int32 count, ppp_interface_filter filter) const argument 414 ppp_interface_id *interfaces = Interfaces(&count, PPP_REGISTERED_INTERFACES); local 446 ppp_interface_id *interfaces = Interfaces(&count, PPP_REGISTERED_INTERFACES); local [all...] |
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkRoster.cpp | 22 // Since in the stack, device_interfaces are pretty much interfaces now, we 57 // TODO: think about caching the interfaces! 62 // get a list of all interfaces 88 ifreq* interfaces = (ifreq*)buffer; 91 for (uint32 i = 0; interfaces < end; i++) { 92 interface.SetTo(interfaces[0].ifr_name); 98 interfaces = (ifreq*)((uint8*)interfaces 99 + _SIZEOF_ADDR_IFREQ(interfaces[0]));
|
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/headers/ |
H A D | PPPManager.h | 42 int32 GetInterfaces(ppp_interface_id *interfaces, int32 count, 44 // make sure interfaces has enough space for count items
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | KPPPManager.h | 32 You should always create interfaces using either of the CreateInterface() 56 int32 (*GetInterfaces)(ppp_interface_id *interfaces, int32 count, 58 // make sure interfaces has enough space for count items
|
H A D | PPPControl.h | 163 //! Basic structure used for creating and searching PPP interfaces. 179 ppp_interface_id *interfaces; member in struct:ppp_get_interfaces_info 182 //!< The \a interfaces field has enough space for \a count entries. 184 //!< Only interfaces that match this filter will be returned 186 //!< The number of entries that the \a interfaces field contains.
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | PPPoEAddon.cpp | 347 char *interfaces = new char[8192]; local 349 int32 count = manager.ControlModule("pppoe", PPPoE_GET_INTERFACES, interfaces, 353 char *name = interfaces; 370 fInterfaceName = interfaces; 374 delete interfaces;
|
/haiku/src/add-ons/kernel/network/ppp/ppp_manager/ |
H A D | KPPPManager.cpp | 249 GetInterfaces(ppp_interface_id* interfaces, int32 count, ppp_interface_filter filter) argument 262 interfaces[ppp_count] = pentry->accessing;
|
/haiku/src/bin/network/pppconfig/ |
H A D | pppconfig.cpp | 53 ppp_interface_id *interfaces = manager.Interfaces(&count, filter); local 55 if (!interfaces || count <= 0) { 56 fprintf(stderr, "Error: Could not get interfaces information!\n"); 60 fprintf(stderr, "Get %" B_PRId32 " ppp interfaces, first is %" B_PRIu32 "!\n", 61 count, interfaces[0]); 66 printf("Listing PPP interfaces:\n"); 70 interface.SetTo(interfaces[index]); 117 delete interfaces;
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPInterface.cpp | 86 \param parent (Optional): Interface's parent (only used for multilink interfaces). 337 // sub-interfaces should have a device 446 dprintf("info->interfaces: %p\n", info->interfaces); 447 *(info->interfaces) = 1; 964 // main interfaces do not have devices 1176 //! Adds a new child interface (used for multilink interfaces). 1196 //! Removes a new child from this interface (used for multilink interfaces). 1217 //! Returns the child interface at the given \a index (used for multilink interfaces). 1268 // Do not allow changes when we are disconnected (only main interfaces) [all...] |
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6.cpp | 771 &domain->interfaces, interface); 1207 // only INADDR_ANY and addresses of local interfaces are accepted:
|
Completed in 164 milliseconds