Lines Matching refs:option
243 InterfaceAddress::AddressFor(int32 option)
245 switch (option) {
271 InterfaceAddress::AddDefaultRoutes(int32 option)
278 if (mask != NULL && (option == SIOCSIFNETMASK || option == SIOCSIFADDR)) {
284 if (option == SIOCSIFADDR) {
294 InterfaceAddress::RemoveDefaultRoutes(int32 option)
301 if (mask != NULL && (option == SIOCSIFNETMASK || option == SIOCSIFADDR)) {
307 if (option == SIOCSIFADDR) {
745 Interface::Control(net_domain* domain, int32 option, ifreq& request,
748 switch (option) {
883 if (option == SIOCDIFADDR) {
916 return _ChangeAddress(locker, address, option,
917 *address->AddressFor(option),
918 option != SIOCDIFADDR ? (sockaddr*)&newAddress : NULL);
926 datalink->first_protocol, option, userRequest, length);
1143 int32 option, const sockaddr* originalAddress,
1163 TRACE(" option %" B_PRId32 " addresses are equal!\n", option);
1173 datalink->first_protocol, address, option,
1340 update_interface_address(InterfaceAddress* interfaceAddress, int32 option,
1343 TRACE("%s(address %p, option %" B_PRId32 ", oldAddress %s, newAddress "
1344 "%s)\n", __FUNCTION__, interfaceAddress, option,
1351 sockaddr** _address = interfaceAddress->AddressFor(option);
1357 interfaceAddress->RemoveDefaultRoutes(option);
1359 if (option == SIOCDIFADDR) {
1379 if (option == SIOCSIFADDR || option == SIOCSIFNETMASK) {
1384 if (option == SIOCSIFADDR) {
1404 interfaceAddress->AddDefaultRoutes(option);