Lines Matching refs:argument
772 void* argument, size_t length) in interface_protocol_control() argument
775 _protocol, option_to_string(option), argument, length); in interface_protocol_control()
792 if (user_memcpy(&request, argument, sizeof(struct ifreq)) != B_OK) in interface_protocol_control()
808 &((struct ifreq*)argument)->ifr_addr, maxLength); in interface_protocol_control()
819 return user_memcpy(&((struct ifreq*)argument)->ifr_count, in interface_protocol_control()
826 if (user_memcpy(&request, argument, sizeof(ifaliasreq)) != B_OK) in interface_protocol_control()
850 &((struct ifaliasreq*)argument)->ifra_index, in interface_protocol_control()
856 (sockaddr*)&((struct ifaliasreq*)argument)->ifra_addr, in interface_protocol_control()
861 (sockaddr*)&((struct ifaliasreq*)argument)->ifra_mask, in interface_protocol_control()
866 (sockaddr*)&((struct ifaliasreq*)argument) in interface_protocol_control()
882 return user_memcpy(&((struct ifreq*)argument)->ifr_flags, in interface_protocol_control()
900 return user_memcpy(&((struct ifreq*)argument)->ifr_stats, in interface_protocol_control()
910 return user_memcpy(&((struct ifreq*)argument)->ifr_type, in interface_protocol_control()
920 return user_memcpy(&((struct ifreq*)argument)->ifr_mtu, in interface_protocol_control()
927 if (user_memcpy(&request, argument, sizeof(struct ifreq)) != B_OK) in interface_protocol_control()
941 if (user_memcpy(&request, argument, sizeof(struct ifreq)) != B_OK) in interface_protocol_control()
966 if (user_memcpy(&request, argument, copylen) != B_OK) in interface_protocol_control()
970 return user_memcpy(argument, &request, copylen); in interface_protocol_control()
979 return user_memcpy(&((struct ifreq*)argument)->ifr_metric, in interface_protocol_control()
986 if (user_memcpy(&request, argument, sizeof(struct ifreq)) < B_OK) in interface_protocol_control()
997 return control_routes(interface, protocol->domain, option, argument, in interface_protocol_control()
1002 option, argument, length); in interface_protocol_control()